posix: Remove dynamic memory allocation from execl{e,p}
[glibc.git] / ChangeLog
blob45fb9cad1583c40470b575de0b4c640ac744e613
1 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ #19534]
4         * posix/execl.c (execl): Remove dynamic memory allocation.
5         * posix/execle.c (execle): Likewise.
6         * posix/execlp.c (execlp): Likewise.
8 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11         Replace .text with .text.avx512.
12         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13         Likewise.
15 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17         * sysdeps/generic/libnsl.abilist: New file.
18         * sysdeps/generic/libutil.abilist: New file.
20 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22         [BZ #19762]
23         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24         HAS_ARCH_FEATURE with Fast_Rep_String.
25         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
26         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
27         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
28         Likewise.
29         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
30         Likewise.
31         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
32         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
33         Likewise.
34         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
35         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
36         Likewise.
38 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
40         [BZ #19745]
41         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
42         with *%rax in call.
44 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
46         [BZ #19745]
47         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
48         with *__libc_start_main@GOTPCREL(%rip) in call.
50 2016-03-04  Roland McGrath  <roland@hack.frob.com>
52         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
53         inside conditional for nonempty $(CXX).
55         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
56         nonempty.
58         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
59         to test for empty $(CXX) rather than $(CXX) of "no".
61 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
63         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
65 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
66             H.J. Lu  <hongjiu.lu@intel.com>
68         [BZ #18880]
69         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
70         instead of Slow_BSF, and also check for Fast_Copy_Backward to
71         enable __memcpy_ssse3_back.
73 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
75         [BZ #19758]
76         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
77         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
79 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
81         [BZ #19490]
82         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
83         (__fentry__): Likewise.
85 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
87         * gmon/Makefile (noprof): Add $(sysdep_noprof).
88         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
90 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
92         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
93         __mcount_internal directly.
94         (C_LABEL(__fentry__)): Likewise.
95         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
96         directly.
98 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
100         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
101         (__start_context): Call __setcontext directly.
103 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
106         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
107         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
108         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
110         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
111         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
112         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
114         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
115         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
116         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
117         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
118         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
119         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
120         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
121         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
123         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
124         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
125         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
126         * sysdeps/unix/sysv/linux/mips/kernel-features.h
127         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
128         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
129         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
130         Remove conditional code.
131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
132         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
133         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
134         * sysdeps/unix/sysv/linux/sh/kernel-features.h
135         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
136         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
137         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
138         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
139         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
140         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
141         * sysdeps/unix/sysv/linux/tile/kernel-features.h
142         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
144 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
146         * NEWS (2.23): Fix typo in bug 19048 text.
148 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
150         [BZ #14259]
151         * Makeconfig: Rename msgcatdir to localedir.
152         Rename inst_msgcatdir to inst_localedir.
153         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
154         * config.make.in: Add localedir.
155         * elf/Makefile ($(objpfx)sotruss): Use localedir.
156         (ldd-rewrite): Likewise.
157         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
158         (install-others): Use inst_localedir.
159         (CPPFLAGS): Use localedir.
160         * locale/Makefile (locale-CPPFLAGS): Likewise.
161         * po/Makefile (mo-installed): Use inst_localedir.
163         [BZ #19575]
164         * localedata/charmaps/GB18030: Update comments regarding PAU to
165         non-PUA mappings.
167 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
169         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
170         test for header.
171         * sysdeps/unix/sysv/linux/configure: Regenerated.
172         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
173         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
174         Remove conditional code.
175         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
177         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
178         Define to 3.2.0.
179         (arch_minimum_kernel): Likewise.
180         * sysdeps/unix/sysv/linux/configure: Regenerated.
181         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
182         Define to 2.6.32.
183         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
184         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
185         (arch_minimum_kernel): Define to 2.6.32.
186         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
187         * README: Document Linux 3.2 requirement.
188         * manual/install.texi (Linux): Document Linux 3.2 headers
189         requirement.
190         * INSTALL: Regenerated.
192 2016-02-24  Andreas Schwab  <schwab@suse.de>
194         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
195         if !NO_LONG_DOUBLE.
197 2016-02-22  Roland McGrath  <roland@hack.frob.com>
199         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
200         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
202 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
204         [BZ #19512]
205         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
207 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
209         * posix/tst-dir.c: Include libc-internal.h.
211 2016-02-20  Florian Weimer  <fweimer@redhat.com>
213         [BZ #19056]
214         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
215         * manual/filesys.texi (Reading/Closing Directory): Mention
216         deprecaion.
217         * posix/tst-dir.c (main): Disable deprecation warning in test.
219 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
221         [BZ #19679]
222         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
223         Renamed to ...
224         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
225         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
226         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
227         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
228         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
229         * sysdeps/x86_64/dl-trampoline.h
230         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
231         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
233 2016-02-19  Mark Wielaard  <mjw@redhat.com>
235         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
237 2016-02-19  Mark Wielaard  <mjw@redhat.com>
239         * elf/elf.h (R_386_GOT32X): New.
240         (R_386_NUM): Update.
241         (R_X86_64_GOTPCRELX: New.
242         (R_X86_64_REX_GOTPCRELX): New.
243         (R_X86_64_NUM): Update.
245 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
247         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
249 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
251         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
252         assign attr->stackaddr to it, and adjust it down when
253         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
254         [_STACK_GROWS_UP]: Delete assert.
255         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
256         Implement stack grows up logic.
257         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
258         stack grows up logic.
260 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
262         * NEWS: Update with 2.24 template.
264 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
266         [BZ #19678]
267         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
268         Ensure +0.0 is returned when taking the next value below the least
269         positive value.
271 2016-02-19  Florian Weimer  <fweimer@redhat.com>
273         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
274         available.  Do not define NO_THREADS.
275         * malloc/malloc.c: Do not check NO_THREADS.
276         * malloc/arena.c: Likewise.
278 2016-02-19  Florian Weimer  <fweimer@redhat.com>
280         * malloc/malloc.c (__libc_mallinfo): Update comment.
281         (struct malloc_par): Remove max_total_mem member, it was always 0.
282         (int_mallinfo): Store 0 into usmblks (no functional change).
283         * malloc/hooks.c (struct malloc_state): Document that
284         max_total_mem is always 0.
285         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
286         always 0.
287         * manual/memory.texi (Statistics of Malloc): Likewise.
289 2016-02-19  Florian Weimer  <fweimer@redhat.com>
291         * malloc/malloc.c (sysmalloc): Do not update arena_max.
292         * malloc/arena.c (arena_max): Remove.
293         (heap_trim, _int_new_arena): Do not update arena_max.
295 2016-02-19  Florian Weimer  <fweimer@redhat.com>
297         * resolv/res_init.c (res_ninit): Update comment.
299 2016-02-19  Florian Weimer  <fweimer@redhat.com>
301         [BZ #19505]
302         * posix/spawn_int.h: Add headers and include guard.
303         (__spawn_valid_fd): New function.
304         * posix/spawn_faction_addopen.c
305         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
306         * posix/spawn_faction_addclose.c
307         (posix_spawn_file_actions_addclose): Likewise.
308         * posix/spawn_faction_adddup2.c
309         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
310         second file descriptor.
311         * posix/spawn_valid_fd.c: New file.
312         * posix/tst-posix_spawn-fd.c: New file.
313         * posix/Makefile (routines): Add spawn_valid_fd.
314         (tests): Add tst-posix_spawn-fd.
316 2016-02-19  Florian Weimer  <fweimer@redhat.com>
318         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
319         (do_test): Limit the number of arenas, so that we can use fewer
320         outer threads.  Limit timeout to 3 seconds, in preparation for a
321         larger TIMEOUT value.
323 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
325         [BZ #19674]
326         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
327         sign in overflowing and underflowing results when overflow or
328         underflow is detected early.  Include sign in result before rather
329         than after scaling.
331         [BZ #19603]
332         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
333         (__ieee754_remainderl): Adjust sign of integer version of low part
334         when taking absolute value of high part.
335         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
336         * math/libm-test.inc (remainder_test_data): Add another test.
337         (remquo_test_data): Likewise.
339 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
341         [BZ #19602]
342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
343         equal high parts and both low parts zero specially.
344         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
345         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
346         Add test-fmodl-ldbl-128ibm.
348         [BZ #19595]
349         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
350         common logic for all cases of shifting subnormal results.  Do not
351         insert sign bit in shifted mantissa.  Always pass -1023 as biased
352         exponent to ldbl_insert_mantissa in subnormal case.
354         [BZ #19594]
355         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
356         on high and low parts then adjust result and use
357         ldbl_canonicalize_int if needed.
359         [BZ #19593]
360         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
361         on high part and __floor or __ceil on low part then use
362         ldbl_canonicalize_int if needed.
364         [BZ #19592]
365         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
366         high and low parts then use ldbl_canonicalize_int if needed.
368         [BZ #17899]
369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
370         New function.
371         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
372         on high and low parts then use ldbl_canonicalize_int if needed.
374 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
376         * configure: Regenerated.
378         * po/libc.pot: Regenerated.
380         * po/be.po: Updated translation.
381         * po/bg.po: Likewise.
382         * po/ca.po: Likewise.
383         * po/cs.po: Likewise.
384         * po/da.po: Likewise.
385         * po/el.po: Likewise.
386         * po/eo.po: Likewise.
387         * po/es.po: Likewise.
388         * po/fi.po: Likewise.
389         * po/fr.po: Likewise.
390         * po/gl.po: Likewise.
391         * po/hr.po: Likewise.
392         * po/hu.po: Likewise.
393         * po/ia.po: Likewise.
394         * po/id.po: Likewise.
395         * po/it.po: Likewise.
396         * po/ja.po: Likewise.
397         * po/lt.po: Likewise.
398         * po/nb.po: Likewise.
399         * po/nl.po: Likewise.
400         * po/pt_BR.po: Likewise.
401         * po/rw.po: Likewise.
402         * po/sk.po: Likewise.
403         * po/sl.po: Likewise.
404         * po/sv.po: Likewise.
405         * po/tr.po: Likewise.
406         * po/zh_CN.po: Likewise.
407         * po/zh_TW.po: Likewise.
409         * version.h (RELEAES): Set to "development".
410         (VERSION): Set to 2.23.90.
412         * version.h (RELEASE): Set to "stable".
413         (VERSION): Set to 2.23.
414         * include/feature.h (__GLIBC_MINOR__): Set to 23.
416         * NEWS: Updated fixed bugs.
418 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
419             Wilco Dijkstra  <wdijkstr@arm.com>
421         [BZ #19462]
422         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
423         (_STRING_INLINE_unaligned): This.
424         * include/string.h: Include <string_private.h>.
425         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
426         _STRING_INLINE_unaligned.
427         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
428         (_STRING_INLINE_unaligned): New.
429         * sysdeps/aarch64/string_private.h: New file.
430         * sysdeps/generic/string_private.h: Likewise.
431         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
432         * sysdeps/s390/string_private.h: Likewise.
433         * sysdeps/x86/string_private.h: Likewise.
434         * sysdeps/m68k/m680x0/m68020/bits/string.h
435         (_STRING_ARCH_unaligned): Renamed to ...
436         (_STRING_INLINE_unaligned): This.
437         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
438         to ...
439         (_STRING_INLINE_unaligned): This.
440         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
441         to ...
442         (_STRING_INLINE_unaligned): This.
443         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
444         to ...
445         (_STRING_INLINE_unaligned): This.
447 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
448             H.J. Lu  <hongjiu.lu@intel.com>
450         [BZ #19590]
451         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
452         relocation.
454 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
456         [BZ #18665]
457         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
458         *herrno_p.
459         (gaih_getanswer): Document functional behviour. Return tryagain
460         if any result is tryagain.
461         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
462         when freed.
463         * resolv/res_send.c: Add copyright text.
464         (__libc_res_nsend): Document that MAXPACKET is expected.
465         (send_vc): Document. Remove buffer reuse.
466         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
467         size of the buffer. Add Dprint for truncated UDP buffer.
469 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
471         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
472         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
473         * INSTALL: Regenerate.
475 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
476             Jonathan Wakely  <jwakely@redhat.com>
477             Carlos O'Donell  <carlos@redhat.com>
479         [BZ 19439]
480         * math/Makefile (tests): Add test-math-isinff.
481         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
482         * math/bits/mathcalls.h [__USE_MISC]: Use
483         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
484         functions not in C++11 and which don't conflict e.g. isinff,
485         isinfl etc.
486         * math/test-math-isinff.cc: New file.
488 2016-02-12  Florian Weimer  <fweimer@redhat.com>
490         * misc/bug18240.c (do_test): Set RLIMIT_AS.
492 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
494         [BZ #19529]
495         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
497 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
499         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
501 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
503         [BZ #19550]
504         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
505         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
506         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
507         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
508         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
509         New syscall entry.
510         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
511         New syscall entry.
512         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
513         syscall entry.
515 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
517         [BZ #18240]
518         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
519         unsigned int wraparound.
521 2016-01-27  Florian Weimer  <fweimer@redhat.com>
523         [BZ #18240]
524         * misc/bug18240.c: New test.
525         * misc/Makefile (tests): Add it.
527 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
528             Joseph Myers  <joseph@codesourcery.com>
530         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
531         load in branch delay slot when less than a word of input left.
533 2016-01-27  Andreas Schwab  <schwab@suse.de>
535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
536         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
537         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
538         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
540 2016-01-26  David S. Miller  <davem@davemloft.net>
542         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
544 2016-01-25  David S. Miller  <davem@davemloft.net>
546         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
547         __sqrtl_finite.
548         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
549         instead using versioned_symbol.
550         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
551         of entries.
553         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
554         __sqrtl_finite to GLIBC_2.23
556 2016-01-25  Ricchard Henderson  <rth@redhat.com>
558         * sysdeps/alpha/fpu/libm-test-ulps: Update.
560 2016-01-25  Andreas Schwab  <schwab@suse.de>
562         [BZ #17514]
563         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
564         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
565         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
566         * nptl/tst-mutex-errorcheck.c: New file.
568 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
570         [BZ #18560]
571         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
572         (IPCOP_semop): Likewise.
573         (IPCOP_semget): Likewise.
574         (IPCOP_semctl): Likewise.
575         (IPCOP_msgsnd): Likewise.
576         (IPCOP_msgrcv): Likewise.
577         (IPCOP_msgget): Likewise.
578         (IPCOP_msgctl): Likewise.
579         (IPCOP_shmat): Likewise.
580         (IPCOP_shmdt): Likewise.
581         (IPCOP_shmget): Likewise.
582         (IPCOP_shmctl): Likewise.
584 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
586         * string/tst-endian.c: Include <libc-internal.h>.
587         (do_test): Ignore tautological-compare warnings around
588         "htobeXX (beXXtoh (i)) != i" and
589         "htoleXX (leXXtoh (i)) != i" if-statements.
591 2016-01-24  David S. Miller  <davem@davemloft.net>
593         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
594         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
595         alias.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
597         __sqrtl_finite.
599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
601 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
603         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
604         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
605         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
607 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
609         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
610         (thread_func): Use new function to simplify barrier check.
611         (do_test): Use new function to simplify checking barrier exit
612         code, and actually join the child thread.
614 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
616         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
617         semicolon.
618         (__libc_tend): Likewise.
619         (__libc_tabort): Likewise.
621 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
623         * sysdeps/nios2/libm-test-ulps: Update.
624         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
625         (__gtsf2): Likewise.
626         (__unorddf2): Likewise.
627         (__unordsf2): Likewise.
628         (__ledf2): Likewise.
630 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
632         * nis/nis_table.c (__follow_path): Disable diagnostic for
633         uninitialized variable that is a false positive for gcc 4.7.
634         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
636 2016-01-20  Roland McGrath  <roland@hack.frob.com>
638         * sysdeps/nacl/lowlevellock-futex.h
639         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
640         Always evaluate PRIVATE argument.
642 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
644         [BZ #19490]
645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
646         (pthread_cond_broadcast): Use ENTRY/END
647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
648         (pthread_cond_signal): Likewise.
649         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
650         Likewise.
651         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
652         Likewise.
653         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
654         Likewise.
656 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
658         * sysdeps/ieee754/dbl-64/s_finite.c
659         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
660         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
661         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
662         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
663         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
666         (__gtsf2): Add as optional for libc.so.
667         (__unordsf2): Likewise.
668         (__signbit): Remove for libc.so.
669         (__signbitl): Likewise.
671 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
673         * iconvdata/bug-iconv11.c (test_ibm93x):
674         Use %zu printf format specifier for size_t argument.
676 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
678         * math/gen-libm-test.pl (parse_ulps): Do not reduce
679         already-recorded ulps.
680         * sysdeps/arm/libm-test-ulps: Regenerated.
681         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
682         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
683         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
685 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
686             Paul Pluzhnikov  <ppluzhnikov@google.com>
688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
689         assembler not supporting AVX-512.
691 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
693         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
695 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
697         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
698         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
700         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
702         * sysdeps/arm/libm-test-ulps: Regenerated.
704 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
706         [BZ #19451]
707         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
709 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
711         [BZ #19486]
712         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
713         * sysdeps/generic/fix-fp-int-convert-overflow.h
714         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
715         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
716         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
717         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
718         Likewise.
719         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
720         Avoid conversions to long int where inexact exceptions
721         could be raised.
722         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
723         Likewise.
724         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
725         Avoid conversions to long long int where inexact exceptions
726         could be raised.
727         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
728         Likewise.
730 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
732         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
733         * configure: Regenerated.
735 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
737         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
739 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
742         outside of comment.
744 2016-01-15  Torvald Riegel  <triegel@redhat.com>
746         * nptl/tst-barrier1.c: Add description on first line.
747         * nptl/tst-barrier2.c: Likewise.
748         * nptl/tst-barrier3.c: Likewise.
749         * nptl/tst-barrier4.c: Likewise.
750         * nptl/tst-barrier5.c: Likewise.
752 2016-01-15  Torvald Riegel  <triegel@redhat.com>
754         [BZ #18868]
755         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
757 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
761         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
762         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
763         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
764         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
765         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
766         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
767         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
768         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
769         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
771 2016-01-15  Torvald Riegel  <triegel@redhat.com>
773         [BZ #13065]
774         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
775         new implementation.
776         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
777         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
778         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
779         (BARRIER_IN_THRESHOLD): New macro.
780         * nptl/pthread_barrierattr_setpshared.c
781         (pthread_barrierattr_setpshared): Clean up.
782         * nptl/tst-barrier4.c: Correct comment.
783         * nptl/tst-barrier5.c: New file.
784         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
785         (gen-as-const-headers): Remove lowlevelbarrier.sym.
786         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
787         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
788         * nptl/lowlevelbarrier.sym: Remove.
789         * nptl/DESIGN-barrier.txt: Remove.
790         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
791         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
792         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
793         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
794         error.
795         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
796         implementation.
798 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
800         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
801         (do_child): Mask SIGRTMIN while thr is running.
803 2016-01-15  Martin Sebor  <msebor@redhat.com>
805         [BZ #19432]
806         * iconvdata/Makefile: Add bug-iconv11.
807         * iconvdata/bug-iconv11.c: New test.
808         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
809         * iconvdata/ibm933.c: Same.
810         * iconvdata/ibm935.c: Same.
811         * iconvdata/ibm937.c: Same.
812         * iconvdata/ibm939.c: Same.
814 2016-01-15  Martin Sebor  <msebor@redhat.com>
816         [BZ #19443]
817         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
818         [DEBUG] (_ufc_set_bits): Declare used.
819         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
820         [DEBUG] (print_all): Declare used.
821         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
822         operands of the ternary ?: expression to target type.
823         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
824         calling the undeclared abort.
825         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
827 2016-01-15  Martin Sebor  <msebor@redhat.com>
829         [BZ #18755]
830         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
831         warnings.
832         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
833         (__gai_create_helper_thread): Same.
834         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
835         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
836         to suppress -Wmaybe-uninitialized warnings.
838 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
840         [BZ #19465]
841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
842         inside if.
843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
844         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
847 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
849         [BZ #19466]
850         * time/tst-mktime2.c (time_t_max): Removed.
851         (time_t_min): Likewise.
852         (TYPE_SIGNED): New.
853         (TYPE_MINIMUM): Likewise.
854         (TYPE_MAXIMUM): Likewise.
855         (TIME_T_MIN): Likewise.
856         (TIME_T_MAX): Likewise.
857         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
858         and TIME_T_MIN.
859         (do_test): Likewise.
861 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
863         [BZ #19467]
864         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
865         index_Fast_Unaligned_Load flag for Excavator family CPUs.
867 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
869         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
871 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
873         * benchtests/Makefile (PYTHON): Define.
874         (bench-func): Use $(PYTHON) to run python scripts.
875         ($(objpfx)bench-%.c): Likewise.
877 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
879         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
880         leading slash when `file_name' is "/".
882 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
884         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
885         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
886         Likewise.
887         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
888         Likewise.
889         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
890         Likewise.
891         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
892         enum constant and macro.
893         (PTRACE_SETSIGMASK): Likewise.
894         (PTRACE_SECCOMP_GET_FILTER): Likewise.
895         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
896         (PTRACE_GETSIGMASK): Likewise.
897         (PTRACE_SETSIGMASK): Likewise.
898         (PTRACE_SECCOMP_GET_FILTER): Likewise.
899         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
900         Likewise.
901         (PTRACE_SETSIGMASK): Likewise.
902         (PTRACE_SECCOMP_GET_FILTER): Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
904         (PTRACE_GETSIGMASK): Likewise.
905         (PTRACE_SETSIGMASK): Likewise.
906         (PTRACE_SECCOMP_GET_FILTER): Likewise.
907         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
908         Likewise.
909         (PTRACE_SETSIGMASK): Likewise.
910         (PTRACE_SECCOMP_GET_FILTER): Likewise.
911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
912         Likewise.
913         (PTRACE_SETSIGMASK): Likewise.
914         (PTRACE_SECCOMP_GET_FILTER): Likewise.
915         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
916         Likewise.
917         (PTRACE_SETSIGMASK): Likewise.
918         (PTRACE_SECCOMP_GET_FILTER): Likewise.
920 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
921             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
923         [BZ #19439]
924         * math/bits/mathcalls.h
925         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
926         prototype.
927         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
929 2016-01-11  Andreas Schwab  <schwab@suse.de>
931         [BZ #19253]
932         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
933         cache when TZDEFRULES was used.
934         * time/tst-tzname.c: New file.
935         * time/Makefile (test): Add tst-tzname.
936         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
937         * timezone/Makefile (test-zones): Add $(posixrules-file).
938         ($(testdata)/$(posixrules-file)): New rule.
940 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
942         Fix doc quoting problems with Texinfo 5
943         Without this change, in the info file output, Texinfo 5 quotes code
944         in text with undirected single quotes 'like this' and generates
945         code examples that with many PDF readers cannot be cut out of PDFs
946         and pasted into code.
947         * manual/libc.texinfo: Configure the libc manual like the GNU
948         Emacs manual, by using @documentencoding and setting
949         txicodequoteundirected and txicodequotebacktick.  This way,
950         Texinfo 5 quotes code in text with directed single quotes ‘like
951         this’ and produces examples that can be cut out of PDFs.  This
952         change causes Texinfo 5 to generate info files that contain UTF-8
953         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
954         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
956 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
958         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
959         __libc_tabort, __libc_tend): New wrappers that enforce compiler
960         barriers to their respective compiler built-ins.
961         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
962         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
963         * sysdeps/powerpc/sysdep.h: Likewise.
964         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
965         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
966         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
968 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
970         * scripts/config.guess: Revert previous shebang change.
971         * scripts/config.sub: Likewise.
972         * scripts/mkinstalldirs: Likewise.
974 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
976         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
977         PPC_FEATURE2_HAS_IEEE128.
978         * sysdeps/powerpc/dl-procinfo.c:
979         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
981 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
983         [BZ #19415]
984         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
985         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
986         (_dl_lookup_address): Rewrite using function resolver trampoline.
987         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
988         two bits in address.
990 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
992         * longlong.h: Change !__SHMEDIA__ to
993         (!defined (__SHMEDIA__) || !__SHMEDIA__).
994         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
996 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
997             Joseph Myers  <joseph@codesourcery.com>
998             Mark Shinwell  <shinwell@codesourcery.com>
999             Andrew Stubbs  <ams@codesourcery.com>
1000             Rich Felker <dalias@libc.org>
1002         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1004 2016-01-07  Richard Henderson  <rth@redhat.com>
1006         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1008 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1010         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1011         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1012         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1013         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1014         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1016 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1017             Joseph Myers  <joseph@codesourcery.com>
1019         * timezone/private.h: Update from tzcode 2015g.
1020         * timezone/tzfile.h: Likewise.
1021         * timezone/tzselect.ksh: Likewise.
1022         * timezone/zdump.c: Likewise.
1023         * timezone/zic.c: Likewise.
1024         * timezone/ialloc.c: Remove file.
1025         * timezone/scheck.c: Likewise.
1026         * timezone/Makefile (extra-objs): Remove variable.
1027         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1028         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1029         -Wno-maybe-uninitialized.
1030         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1031         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1032         (CFLAGS-ialloc.c): Remove variable.
1033         (CFLAGS-scheck.c): Likewise.
1034         * timezone/README: Update list of files from tzcode.
1036 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1038         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1039         instead of __fxprintf when _LIBC is undefined.
1041 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1043         * catgets/test-gencat.sh: Remove space after shebang.
1044         * conform/GlibcConform.pm: Likewise.
1045         * conform/check-header-lists.sh: Likewise.
1046         * conform/conformtest.pl: Likewise.
1047         * conform/linknamespace.pl: Likewise.
1048         * conform/list-header-symbols.pl: Likewise.
1049         * debug/catchsegv.sh: Likewise.
1050         * elf/genrtldtbl.awk: Likewise.
1051         * elf/tst-pathopt.sh: Likewise.
1052         * elf/tst-rtld-load-self.sh: Likewise.
1053         * grp/tst_fgetgrent.sh: Likewise.
1054         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1055         * iconvdata/gen-8bit-gap.sh: Likewise.
1056         * iconvdata/gen-8bit.sh: Likewise.
1057         * iconvdata/run-iconv-test.sh: Likewise.
1058         * intl/tst-gettext.sh: Likewise.
1059         * intl/tst-gettext2.sh: Likewise.
1060         * intl/tst-gettext4.sh: Likewise.
1061         * intl/tst-gettext6.sh: Likewise.
1062         * intl/tst-translit.sh: Likewise.
1063         * io/ftwtest-sh: Likewise.
1064         * libio/test-freopen.sh: Likewise.
1065         * locale/gen-translit.pl: Likewise.
1066         * malloc/tst-mtrace.sh: Likewise.
1067         * manual/check-safety.sh: Likewise.
1068         * manual/libc-texinfo.sh: Likewise.
1069         * manual/tsort.awk: Likewise.
1070         * manual/xtract-typefun.awk: Likewise.
1071         * nptl/tst-cancel-wrappers.sh: Likewise.
1072         * nptl/tst-tls6.sh: Likewise.
1073         * posix/globtest.sh: Likewise.
1074         * posix/tst-getconf.sh: Likewise.
1075         * posix/wordexp-tst.sh: Likewise.
1076         * scripts/check-c++-types.sh: Likewise.
1077         * scripts/check-local-headers.sh: Likewise.
1078         * scripts/config.guess: Likewise.
1079         * scripts/config.sub: Likewise.
1080         * scripts/cpp: Likewise.
1081         * scripts/cross-test-ssh.sh: Likewise.
1082         * scripts/documented.sh: Likewise.
1083         * scripts/evaluate-test.sh: Likewise.
1084         * scripts/gen-libc-abis: Likewise.
1085         * scripts/gen-sorted.awk: Likewise.
1086         * scripts/list-fixed-bugs.py: Likewise.
1087         * scripts/merge-test-results.sh: Likewise.
1088         * scripts/mkinstalldirs: Likewise.
1089         * scripts/rellns-sh: Likewise.
1090         * scripts/test-installation.pl: Likewise.
1091         * scripts/update-copyrights: Likewise.
1092         * stdio-common/tst-printf.sh: Likewise.
1093         * stdio-common/tst-unbputc.sh: Likewise.
1094         * stdlib/tst-fmtmsg.sh: Likewise.
1095         * stdlib/tst-setcontext3.sh: Likewise.
1096         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1097         * sysdeps/unix/make-syscalls.sh: Likewise.
1099 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1101         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1102         asm stw with atomic_exchange_rel.  Add explanatory comment.
1103         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1104         Likewise.
1106 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1108         [BZ #19122]
1109         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1110         * sysdeps/generic/dl-unistd.h: New file.
1111         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1113 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1115          [BZ #19122]
1116          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1117          * sysdeps/generic/dl-mman.h: New file.
1118          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1120 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1122         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1123         trailing whitespace removed.
1124         * scripts/config.guess: Update to version 2016-01-01.
1125         * scripts/config.sub: Update to version 2016-01-01.
1126         * scripts/move-if-change: Update from gnulib.
1128 2016-01-04  Anton Blanchard  <anton@samba.org>
1130         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1131         for array indices.
1132         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1134 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1136         * NEWS: Update copyright dates.
1137         * catgets/gencat.c (print_version): Likewise.
1138         * csu/version.c (banner): Likewise.
1139         * debug/catchsegv.sh: Likewise.
1140         * debug/pcprofiledump.c (print_version): Likewise.
1141         * debug/xtrace.sh (do_version): Likewise.
1142         * elf/ldconfig.c (print_version): Likewise.
1143         * elf/ldd.bash.in: Likewise.
1144         * elf/pldd.c (print_version): Likewise.
1145         * elf/sotruss.sh: Likewise.
1146         * elf/sprof.c (print_version): Likewise.
1147         * iconv/iconv_prog.c (print_version): Likewise.
1148         * iconv/iconvconfig.c (print_version): Likewise.
1149         * locale/programs/locale.c (print_version): Likewise.
1150         * locale/programs/localedef.c (print_version): Likewise.
1151         * login/programs/pt_chown.c (print_version): Likewise.
1152         * malloc/memusage.sh (do_version): Likewise.
1153         * malloc/memusagestat.c (print_version): Likewise.
1154         * malloc/mtrace.pl: Likewise.
1155         * manual/libc.texinfo: Likewise.
1156         * nptl/version.c (banner): Likewise.
1157         * nscd/nscd.c (print_version): Likewise.
1158         * nss/getent.c (print_version): Likewise.
1159         * nss/makedb.c (print_version): Likewise.
1160         * posix/getconf.c (main): Likewise.
1161         * scripts/test-installation.pl: Likewise.
1162         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1164         * All files with FSF copyright notices: Update copyright dates
1165         using scripts/update-copyrights.
1166         * intl/plural.c: Regenerated.
1167         * locale/programs/charmap-kw.h: Likewise.
1168         * locale/programs/locfile-kw.h: Likewise.
1170 2016-01-02  Helge Deller  <deller@gmx.de>
1172         [BZ #19285]
1173         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1174         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1175         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1176         (MADV_xxK_PAGES): Remove.
1178 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1180         [BZ #15421]
1181         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1182         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1183         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1184         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1186 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1188         [BZ #19408]
1189         * sysdeps/unix/sysv/linux/personality.c: New file.
1190         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1191         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1192         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1193         (sysdep_routines): Add personality.
1194         (tests): Add tst-personality.
1195         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1197         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1198         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1199         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1200         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1201         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1202         Likewise.
1203         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1204         Likewise.
1205         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1206         Likewise.
1207         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1208         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1209         Likewise.
1211 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1213         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1214         (PATH_ARM_SYSTYPE): Remove.
1215         (PATH_CPUINFO): Likewise.
1216         (IO_BASE_FOOTBRIDGE): Likewise.
1217         (IO_SHIFT_FOOTBRIDGE): Likewise.
1218         (struct platform): Likewise.
1219         (init_iosys): Remove compatibility code for 2.4 kernels.
1220         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1222 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1224         * malloc/tst-malloc-thread-fail.c: New file.
1225         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1226         (tst-malloc-thread-fail): Link against libpthread.
1228 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1230         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1231         (get_parser): New function.
1232         (main): New function.
1234 2015-12-29  Rob Wu  <rob@robwu.nl>
1236         [BZ #19369]
1237         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1239 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1241         [BZ #19270]
1242         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1244 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1246         [BZ #15421]
1247         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1249 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1251         [BZ #13690]
1252         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1253         after releasing it.
1254         (__lll_robust_unlock): Likewise.
1255         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1256         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1257         (lll_robust_unlock): Likewise.
1258         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1259         Prevent warnings in callers.
1261 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1263         * malloc/arena.c (list_lock): Update comment.
1265 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1267         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1268         __parse_hwcap_and_convert_at_platform to libc.a.
1270 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1272         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1273         platform and feature support for POWER9.
1274         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1275         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1276         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1277         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1278         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1279         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1280         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1281         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1283 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1285         Harmonize generic stdio-lock support with nptl
1287         This fixes build when _IO_funlockfile is a macro, fixes build where
1288         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1289         stack unwind.
1291         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1292         _IO_release_lock ): Use cleanup attribute on new
1293         _IO_acquire_lock_file variable instead of assuming that
1294         _IO_release_lock will be called.
1295         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1296         _IO_acquire_lock_needs_exceptions_enabled.
1297         (_IO_acquire_lock_clear_flags2): New macro.
1299 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1301         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1303 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1305         [BZ #19182]
1306         * malloc/arena.c (list_lock): Document lock ordering requirements.
1307         (free_list_lock): New lock.
1308         (ptmalloc_lock_all): Comment on free_list_lock.
1309         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1310         (detach_arena): Update comment.  free_list_lock is now needed.
1311         (_int_new_arena): Use free_list_lock around detach_arena call.
1312         Acquire arena lock after list_lock.  Add comment, including FIXME
1313         about incorrect synchronization.
1314         (get_free_list): Switch to free_list_lock.
1315         (reused_arena): Acquire free_list_lock around detach_arena call
1316         and attached threads counter update.  Add two FIXMEs about
1317         incorrect synchronization.
1318         (arena_thread_freeres): Switch to free_list_lock.
1319         * malloc/malloc.c (struct malloc_state): Update comments to
1320         mention free_list_lock.
1322 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1324         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1325         Remove functions.
1326         (sloww, sloww1): Accept argument to offset quadrant.
1327         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1328         quadrant.
1329         (__sin, __cos): Consolidate common code into new functions.
1330         (reduce_sincos_1, do_sincos_1): New functions.
1331         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1333         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1334         code to new functions.
1335         (reduce_sincos_2, do_sincos_2): New functions.
1336         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1339         common code for sincos.
1340         (__cos) [!IN_SINCOS]: Likewise.
1341         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1342         New function.
1343         (__sincos): Use it.
1345 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1347         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1348         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1349         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1351 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1353         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1356         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1358         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1359         index_Prefer_No_VZEROUPPER): New feature.
1360         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1361         Prefer_No_VZEROUPPER for Knights Landing.
1363 015-12-18  Torvald Riegel  <triegel@redhat.com>
1365         * math/atest-exp2.c (mp_exp_m1): Remove.
1367 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1369         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1370         syscalls.
1371         (__SYSCALL0): New macro.
1372         (__SYSCALL1): Likewise.
1373         (__SYSCALL2): Likewise.
1374         (__SYSCALL3): Likewise.
1375         (__SYSCALL4): Likewise.
1376         (__SYSCALL5): Likewise.
1377         (__SYSCALL6): Likewise.
1378         (__SYSCALL_CONCAT_X): Likewise.
1379         (__SYSCALL_CONCAT): Likewise.
1380         (__SYSCALL_DIST): Likewise.
1381         (__SYSCALL_CALL): Likewise.
1383 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1385         [BZ #19363]
1386         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1388 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1390         [BZ #19375]
1391         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1392         negative subnormals.
1394 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1397         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1398         (INTERNAL_SYSCALL_NCS): Use it.
1399         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1401 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1403         [BZ #19243]
1404         * malloc/arena.c (get_free_list): Remove assert and adjust
1405         reference count handling.  Add comment about reused_arena
1406         interaction.
1407         (reused_arena): Add comments abount get_free_list interaction.
1408         * malloc/tst-malloc-thread-exit.c: New file.
1409         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1410         (tst-malloc-thread-exit): Link against libpthread.
1412 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1414         [BZ #19367]
1415         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1416         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1417         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1418         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1419         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1421 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1423         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1424         Silvermont optimizations for Knights Landing.
1426 2015-12-15  Andreas Schwab  <schwab@suse.de>
1428         [BZ #17197]
1429         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1430         immediately after emitting SI.
1431         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1432         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1433         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1434         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1435         * iconvdata/bug-iconv10.c: New file.
1436         * iconvdata/Makefile (tests): Add bug-iconv10.
1437         ($(objpfx)bug-iconv10.out): New rule.
1439 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1441         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1442         aliasing violation.
1444 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1446         [BZ #18472]
1447         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1448         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1449         conditionals for them.
1450         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1451         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1453         sys/kdaemon.h.
1454         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1455         compat-only syscall, obsoleted in glibc 2.23.
1456         (create_module): Likewise.
1457         (get_kernel_syms): Likewise.
1458         (query_module): Likewise.
1459         (uselib): Likewise.
1460         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1462 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1464         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1465         <linux/version.h>.
1466         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1467         conditional code.
1468         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1469         and ioshift_name initialization.
1471 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1473         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1474         Fix indentation.
1476 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1478         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1480 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1482         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1484 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1485             Jakub Wilk  <jwilk@debian.org>
1487         [BZ #19347]
1488         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1489         to change the group of the device to the tty group.
1491 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1493         Split large string section; add truncation advice
1494         * manual/examples/strncat.c: Remove.
1495         This example was misleading, as the code would have undefined
1496         behavior if "hello" was longer than SIZE.  Anyway, the manual
1497         shouldn't encourage strncpy+strncat for this sort of thing.
1498         * manual/string.texi (Copying Strings and Arrays): Split into
1499         three sections Copying Strings and Arrays, Concatenating Strings,
1500         and Truncating Strings, as this section was way too long.  All
1501         cross-referenced changed.  Add advice about string-truncation
1502         functions.  Remove misleading strncat example.
1504 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1506         * manual/nss.texi (NSS Modules Interface): Document
1507         NSS_STATUS_NOTFOUND and SUCCESS.
1509 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1511         [BZ 18568]
1512         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1513         201505L, for Unicode 8.
1515 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1517         * locale/C-translit.h: Regenerate.
1519 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1521         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1522         and U+0153.
1524 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1526         [BZ #19351]
1527         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1528         expanding log(1+z), compare z rather than its square with epsilon
1529         to determine when to avoid evaluating the expansion.
1531         [BZ #19350]
1532         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1533         Increase overflow threshold.
1535         [BZ #19349]
1536         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1537         when small.
1539         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1541         New macro.
1542         [__LINUX_KERNEL_VERSION >= 0x040300]
1543         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1545         Likewise.
1546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1547         Likewise.
1548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1549         Likewise.
1550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1551         Likewise.
1552         [__LINUX_KERNEL_VERSION >= 0x040300]
1553         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1554         [__LINUX_KERNEL_VERSION >= 0x040300]
1555         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1556         [__LINUX_KERNEL_VERSION >= 0x040300]
1557         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1558         [__LINUX_KERNEL_VERSION >= 0x040300]
1559         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1560         [__LINUX_KERNEL_VERSION >= 0x040300]
1561         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1563         Likewise.
1564         [__LINUX_KERNEL_VERSION >= 0x040300]
1565         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1567         Likewise.
1568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1569         Likewise.
1570         [__LINUX_KERNEL_VERSION >= 0x040300]
1571         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1573         Likewise.
1574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1575         Likewise.
1576         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1578         Likewise.
1579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1580         Likewise.
1581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1582         Likewise.
1583         [__LINUX_KERNEL_VERSION >= 0x040300]
1584         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1586         Likewise.
1587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1588         Likewise.
1589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1590         Likewise.
1591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1592         Likewise.
1593         [__LINUX_KERNEL_VERSION >= 0x040300]
1594         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1595         [__LINUX_KERNEL_VERSION >= 0x040300]
1596         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1597         [__LINUX_KERNEL_VERSION >= 0x040300]
1598         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1599         [__LINUX_KERNEL_VERSION >= 0x040300]
1600         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1601         [__LINUX_KERNEL_VERSION >= 0x040300]
1602         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1604         Likewise.
1605         [__LINUX_KERNEL_VERSION >= 0x040300]
1606         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1608         Likewise.
1609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1610         Likewise.
1611         [__LINUX_KERNEL_VERSION >= 0x040300]
1612         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1614         Likewise.
1615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1616         Likewise.
1617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1618         (__ASSUME_SOCKET_SYSCALL): Likewise.
1619         (__ASSUME_BIND_SYSCALL): Likewise.
1620         (__ASSUME_CONNECT_SYSCALL): Likewise.
1621         (__ASSUME_LISTEN_SYSCALL): Likewise.
1622         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1623         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1624         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1625         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1626         (__ASSUME_SEND_SYSCALL): Likewise.
1627         (__ASSUME_SENDTO_SYSCALL): Likewise.
1628         (__ASSUME_RECV_SYSCALL): Likewise.
1629         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1630         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1631         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1632         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1633         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1634         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1635         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1636         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1637         Likewise.
1638         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1639         Likewise.
1640         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1641         Likewise.
1642         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1643         Likewise.
1644         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1645         Likewise.
1646         [__LINUX_KERNEL_VERSION >= 0x020625]
1647         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1648         [__LINUX_KERNEL_VERSION >= 0x020625]
1649         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1650         [__LINUX_KERNEL_VERSION >= 0x020625]
1651         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1652         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1653         Likewise.
1654         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1655         Likewise.
1656         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1657         Likewise.
1658         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1659         Likewise.
1660         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1661         Likewise.
1662         [__LINUX_KERNEL_VERSION >= 0x020625]
1663         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1664         [__LINUX_KERNEL_VERSION >= 0x020625]
1665         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1666         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1667         Likewise.
1668         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1669         Likewise.
1671 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1673         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1674         record the current if the current ABI and CPU support the FP64
1675         extension.
1676         (has-modd-spreg): Define to record the current if the current ABI and
1677         CPU support 32-bit floating point values in odd FPU registers.
1678         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1679         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1680         $(has-modd-spreg) equals yes.
1681         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1682         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1683         $(has-modd-spreg) equal yes.
1685 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1687         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1688         basename.
1690 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1692         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1693         (bench-string): ... here.
1694         (bench): Add bench-string.
1695         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1696         to *-benchset to reflect what they are.
1697         (benchset): Adjust.
1699         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1700         cos-inputs.
1702 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1704         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1705         __attribute__ ((__simd__)) for vector math function declarations.
1707 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1709         Fix typo in strncat, wcsncat manual entries
1710         * manual/string.texi (Copying and Concatenation): Fix typos in
1711         sample implementations of strncat and wcsncat, by having them use
1712         the old value of the destination length, not the new one.
1714 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1716         [BZ #16961]
1717         [BZ #16962]
1718         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1719         string on the stack for strtod.
1720         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1721         a string on the stack for strtof.
1722         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1723         constructing a string on the stack for strtold.
1724         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1725         __strtold_nan to GLIBC_PRIVATE.
1726         * math/test-nan-overflow.c: New file.
1727         * math/test-nan-payload.c: Likewise.
1728         * math/Makefile (tests): Add test-nan-overflow and
1729         test-nan-payload.
1731 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1733         Consistency about byte vs character in string.texi
1734         * manual/string.texi (String and Array Utilities):
1735         Distinguish more carefully among bytes, multibyte characters,
1736         and wide characters.  Use "byte" when talking about C 'char',
1737         to distinguish it more clearly from multibyte characters.
1738         Say "wide character" or "multibyte character" instead of
1739         "character", when a wide or multibyte character is intended.
1740         Similarly for "multibyte string" versus "string".
1741         Define these terms more carefully.
1743 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1745         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1746         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1747         Likewise.
1748         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1749         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1750         * sysdeps/sh/math_private.h: New file.
1751         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1752         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1753         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1754         long double function name.
1755         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1756         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1759         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1761         Remove __finitel, __isinfl, and __isnanl.
1762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1763         Likewise.
1764         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1766         Remove __finitel.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1768         Likewise.
1769         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1771 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1773         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1774         installed libmvec_nonshared.a.
1776 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1778         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1779         (sysdep_routines): Likewise.
1780         (sysdep-rtld-routines): Likewise.
1781         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1782         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1783         * sysdeps/powerpc/Versions: Added new
1784         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1785         * sysdeps/powerpc/hwcapinfo.c: New file.
1786         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1787         and parse hwcap, hwcap2 and platform number information.
1788         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1789         to store HWCAP+HWCAP2 and platform number.
1790         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1791         for HWCAP+HWCAP2 and platform number in the TCB.
1792         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1793         the HWCAP, HWCAP2 and platform number in the TCB.
1794         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1795         (TLS_INIT_TP): Included calls to add the hwcap and
1796         at_platform values in the TCB in TP initialization.
1797         (TLS_DEFINE_INIT_TP): Likewise.
1798         (THREAD_GET_HWCAP): New macro.
1799         (THREAD_SET_HWCAP): Likewise.
1800         (THREAD_GET_AT_PLATFORM): Likewise.
1801         (THREAD_SET_AT_PLATFORM): Likewise.
1802         * sysdeps/powerpc/powerpc32/dl-machine.h:
1803         (dl_platform_init): New function that calls
1804         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1805         powerpc32.
1806         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1807         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1808         this functionality, static linking case.
1809         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1810         linking case.
1811         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1812         __parse_hwcap_and_convert_at_platform for the static linking case.
1813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1814         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1815         ABI list for GLIBC 2.23.
1816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1817         Likewise.
1818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1819         Likewise.
1821 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1823         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1824         * configure: Regenerate.
1825         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1826         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1828 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1830         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1831         * iconvdata/ibm933.c: Likewise.
1832         * iconvdata/ibm935.c: Likewise.
1833         * iconvdata/ibm937.c: Likewise.
1834         * iconvdata/ibm939.c: Likewise.
1836 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1838         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1839         pthread_join.
1840         * nptl/tst-cancel21.c (tf): Likewise.
1842 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1844         [BZ #19313]
1845         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1846         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1847         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1848         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1849         Likewise.
1850         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1853         Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1855         Likewise.
1856         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1857         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1858         unsigned long int with __CPU_MASK_TYPE.
1860 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1862         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1864 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1866         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1867         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1868         t512.x.
1869         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1871 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1873         [BZ #19214]
1874         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1875         argument to return extended model.  Update family and model
1876         with extended family and model when family == 0x0f.
1877         (init_cpu_features): Updated.
1879 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1881         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1882         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1884         * sysdeps/mach/hurd/mmap64.c: New file.
1886 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1888         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1889         rights for its main user thread in NEWTASK.
1891 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1893         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1894         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1896 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1898         [BZ #14259]
1899         * Makeconfig: Rename localedir to complocaledir.
1900         Rename inst_localedir to inst_complocaledir.
1901         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1902         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1903         * configure.ac: Use libc_cv_complocaledir.
1904         * configure: Regenerate.
1905         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1906         -DCOMPLOCALEDIR.
1907         * locale/findlocale.c: Use COMPLOCALEDIR.
1908         * locale/loadarchive.c: Likewise.
1909         * locale/programs/locale.c: Likewise.
1910         * locale/programs/localedef.c: Likewise.
1911         * locale/programs/locarchive.c: Likewise.
1912         * localedata/Makefile: Use inst_complocaledir.
1913         * sysdeps/gnu/configure: Regenerate.
1914         * sysdeps/hppa/configure: Regenerate.
1915         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1916         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1918         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1920         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1921         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1923 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1925         [BZ #19058]
1926         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1927         AS_NEEDED.
1928         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1929         workaround.
1930         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1931         libmvec-static-only-routines): Added new file.
1932         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1934 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1936         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1937         of interrupted RPC instead of restoring it.
1939         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1940         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1941         libc_hidden_def.
1942         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1943         into initialized data instead of common. Define rtld_hidden_data_def.
1944         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1945         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1946         libc_hidden_def.
1947         (if_freenameindex): Add libc_hidden_weak.
1948         (if_nameindex): Add libc_hidden_weak.
1949         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1950         __open64.
1951         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1952         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1953         * sysdeps/mach/nanosleep.c: Include <time.h>
1954         (__nanosleep): Rename to __libc_nanosleep.
1955         (__nanosleep): Add weak_alias.
1956         (nanosleep): Update alias.
1958 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1960         * stdlib/strtod_nan.c: New file.
1961         * stdlib/strtod_nan_double.h: Likewise.
1962         * stdlib/strtod_nan_float.h: Likewise.
1963         * stdlib/strtod_nan_main.c: Likewise.
1964         * stdlib/strtod_nan_narrow.h: Likewise.
1965         * stdlib/strtod_nan_wide.h: Likewise.
1966         * stdlib/strtof_nan.c: Likewise.
1967         * stdlib/strtold_nan.c: Likewise.
1968         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1969         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1970         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1971         * wcsmbs/wcstod_nan.c: Likewise.
1972         * wcsmbs/wcstof_nan.c: Likewise.
1973         * wcsmbs/wcstold_nan.c: Likewise.
1974         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1975         strtold_nan.
1976         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1977         wcstof_nan.
1978         * include/stdlib.h (__strtof_nan): Declare and use
1979         libc_hidden_proto.
1980         (__strtod_nan): Likewise.
1981         (__strtold_nan): Likewise.
1982         (__wcstof_nan): Likewise.
1983         (__wcstod_nan): Likewise.
1984         (__wcstold_nan): Likewise.
1985         * include/wchar.h (____wcstoull_l_internal): Declare.
1986         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1987         (____strtoull_l_internal): Remove declaration.
1988         (STRTOF_NAN): Define macro.
1989         (SET_MANTISSA): Remove macro.
1990         (STRTOULL): Likewise.
1991         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1992         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1993         (STRTOF_NAN): Define macro.
1994         (SET_MANTISSA): Remove macro.
1995         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1996         (SET_MANTISSA): Remove macro.
1997         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1998         macro.
1999         (SET_MANTISSA): Remove macro.
2000         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2001         macro.
2002         (SET_MANTISSA): Remove macro.
2003         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2004         (SET_MANTISSA): Remove macro.
2005         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2006         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2007         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2009         [BZ #19266]
2010         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2011         upper case and lower case letters inside NAN(), not using TOLOWER.
2012         * stdlib/tst-strtod-nan-locale-main.c: New file.
2013         * stdlib/tst-strtod-nan-locale.c: Likewise.
2014         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2015         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2016         Depend on $(gen-locales).
2017         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2018         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2019         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2020         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2021         Depend on $(gen-locales).
2022         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2024 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2026         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2028         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2030         __finitel, __isinfl, and __isnanl.
2031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2032         Likewise.
2033         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2035         __finitel.
2036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2037         Likewise.
2038         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2040 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2042         * malloc/memusage.c (me): Remove redundant getenv call.
2044 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2046         [BZ #19143]
2047         [BZ #19164]
2048         * nptl/check-cpuset.h: Remove.
2049         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2050         Remove CPU set size check.
2051         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2052         Likewise.
2053         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2054         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2055         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2056         (__pthread_setaffinity_new): Remove CPU set size check.
2057         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2058         (__kernel_cpumask_size): Remove.
2059         (__sched_setaffinity_new): Remove CPU set size check.
2060         * manual/threads.texi (Default Thread Attributes): Remove stale
2061         reference to check_cpuset_attr, determine_cpumask_size in comment.
2062         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2063         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2064         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2065         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2066         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2067         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2068         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2069         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2070         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2071         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2072         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2073         skeleton test file.
2074         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2075         tst-affinity-pid.
2077 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2079         * scripts/update-abilist.sh: New file.
2080         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2081         * Makerules (update-all-abi-%, update-all-abi)
2082         (subdir_update-all-abi): New targets.
2083         * elf/Makefile (update-all-abi): New target.
2085 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2087         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2088         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2089         (__libc_lock_define_initialized): Use it.
2090         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2091         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2092         * malloc/malloc.c (main_arena): Likewise.
2093         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2094         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2096 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2098         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2099         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2100         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2101         (PTRACE_O_MASK): Update value.
2102         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2103         New value in enum __ptrace_setoptions.
2104         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2105         (PTRACE_O_MASK): Update value.
2106         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2107         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2108         (PTRACE_O_MASK): Update value.
2109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2110         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2111         (PTRACE_O_MASK): Update value.
2112         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2113         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2114         (PTRACE_O_MASK): Update value.
2115         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2116         New value in enum __ptrace_setoptions.
2117         (PTRACE_O_MASK): Update value.
2118         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2119         New value in enum __ptrace_setoptions.
2120         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2121         (PTRACE_O_MASK): Update value.
2123         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2124         New macro.
2125         (PACKET_AUXDATA): Likewise.
2126         (PACKET_ORIGDEV): Likewise.
2127         (PACKET_VERSION): Likewise.
2128         (PACKET_HDRLEN): Likewise.
2129         (PACKET_RESERVE): Likewise.
2130         (PACKET_TX_RING): Likewise.
2131         (PACKET_LOSS): Likewise.
2132         (PACKET_VNET_HDR): Likewise.
2133         (PACKET_TX_TIMESTAMP): Likewise.
2134         (PACKET_TIMESTAMP): Likewise.
2135         (PACKET_FANOUT): Likewise.
2136         (PACKET_TX_HAS_OFF): Likewise.
2137         (PACKET_QDISC_BYPASS): Likewise.
2138         (PACKET_ROLLOVER_STATS): Likewise.
2139         (PACKET_FANOUT_DATA): Likewise.
2140         (PACKET_MR_UNICAST): Likewise.
2142         [BZ #19242]
2143         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2144         (TOUPPER): Likewise.
2145         * stdlib/tst-strtol-locale-main.c: New file.
2146         * stdlib/tst-strtol-locale.c: Likewise.
2147         * stdlib/Makefile (tests): Add tst-strtol-locale.
2148         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2149         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2150         Depend on $(gen-locales).
2151         * wcsmbs/tst-wcstol-locale.c: New file.
2152         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2153         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2154         tr_TR.ISO-8859-9.
2155         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2156         Depend on $(gen-locales).
2158 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2160         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2161         __glibc_likely instead of __builtin_expect.  After falling back to
2162         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2163         system interface to register the code pages as occupied.
2165 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2167         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2168         [!ARM_MATH_PRIVATE_H].
2169         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2170         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2171         [!HPPA_MATH_PRIVATE_H].
2172         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2173         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2174         to [!I386_MATH_PRIVATE_H].
2175         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2176         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2177         Change guard to [!M68K_MATH_PRIVATE_H].
2178         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2179         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2180         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2181         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2182         macro.
2183         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2184         [!MIPS_MATH_PRIVATE_H].
2185         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2186         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2187         [!NIO2_MATH_PRIVATE_H].
2188         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2189         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2190         [!TILE_MATH_PRIVATE_H].
2191         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2193         [BZ #15421]
2194         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2195         initialize with 0 and define as weak alias of __signgam.
2196         * include/math.h [!_ISOMAC] (__signgam): Declare.
2197         * math/Makefile (libm-calls): Add w_lgamma_compat.
2198         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2199         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2200         test-signgam-ullong-init.
2201         (tests-static): Add test-signgam-uchar-static,
2202         test-signgam-uchar-init-static, test-signgam-uint-static,
2203         test-signgam-uint-init-static, test-signgam-ullong-static and
2204         test-signgam-ullong-init-static.
2205         (CFLAGS-test-signgam-uchar.c): New variable.
2206         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2207         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2208         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2209         (CFLAGS-test-signgam-uint.c): Likewise.
2210         (CFLAGS-test-signgam-uint-init.c): Likewise.
2211         (CFLAGS-test-signgam-uint-static.c): Likewise.
2212         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2213         (CFLAGS-test-signgam-ullong.c): Likewise.
2214         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2215         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2216         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2217         * math/Versions (libm): Add GLIBC_2.23.
2218         * math/lgamma-compat.h: New file.
2219         * math/test-signgam-main.c: Likewise.
2220         * math/test-signgam-uchar-init-static.c: Likewise.
2221         * math/test-signgam-uchar-init.c: Likewise.
2222         * math/test-signgam-uchar-static.c: Likewise.
2223         * math/test-signgam-uchar.c: Likewise.
2224         * math/test-signgam-uint-init-static.c: Likewise.
2225         * math/test-signgam-uint-init.c: Likewise.
2226         * math/test-signgam-uint-static.c: Likewise.
2227         * math/test-signgam-uint.c: Likewise.
2228         * math/test-signgam-ullong-init-static.c: Likewise.
2229         * math/test-signgam-ullong-init.c: Likewise.
2230         * math/test-signgam-ullong-static.c: Likewise.
2231         * math/test-signgam-ullong.c: Likewise.
2232         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2233         wrapper of w_lgamma_main.c.
2234         * math/w_lgamma_compat.c: New file.
2235         * math/w_lgamma_compatf.c: Likewise.
2236         * math/w_lgamma_compatl.c: Likewise.
2237         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2238         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2239         defining compatibility symbols.
2240         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2241         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2242         wrapper of w_lgammaf_main.c.
2243         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2244         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2245         defining compatibility symbols.
2246         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2247         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2248         wrapper of w_lgammal_main.c.
2249         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2250         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2251         defining compatibility symbols.
2252         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2253         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2254         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2255         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2256         <lgamma-compat.h>.
2257         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2258         (__ieee754_gamma): Define as alias.
2259         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2260         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2261         <lgamma-compat.h>.
2262         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2263         (__ieee754_gammaf): Define as alias.
2264         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2265         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2266         <lgamma-compat.h>.
2267         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2268         (__ieee754_gammal): Define as alias.
2269         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2270         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2271         <math/w_lgamma_compat.c>.
2272         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2273         Define as alias of __lgamma_compat and use in defining lgammal.
2274         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2275         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2276         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2277         (USE_AS_COMPAT): New macro.
2278         (LGAMMA_OLD_VER): Undefine and redefine.
2279         (lgammal): Do not define here.
2280         (gammal): Only define here if [GAMMA_ALIAS].
2281         * conform/linknamespace.pl (@whitelist): Remove signgam.
2282         * sysdeps/nacl/libm.abilist: Update.
2283         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2284         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2285         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2286         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2287         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2288         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2291         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2292         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2293         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2294         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2298         Likewise.
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2300         Likewise.
2301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2302         Likewise.
2303         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2304         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2305         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2306         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2307         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2309         Likewise.
2310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2311         Likewise.
2312         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2313         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2314         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2316 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2318         [BZ #16364]
2319         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2320         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2322 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2324         * sysdeps/s390/fpu/bits/mathinline.h:
2325         Use __asm__ [__volatile__] instead of asm [volatile].
2326         * sysdeps/s390/abort-instr.h: Likewise.
2327         * sysdeps/s390/atomic-machine.h: Likewise.
2328         * sysdeps/s390/bits/string.h: Likewise.
2329         * sysdeps/s390/dl-tls.h: Likewise.
2330         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2331         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2332         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2333         * sysdeps/s390/fpu/fesetround.c: Likewise.
2334         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2335         * sysdeps/s390/fpu/s_fma.c: Likewise.
2336         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2337         * sysdeps/s390/memusage.h: Likewise.
2338         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2339         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2340         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2341         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2342         * sysdeps/s390/nptl/tls.h: Likewise.
2343         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2344         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2345         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2346         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2347         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2348         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2349         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2350         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2351         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2352         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2353         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2354         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2355         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2356         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2357         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2358         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2359         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2360         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2361         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2363         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2364         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2365         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2367 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2368             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2370         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2371         Add lwarx hint, and use macro for acquire instruction.
2372         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2373         Likewise.
2374         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2375         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2376         update to use new atomic macros.
2378 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2380         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2381         (__lll_trylock_elision): Fix setting of adapt_count.
2382         * sysdeps/unix/sysv/linux/powerpc/htm.h
2383         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2384         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2385         (_ABORT_SYSCALL): Renumber, and clarify definition.
2386         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2388 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2390         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2391         after system headers to prevent MIN/MAX redefinition.  Define
2392         HAVE_ALLOCA to preserve builtin alloca usage.
2394 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2397         static and don't set or restore rounding.
2398         (__cos)[IN_SINCOS]: Likewise.
2399         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2400         (__sincos): Set and restore rounding mode.  Remove check for infinite
2401         or NaN input.
2403         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2405         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2406         as used.
2408 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2410         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2412 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2414         * config.make.in (have-glob-dat-reloc): New.
2415         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2416         target supports GLOB_DAT relocaton. AC_SUBST.
2417         * configure: Regenerated.
2418         * elf/Makefile (tests): Add tst-prelink.
2419         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2420         (tst-prelink-ENV): New.
2421         ($(objpfx)tst-prelink-conflict.out): Likewise.
2422         ($(objpfx)tst-prelink-cmp.out): Likewise.
2423         * sysdeps/x86/tst-prelink.c: Moved to ...
2424         * elf/tst-prelink.c: Here.
2425         * sysdeps/x86/tst-prelink.exp: Moved to ...
2426         * elf/tst-prelink.exp: Here.
2427         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2428         (tst-prelink-ENV): Removed.
2429         ($(objpfx)tst-prelink-conflict.out): Likewise.
2430         ($(objpfx)tst-prelink-cmp.out): Likewise.
2431         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2433 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2435         [BZ #14551]
2436         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2437         (__mpn_construct_long_double): If high part overflows to infinity,
2438         set errno and recompute overflowed result of the correct sign.
2439         * sysdeps/ieee754/ldbl-128ibm/Makefile
2440         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2441         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2442         $(libm).
2443         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2445 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2447         [BZ #15479]
2448         [BZ #19238]
2449         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2450         floating-point state after first operation on input.  Restore full
2451         state rather than just rounding mode.
2452         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2453         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2454         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2456         [BZ #19235]
2457         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2458         add 0.5 to integer arguments.
2459         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2460         Likewise.
2461         (.LC2): New object.
2463 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2465         * scripts/pylintrc (reports): Set to no.
2467 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2469         * elf/dl-load.c (open_verify): Take new argument FD.
2470         Skip __open call if passed FD is not -1.
2471         (_dl_map_object, open_path): Update callers.
2472         * elf/dl-sysdep-open.h: New file.
2473         * elf/dl-load.c: Include it.
2474         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2475         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2476         * sysdeps/nacl/dl-sysdep-open.h: New file.
2477         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2478         from libc to rtld.
2480 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2482         [BZ #19228]
2483         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2484         and restore full floating-point state.
2485         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2486         Likewise.
2487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2488         Likewise.
2489         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2490         Likewise.
2491         * math/test-nearbyint-except-2.c: New file.
2492         * math/Makefile (tests): Add test-nearbyint-except-2.
2494 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2496         [BZ #19178]
2497         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2498         (tst-prelink-ENV): New.
2499         ($(objpfx)tst-prelink-conflict.out): Likewise.
2500         ($(objpfx)tst-prelink-cmp.out): Likewise.
2501         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2502         * sysdeps/x86/tst-prelink.c: New file.
2503         * sysdeps/x86/tst-prelink.exp: Likewise.
2505 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2507         * math/auto-libm-test-in: Add another test of pow.
2508         * math/auto-libm-test-out: Regenerated.
2509         * math/libm-test.inc (pow_test_data): Add another test.
2511 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2513         [BZ #19219]
2514         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2515         weak_alias to nearbyintl.
2517 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2519         * sysdeps/aarch64/bits/string.h: New file.
2520         (_STRING_ARCH_unaligned): Define.
2522 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2524         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2525         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2526         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2527         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2530 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2532         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2533         for original name of the DSO.  Add it to the name list of the DSO
2534         if it is actually given.
2535         (_dl_map_object): Keep track of whether an audit module rewrote
2536         the file name.  If yes, pass the original name to
2537         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2538         debugging is enabled, log the change of the file name.
2539         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2540         _dl_map_object_from_fd.
2541         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2542         * elf/tst-audit11.c: New file
2543         * elf/tst-auditmod11.c: New file.
2544         * elf/tst-audit11mod1.c: New file.
2545         * elf/tst-audit11mod2.c: New file.
2546         * elf/tst-audit11mod2.map: New file.
2547         * elf/tst-audit12.c: New file
2548         * elf/tst-auditmod12.c: New file.
2549         * elf/tst-audit12mod1.c: New file.
2550         * elf/tst-audit12mod2.c: New file.
2551         * elf/tst-audit12mod2.map: New file.
2552         * elf/tst-audit12mod3.c: New file.
2554 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2556         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2557         Don't create weak aliases,
2558         because versioned symbols are created later.
2559         * sysdeps/s390/s390-32/setjmp.S
2560         (setjmp, _setjmp): Remove weak and rename to an unique name
2561         in SHARED case due to existing versioned symbols.
2562         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2563         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2564         (getcontext): Create weak alias only in non SHARED case.
2565         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2567 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2569         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2570         (__ASSUME_*_SYSCALL) Define new macros.
2571         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2572         Remove socketcall syscalls.
2573         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2574         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2575         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2576         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2577         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2578         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2580 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2582         [BZ #12926]
2583         Terminate process on invalid netlink response.
2584         * sysdeps/unix/sysv/linux/netlinkaccess.h
2585         (__netlink_assert_response): Declare.
2586         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2587         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2588         (sysdep_routines): Add netlink_assert_response.
2589         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2590         __netlink_assert_response.
2591         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2592         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2593         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2594         __netlink_assert_response.
2596 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2598         [BZ #19178]
2599         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2600         (RTYPE_CLASS_PLT): Likewise.
2601         (RTYPE_CLASS_COPY): Likewise.
2602         (RTYPE_CLASS_TLS): Likewise.
2603         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2604         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2605         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2606         DL_DEBUG_PRELINK.
2608 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2610         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2611         calls with argument -0.5.
2612         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2614         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2615         (libc_cv_z_nodlopen): Likewise.
2616         (libc_cv_z_initfirst): Likewise.
2617         * configure: Regenerated.
2619 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2621         Simplify abilist format to be line-based.
2622         * scripts/abilist.awk: Collect descriptors in the descs variable.
2623         (emit): Write descs variable and sort it
2624         externally, with sort.
2625         * sysdeps/**/*.abilist: Convert to new format.
2627 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2629         [BZ #11460]
2630         * io/Makefile (routines): Add fts64.
2631         (tests): Add tst-fts and tst-fts-lfs.
2632         (CFLAGS-fts64.c): New.
2633         * io/Versions (GLIBC_2.23): New.
2634         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2635         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2636         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2637         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2638         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2639         (FTSENT64): Likewise.
2640         (fts64_children): Likewise.
2641         (fts64_close): Likewise.
2642         (fts64_open): Likewise.
2643         (fts64_read): Likewise.
2644         (fts64_set): Likewise.
2645         * io/fts64.c: New file.
2646         * io/tst-fts.c: New test.
2647         * io/tst-fts-lfs.c: Likewise.
2648         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2649         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2650         fts64_set.
2651         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2655         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2657         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2658         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2659         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2660         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2663         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2667         Likewise.
2668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2671         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2672         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2680         * sysdeps/wordsize-64/fts.c: New file.
2681         * sysdeps/wordsize-64/fts64.c: Likewise.
2682         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2683         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2684         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2685         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2687 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2689         * math/libm-test.inc (NON_FINITE): New macro.
2690         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2691         * math/gen-libm-test.pl (show_exceptions): Add argument
2692         $non_finite.
2693         (parse_args): Update call to show_exceptions.
2694         * math/test-math-finite.h: New file.
2695         * math/test-math-no-finite.h: Likewise.
2696         * math/test-double-finite.c: Likewise.
2697         * math/test-float-finite.c: Likewise.
2698         * math/test-ldouble-finite.c: Likewise.
2699         * math/test-double.c: Include "test-math-no-finite.h".
2700         * math/test-float.c: Include "test-math-no-finite.h".
2701         * math/test-ldouble.c: Include "test-math-no-finite.h".
2702         * math/test-math-inline.h (TEST_FINITE): New macro.
2703         * math/test-math-vector.h (TEST_FINITE): Likewise.
2704         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2705         (libm-tests): Add test-float-finite and test-double-finite.
2706         ($(objpfx)test-float-finite.o): New dependency on
2707         $(objpfx)libm-test.stmp.
2708         ($(objpfx)test-double-finite.o): Likewise.
2709         ($(objpfx)test-ldouble-finite.o): Likewise.
2710         (libm-test-no-inline-cflags): New variable.
2711         (libm-test-finite-cflags): Likewise.
2712         (CFLAGS-test-float-finite.c): Likewise.
2713         (CFLAGS-test-double-finite.c): Likewise.
2714         (CFLAGS-test-ldouble-finite.c): Likewise.
2715         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2716         (CFLAGS-test-double.c): Likewise.
2717         (CFLAGS-test-ldouble.c): Likewise.
2719 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2721         * io/fcntl.c (__fcntl): Add ... to prototype.
2722         * misc/ioctl.c (__ioctl): Likewise.
2723         * misc/syscall.c (syscall): Likewise.
2725 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2727         * scripts/list-fixed-bugs.py: New file.
2729         [BZ #19213]
2730         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2731         returned for argument 1.
2732         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2733         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2734         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2735         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2736         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2737         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2739         [BZ #19211]
2740         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2741         __USE_XOPEN], not if [!__USE_ISOC99].
2742         (lgammaf): Likewise.
2743         (lgammal): Likewise.
2744         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2745         (gammaf): Likewise.
2746         (gammal): Likewise.
2747         * math/test-signgam-finite-c11.c: New file.
2748         * math/test-signgam-finite-c99.c: Likewise.
2749         * math/test-signgam-finite.c: Likewise.
2750         * math/Makefile (tests): Add test-signgam-finite,
2751         test-signgam-finite-c99 and test-signgam-finite-c11.
2752         (CFLAGS-test-signgam-finite.c): New variable.
2753         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2754         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2756         [BZ #19212]
2757         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2758         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2759         500].
2760         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2761         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2762         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2763         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2764         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2765         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2766         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2767         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2768         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2769         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2771         [BZ #19209]
2772         * math/bits/math-finite.h (ldexp): Remove declaration.
2773         (ldexpf): Likewise.
2774         (ldexpl): Likewise.
2776         [BZ #19205]
2777         * math/bits/math-finite.h (acosf): Condition declaration on
2778         [__USE_ISOC99].
2779         (acosl): Likewise.
2780         (acoshf): Likewise.
2781         (acoshl): Likewise.
2782         (asinf): Likewise.
2783         (asinl): Likewise.
2784         (atan2f): Likewise.
2785         (atan2l): Likewise.
2786         (atanhf): Likewise.
2787         (atanhl): Likewise.
2788         (coshf): Likewise.
2789         (coshl): Likewise.
2790         (expf): Likewise.
2791         (expl): Likewise.
2792         (fmodf): Likewise.
2793         (fmodl): Likewise.
2794         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2795         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2796         (j0l): Likewise.
2797         (y0f): Likewise.
2798         (y0l): Likewise.
2799         (j1f): Likewise.
2800         (j1l): Likewise.
2801         (y1f): Likewise.
2802         (y1l): Likewise.
2803         (jnf): Likewise.
2804         (jnl): Likewise.
2805         (ynf): Likewise.
2806         (ynl): Likewise.
2807         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2808         (lgammal_r): Likewise.
2809         (__lgamma_r_finite): New declaration.
2810         (__lgammaf_r_finite): Likewise.
2811         (__lgammal_r_finite): Likewise.
2812         (lgamma): Use __lgamma_r_finite.
2813         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2814         __lgammaf_r_finite.
2815         (lgammal): Condition definition on [__USE_ISOC99].  Use
2816         __lgammal_r_finite.
2817         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2818         __lgamma_r_finite.
2819         (gammaf): Condition definition on [__USE_ISOC99].  Use
2820         __lgammaf_r_finite.
2821         (gammal): Condition definition on [__USE_ISOC99].  Use
2822         __lgammal_r_finite.
2823         (logf): Condition declaration on [__USE_ISOC99].
2824         (logl): Likewise.
2825         (log10f): Likewise.
2826         (log10l): Likewise.
2827         (ldexpf): Likewise.
2828         (ldexpl): Likewise.
2829         (powf): Likewise.
2830         (powl): Likewise.
2831         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2832         __USE_ISOC99].
2833         (remainderf): Condition declaration on [__USE_ISOC99].
2834         (remainderl): Likewise.
2835         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2836         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2837         (scalbl): Likewise.
2838         (sinhf): Condition declaration on [__USE_ISOC99].
2839         (sinhl): Likewise.
2840         (sqrtf): Likewise.
2841         (sqrtl): Likewise.
2843 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2845         * sysdeps/arm/atomic-machine.h
2846         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2847         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2848         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2849         Remove conditional code.
2850         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2851         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2852         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2853         Change conditional to [__ASSEMBLER__].
2854         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2855         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2856         [!__ASSEMBLER__].
2857         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2858         code.
2859         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2860         conditional macro definitions.
2861         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2862         (__arch_compare_and_exchange_val_16_acq): Likewise.
2863         (__arch_compare_and_exchange_val_32_acq): Likewise.
2864         (atomic_exchange_and_add): Likewise.
2865         (atomic_add): Likewise.
2866         (atomic_add_negative): Likewise.
2867         (atomic_add_zero): Likewise.
2868         (atomic_bit_set): Likewise.
2869         (atomic_bit_test_set): Likewise.
2870         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2871         code unconditional.
2872         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2874         * math/test-math-errno.h: New file.
2875         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2876         empty.
2877         (TEST_ERRNO): New macro.
2878         (TEST_EXCEPTIONS): Likewise.
2879         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2880         (TEST_EXCEPTIONS): Likewise.
2881         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2882         * math/test-double.c: Include "test-math-errno.h".
2883         * math/test-float.c: Likewise.
2884         * math/test-ldouble.c: Likewise.
2885         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2886         code unconditional.
2887         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2888         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2889         unconditional.
2890         (test_errno): Only run code if TEST_ERRNO.
2891         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2893 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2895         * nptl/tst-once5.cc: Remove attribution.
2897 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2899         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2900         sqrt, tan, tanh, y0, y1 and yn.
2901         * math/auto-libm-test-out: Regenerated.
2902         * math/libm-test.inc (scalb_test_data): Add more tests.
2903         (scalbn_test_data): Likewise.
2904         (scalbln_test_data): Likewise.
2905         (signbit_test_data): Likewise.
2906         (sin_test_data): Likewise.
2907         (sincos_test_data): Likewise.
2908         (sinh_test_data): Likewise.
2909         (sqrt_test_data): Likewise.
2910         (tan_test_data): Likewise.
2911         (tanh_test_data): Likewise.
2912         (tgamma_test_data): Likewise.
2913         (y0_test_data): Likewise.
2914         (y1_test_data): Likewise.
2915         (yn_test_data): Likewise.
2916         (significand_test_data): Likewise.
2917         * sysdeps/i386/fpu/libm-test-ulps: Update.
2919 2015-11-03  David Kastrup  <dak@gnu.org>
2921         [BZ #18604]
2922         * assert/assert.h (assert): Don't macro-expand failed assertion
2923         expression in error message.
2924         * malloc/malloc.c (assert): Likewise.
2926 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2928         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2929         test.
2930         * configure: Regenerated.
2932 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2934         * math/libm-test.inc (modf_test_data): Add more tests.
2935         (nearbyint_test_data): Likewise.
2936         (nextafter_test_data): Likewise.
2937         (nexttoward_test_data): Likewise.
2938         (pow_test_data): Likewise.
2939         (remainder_test_data): Likewise.
2940         (remquo_test_data): Likewise.
2941         (rint_test_data): Likewise.
2943         [BZ #19201]
2944         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2945         Check for zero remainder in case of large exponents and ensure
2946         correct sign of result in that case.
2947         * math/libm-test.inc (remainder_test_data): Add more tests.
2949         [BZ #6799]
2950         * math/s_nextafter.c: Include <errno.h>.
2951         (__nextafter): Set errno on overflow and underflow.
2952         * math/s_nexttowardf.c: Include <errno.h>.
2953         (__nexttowardf): Set errno on overflow and underflow.
2954         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2955         (__nextafterl): Set errno on overflow and underflow.
2956         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2957         (__nexttoward): Set errno on overflow and underflow.
2958         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2959         (__nexttowardf): Set errno on overflow and underflow.
2960         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2961         (__nextafterf): Set errno on overflow and underflow.
2962         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2963         (__nextafterl): Set errno on overflow and underflow.
2964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2965         (__nexttoward): Set errno on overflow and underflow.
2966         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2967         (__nexttowardf): Set errno on overflow and underflow.
2968         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2969         (__nextafterl): Set errno on overflow and underflow.
2970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2971         (__nexttoward): Set errno on overflow and underflow.
2972         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2973         (__nexttowardf): Set errno on overflow and underflow.
2974         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2975         (__nexttoward): Set errno on overflow and underflow.
2976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2977         (__nexttowardf): Set errno on overflow and underflow.
2978         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2979         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2980         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2981         (__nextafterl): Set errno on overflow and underflow.
2982         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2983         setting to be missing on overflow.  Add more tests.
2984         (nexttoward_test_data): Likewise.
2986         * configure.ac (libc_cv_initfini_array): Remove configure test.
2987         * configure: Regenerated.
2989 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2991         [BZ #19189]
2992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2993         non-finite argument handle arguments with negative sign.
2995         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2996         result from infinite argument.
2997         (j1_test_data): Likewise.
2998         (jn_test_data): Likewise.
2999         (y0_test_data): Likewise.
3000         (y1_test_data): Likewise.
3001         (yn_test_data): Likewise.
3003         [BZ #16171]
3004         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3005         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3006         * math/w_remainderf.c (dremf): Define as weak alias of
3007         __remainderf.
3008         * math/w_remainderl.c (dreml): Define as weak alias of
3009         __remainderl.
3010         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3011         __remainder.
3012         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3013         __remainderf.
3014         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3015         __remainderl.
3016         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3017         weak alias of remainderl.
3018         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3019         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3020         alias of __remainder.
3021         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3022         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3023         strong alias of __remainderl.
3024         (dreml): Use long_double_symbol.
3025         * math/Makefile (libm-calls): Remove w_drem.
3026         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3027         (CFLAGS-nldbl-drem.c): Remove variable.
3028         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3029         * math/w_drem.c: Remove file.
3030         * math/w_dremf.c: Likewise.
3031         * math/w_dreml.c: Likewise.
3032         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3033         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3034         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3036         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3037         * sysdeps/i386/configure: Regenerated.
3038         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3039         * sysdeps/x86_64/configure: Regenerated.
3041         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3042         test.
3043         (libc_cv_visibility_attribute): Likewise.
3044         (libc_cv_protected_data): Test unconditionally.
3045         (libc_cv_broken_visibility_attribute): Remove configure test.
3046         (libc_cv_have_sdata_section): Test unconditionally.
3047         * configure: Regenerated.
3049         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3050         * include/scratch_buffer.h: Include <stddef.h> instead of
3051         <libc-internal.h>.
3052         (struct scratch_buffer): Use max_align_t instead of
3053         libc_max_align_t.
3055 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3057         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3058         instead of extend_alloca.  Change control flow to avoid a goto.
3059         Remove assert which is trivially always true.
3061 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3063         [BZ #16068]
3064         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3065         (FE_ALL_EXCEPT_X86): New macro.
3066         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3067         FE_ALL_EXCEPT.  Ensure precision control is included in
3068         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3069         handle "denormal operand exception" and clear FZ and DAZ bits.
3070         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3071         (FE_ALL_EXCEPT_X86): New macro.
3072         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3073         FE_ALL_EXCEPT.  Ensure precision control is included in
3074         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3075         handle "denormal operand exception" and clear FZ and DAZ bits.
3076         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3077         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3078         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3079         test-fenv-x87 and test-fenv-sse-2.
3080         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3082         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3083         * math/test-double.h (BUILD_COMPLEX): New macro.
3084         * math/test-float.h (BUILD_COMPLEX): Likewise.
3085         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3087         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3088         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3089         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3091         instead of DBL_DENORM_MIN in comment.
3092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3093         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3094         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3095         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3096         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3097         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3099 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3101         [BZ# 19048]
3102         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3103         attached_threads member.
3104         (main_arena): Initialize attached_threads.
3105         * malloc/arena.c (list_lock): Update comment.
3106         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3107         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3108         (deattach_arena): New function.
3109         (_int_new_arena): Initialize arena reference count and deattach
3110         replaced arena.
3111         (get_free_list, reused_arena): Update reference count and deattach
3112         replaced arena.
3113         (arena_thread_freeres): Update arena reference count and only put
3114         unreferenced arenas on the free list.
3116 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3118         [BZ #19181]
3119         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3120         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3121         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3122         * math/test-fenv-clear-main.c: New file.
3123         * math/test-fenv-clear.c: Likewise.
3124         * math/Makefile (tests): Add test-fenv-clear.
3125         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3126         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3127         test-fenv-clear-sse.
3128         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3130         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3131         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3132         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3134 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3136         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3137         static libc.
3139 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3141         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3142         test.
3143         * sysdeps/i386/configure: Regenerated.
3144         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3145         test.
3146         * sysdeps/x86_64/configure: Regenerated.
3147         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3149         memset-avx2 unconditionally instead of conditionally on
3150         [$(config-cflags-avx2) = yes].
3151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3152         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3153         unconditional.
3154         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3155         * sysdeps/x86_64/multiarch/memset_chk.S
3156         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3157         to [IS_IN (libc) && SHARED].
3159 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3161         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3162         configure test.
3163         * sysdeps/arm/configure: Regenerated.
3164         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3165         Define variable if not already defined.
3167         [BZ #17404]
3168         * sysdeps/mips/atomic-machine.h
3169         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3170         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3171         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3173         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3174         unconditional.
3175         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3176         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3177         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3178         unconditional.
3179         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3180         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3181         unconditional.
3182         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3183         * stdlib/setenv.c
3184         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3185         code unconditional.
3186         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3187         Remove conditional code.
3188         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3189         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3190         unconditional.
3191         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3192         code.
3193         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3194         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3195         unconditional.
3196         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3197         code.
3198         * sysdeps/ieee754/ldbl-128/k_tanl.c
3199         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3200         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3201         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3202         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3203         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3204         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3205         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3206         unconditional.
3207         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3208         code.
3209         * sysdeps/ieee754/ldbl-96/k_tanl.c
3210         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3211         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3213         * nptl/tst-initializers1-c11.c: New file.
3214         * nptl/tst-initializers1-gnu11.c: Likewise.
3215         * nptl/Makefile (tests): Add these new tests.
3216         (CFLAGS-tst-initializers1-c11.c): New variable.
3217         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3219         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3220         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3221         instead of -std=gnu99.
3222         * configure.ac (systemtap): Test with -std=gnu11 instead of
3223         -std=gnu99.
3224         * configure: Regenerated.
3225         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3226         in compilation command in comment.
3228         * sysdeps/nptl/configure.ac: Remove file.
3229         * sysdeps/nptl/configure: Remove generated file.
3230         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3231         * configure: Regenerated.
3232         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3233         * config.make.in (have-forced-unwind): Remove variable.
3234         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3235         unconditional.
3236         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3237         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3238         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3239         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3240         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3241         unconditional.
3243 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3245         [BZ #19174]
3246         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3247         .skip_lock_out_of_tbegin_retries.
3248         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3249         (__lll_lock_elision): Likewise, and respect a value of
3250         try_tbegin <= 0.
3252 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3254         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3255         statement.
3257 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3259         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3260         variable.
3261         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3262         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3264         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3265         of -std=c1x -D_ISOC11_SOURCE.
3267         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3268         * configure: Regenerated.
3269         * manual/install.texi (Tools for Compilation): Document
3270         requirement for GCC 4.7 or later.
3271         * INSTALL: Regenerated.
3273 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3275         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3276         on CNT to a conditional jump to 'puntdata'.
3278 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3280         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3281         (libc_cv_gcc_tls_model_attr): Likewise.
3282         * configure: Regenerated.
3284         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3285         * configure: Regenerated.
3286         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3288 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3290         * configure.ac (old_glibc_headers): Remove configure test.
3291         * configure: Regenerated.
3292         * config.make.in (old-glibc-headers): Remove variable.
3293         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3294         (install): Remove dependency on remove-old-headers.
3295         (headers2_0): Remove variable.
3296         (remove-old-headers): Remove rule.
3298         * configure.ac (libc_cv_dot_text): Remove configure test.
3299         (libc_cv_asm_set_directive): Use .text instead of
3300         ${libc_cv_dot_text} in configure test.
3301         * configure: Regenerated.
3303 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3305         [BZ #19168]
3306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3308 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3310         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3311         not support static linking.
3312         * configure: Regenerate.
3314 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3316         * math/libm-test.inc (check_float_internal): Do not special-case
3317         errors up to 0.5 ulp.
3319         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3320         log2.
3321         * math/auto-libm-test-out: Regenerated.
3322         * math/libm-test.inc (MAX_EXP): New macro.
3323         (ilogb_test_data): Add more tests.
3324         (isfinite_test_data): Likewise.
3325         (isgreater_test_data): Likewise.
3326         (isgreaterequal_test_data): Likewise.
3327         (isinf_test_data): Likewise.
3328         (isless_test_data): Likewise.
3329         (islessequal_test_data): Likewise.
3330         (islessgreater_test_data): Likewise.
3331         (isnan_test_data): Likewise.
3332         (isnormal_test_data): Likewise.
3333         (issignaling_test_data): Likewise.
3334         (isunordered_test_data): Likewise.
3335         (j0_test_data): Likewise.
3336         (j1_test_data): Likewise.
3337         (jn_test_data): Likewise.
3338         (lgamma_test_data): Likewise.
3339         (log_test_data): Likewise.
3340         (log10_test_data): Likewise.
3341         (log1p_test_data): Likewise.
3342         (log2_test_data): Likewise.
3343         (logb_test_data): Likewise.
3344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3346         [BZ #18611]
3347         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3348         avoid excess range and precision on underflow.
3349         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3350         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3351         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3352         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3353         underflow.
3354         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3356         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3358         * math/auto-libm-test-in: Do not allow missing errno setting for
3359         tests of j1 and jn.
3360         * math/auto-libm-test-out: Regenerated.
3362 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3364         [BZ #15491]
3365         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3366         floating-point environment instead of clearing all exceptions.
3367         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3368         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3369         merging in "invalid" exceptions from frndint.
3370         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3371         * math/test-nearbyint-except.c: New file.
3372         * math/Makefile (tests): Add test-nearbyint-except.
3374 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3376         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3378         * sysdeps/tile/libm-test-ulps: Regenerated.
3380 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3383         (__NR_sync_file_range2): Assume it is always defined.
3384         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3385         (__NR_sync_file_range): Assume it is always defined.
3387 2015-10-22  Andreas Schwab  <schwab@suse.de>
3389         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3390         INTERNAL_SYSCALL_ERRNO.
3391         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3392         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3393         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3394         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3398 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3400         * io/tst-fcntl.c (fd): New static variable.
3401         (do_prepare): Open temporary file here....
3402         (do_test): ...not here.
3404         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3406 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3408         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3409         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3410         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3411         Moved before "#ifdef __ASSEMBLER__".
3413 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3415         [BZ #19156]
3416         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3417         arguments very close to 0.
3419 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3421         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3422         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3424 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3426         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3427         New.  Defined for GCC 5 and above when not compiling for
3428         profiling.
3429         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3431         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3432         Renamed to ...
3433         (CFLAGS-epoll_pwait.o): This.
3434         (CFLAGS-mmap.c): Renamed to ...
3435         (CFLAGS-mmap.o): This.
3436         (CFLAGS-mmap64.c): Renamed to ...
3437         (CFLAGS-mmap64.o): This.
3438         (CFLAGS-epoll_pwait.os): New.
3439         (CFLAGS-mmap.os): Likewise.
3440         (CFLAGS-mmap64.os): Likewise.
3441         (CFLAGS-semtimedop.os): Likewise.
3442         (CFLAGS-semtimedop.c): Renamed to ...
3443         (CFLAGS-semtimedop.o): This.
3445 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3447         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3448         warning message.
3450 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3452         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3453         * Makefile ($(objpfx)c++-types-check.out): Filter out
3454         $(+gccwarn-c) instead of -Wstrict-prototypes.
3456         * io/fts.c (fts_open): Convert to prototype-style function
3457         definition.
3458         * malloc/mcheck.c (mcheck): Likewise.
3459         (mcheck_pedantic): Likewise.
3460         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3461         internal_function.
3462         (re_search_internal): Likewise.
3463         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3464         prototype-style function definition.
3465         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3466         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3467         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3468         (xdr_utmpptr): Likewise.
3469         (xdr_utmparr): Likewise.
3470         (xdr_utmpidle): Likewise.
3471         (xdr_utmpidleptr): Likewise.
3472         (xdr_utmpidlearr): Likewise.
3474         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3475         log, log10 and log2.
3476         * math/auto-libm-test-out: Regenerated.
3477         * math/libm-test.inc (fmod_test_data): Add more tests.
3478         (fpclassify_test_data): Likewise.
3479         (frexp_test_data): Likewise.
3480         (hypot_test_data): Likewise.
3481         (ilogb_test_data): Likewise.
3483 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3485         * debug/fortify_fail.c (__fortify_fail): Convert to
3486         prototype-style function definition.  Use internal_function.
3487         * libio/genops.c (save_for_backup): Convert to prototype-style
3488         function definition.
3489         * libio/wgenops.c (save_for_wbackup): Likewise.
3490         * login/grantpt.c (grantpt): Likewise.
3491         * login/ptsname.c (ptsname): Likewise.
3492         (__ptsname_r): Likewise.
3493         * login/unlockpt.c (unlockpt): Likewise.
3494         * mach/msgserver.c (__mach_msg_server): Likewise.
3495         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3496         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3497         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3498         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3499         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3500         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3501         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3502         Likewise.
3503         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3504         internal_function.
3505         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3506         prototype-style function definition.
3507         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3508         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3509         (__pthread_create_2_0): Likewise.
3510         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3511         * nptl/register-atfork.c (__register_atfork): Likewise.
3512         * posix/glob.c (glob): Likewise.
3513         * posix/regcomp.c (re_comp): Likewise.
3514         * posix/regexec.c (re_exec): Likewise.
3515         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3516         [!__STDC__]: Remove conditional code.
3517         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3518         [!__STDC__]: Remove conditional code.
3519         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3520         [!__STDC__]: Remove conditional code.
3521         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3522         [!__STDC__]: Remove conditional code.
3523         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3524         [!__STDC__]: Remove conditional code.
3525         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3526         [!__STDC__]: Remove conditional code.
3527         * stdlib/mul.c [__STDC__]: Make code unconditional.
3528         [!__STDC__]: Remove conditional code.
3529         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3530         [!__STDC__]: Remove conditional code.
3531         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3532         [!__STDC__]: Remove conditional code.
3533         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3534         function definition.
3535         (STRTOF): Likewise.
3536         * stdlib/strtod_l.c (__STRTOF): Likewise.
3537         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3538         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3539         (__strtol_l): Likewise.
3540         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3541         [!__STDC__]: Remove conditional code.
3542         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3543         definition.
3544         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3545         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3546         type.
3547         (__strcasecmp): Convert to prototype-style function definition.
3548         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3549         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3550         type.
3551         (__strncasecmp): Convert to prototype-style function definition.
3552         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3553         * sunrpc/xdr.c (xdr_union): Likewise.
3554         * sunrpc/xdr_array.c (xdr_array): Likewise.
3555         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3556         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3557         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3558         Likewise.
3559         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3560         Likewise.
3561         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3562         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3563         Likewise.
3564         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3565         (LOCALE_PARAM_PROTO): Likewise.
3566         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3567         argument type.
3568         (ut_argument_spec): Remove macro.
3569         (ut_argument_spec_iso): Rename to ut_argument_spec.
3570         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3571         prototype-style function definition.
3572         (memcpy_uppcase): Likewise.
3573         (__strftime_internal): Likewise.
3574         (my_strftime): Likewise.
3575         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3576         (LOCALE_PARAM_DECL): Likewise.
3577         [_LIBC] (LOCALE_PARAM): Include argument type.
3578         (__strptime_internal): Convert to prototype-style function
3579         definition.
3580         (strptime): Likewise.
3581         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3582         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3583         type.
3584         (__wcscasecmp): Convert to prototype-style function definition.
3585         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3586         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3587         type.
3588         (__wcsncasecmp): Convert to prototype-style function definition.
3590         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3591         function definition.
3592         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3593         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3594         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3595         * elf/dl-minimal.c (_itoa): Likewise.
3596         * hurd/hurdmalloc.c (malloc): Likewise.
3597         (free): Likewise.
3598         (realloc): Likewise.
3599         * inet/inet6_option.c (inet6_option_space): Likewise.
3600         (inet6_option_init): Likewise.
3601         (inet6_option_append): Likewise.
3602         (inet6_option_alloc): Likewise.
3603         (inet6_option_next): Likewise.
3604         (inet6_option_find): Likewise.
3605         * io/ftw.c (FTW_NAME): Likewise.
3606         (NFTW_NAME): Likewise.
3607         (NFTW_NEW_NAME): Likewise.
3608         (NFTW_OLD_NAME): Likewise.
3609         * libio/iofwide.c (_IO_fwide): Likewise.
3610         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3611         (_IO_str_init_static): Likewise.
3612         (_IO_str_init_readonly): Likewise.
3613         (_IO_str_overflow): Likewise.
3614         (_IO_str_underflow): Likewise.
3615         (_IO_str_count): Likewise.
3616         (_IO_str_seekoff): Likewise.
3617         (_IO_str_pbackfail): Likewise.
3618         (_IO_str_finish): Likewise.
3619         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3620         (_IO_wstr_overflow): Likewise.
3621         (_IO_wstr_underflow): Likewise.
3622         (_IO_wstr_count): Likewise.
3623         (_IO_wstr_seekoff): Likewise.
3624         (_IO_wstr_pbackfail): Likewise.
3625         (_IO_wstr_finish): Likewise.
3626         * locale/programs/localedef.c (normalize_codeset): Likewise.
3627         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3628         (add_locales_to_archive): Likewise.
3629         (delete_locales_from_archive): Likewise.
3630         * malloc/malloc.c (__libc_mallinfo): Likewise.
3631         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3632         * misc/tsearch.c (__tfind): Likewise.
3633         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3634         * nptl/pthread_attr_getdetachstate.c
3635         (__pthread_attr_getdetachstate): Likewise.
3636         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3637         Likewise.
3638         * nptl/pthread_attr_getinheritsched.c
3639         (__pthread_attr_getinheritsched): Likewise.
3640         * nptl/pthread_attr_getschedparam.c
3641         (__pthread_attr_getschedparam): Likewise.
3642         * nptl/pthread_attr_getschedpolicy.c
3643         (__pthread_attr_getschedpolicy): Likewise.
3644         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3645         Likewise.
3646         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3647         Likewise.
3648         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3649         Likewise.
3650         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3651         Likewise.
3652         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3653         (__pthread_attr_init_2_0): Likewise.
3654         * nptl/pthread_attr_setdetachstate.c
3655         (__pthread_attr_setdetachstate): Likewise.
3656         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3657         Likewise.
3658         * nptl/pthread_attr_setinheritsched.c
3659         (__pthread_attr_setinheritsched): Likewise.
3660         * nptl/pthread_attr_setschedparam.c
3661         (__pthread_attr_setschedparam): Likewise.
3662         * nptl/pthread_attr_setschedpolicy.c
3663         (__pthread_attr_setschedpolicy): Likewise.
3664         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3665         Likewise.
3666         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3667         Likewise.
3668         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3669         Likewise.
3670         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3671         Likewise.
3672         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3673         Likewise.
3674         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3675         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3676         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3677         use internal_function.
3678         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3679         prototype-style function definition.
3680         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3681         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3682         internal_function.
3683         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3684         Convert to prototype-style function definition.
3685         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3686         Likewise.
3687         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3688         Likewise.
3689         (__pthread_mutex_unlock): Likewise.
3690         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3691         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3692         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3693         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3694         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3695         * nss/makedb.c (process_input): Likewise.
3696         * posix/fnmatch.c (__strchrnul): Likewise.
3697         (__wcschrnul): Likewise.
3698         (fnmatch): Likewise.
3699         * posix/fnmatch_loop.c (FCT): Likewise.
3700         * posix/glob.c (globfree): Likewise.
3701         (__glob_pattern_type): Likewise.
3702         (__glob_pattern_p): Likewise.
3703         * posix/regcomp.c (re_compile_pattern): Likewise.
3704         (re_set_syntax): Likewise.
3705         (re_compile_fastmap): Likewise.
3706         (regcomp): Likewise.
3707         (regerror): Likewise.
3708         (regfree): Likewise.
3709         * posix/regexec.c (regexec): Likewise.
3710         (re_match): Likewise.
3711         (re_search): Likewise.
3712         (re_match_2): Likewise.
3713         (re_search_2): Likewise.
3714         (re_search_stub): Likewise.  Use internal_function
3715         (re_copy_regs): Likewise.
3716         (re_set_registers): Convert to prototype-style function
3717         definition.
3718         (prune_impossible_nodes): Likewise.  Use internal_function.
3719         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3720         prototype-style function definition.
3721         (inet_net_pton_ipv4): Likewise.
3722         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3723         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3724         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3725         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3726         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3727         Make variadic.
3728         * time/strptime_l.c (localtime_r): Convert to prototype-style
3729         function definition.
3730         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3731         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3732         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3733         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3735         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3736         definition.
3737         (_ufc_doit_r): Likewise.
3738         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3739         (_ufc_output_conversion_r): Likewise.
3740         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3741         * inet/rcmd.c (rcmd_af): Likewise.
3742         (rcmd): Likewise.
3743         (ruserok_af): Likewise.
3744         (ruserok): Likewise.
3745         (ruserok2_sa): Likewise.
3746         (ruserok_sa): Likewise.
3747         (iruserok_af): Likewise.
3748         (iruserok): Likewise.
3749         (__ivaliduser): Likewise.
3750         (__validuser2_sa): Likewise.
3751         * inet/rexec.c (rexec_af): Likewise.
3752         (rexec): Likewise.
3753         * inet/ruserpass.c (ruserpass): Likewise.
3754         * locale/programs/xmalloc.c (xcalloc): Likewise.
3755         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3756         * math/w_drem.c (__drem): Likewise.
3757         * math/w_dremf.c (__dremf): Likewise.
3758         * math/w_dreml.c (__dreml): Likewise.
3759         * misc/daemon.c (daemon): Likewise.
3760         * resolv/res_debug.c (p_fqnname): Likewise.
3761         * stdlib/div.c (div): Likewise.
3762         * string/memcmp.c (memcmp_bytes): Likewise.
3763         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3764         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3766         * crypt/cert.c (main): Convert to prototype-style function
3767         definition.
3768         * io/pipe.c (__pipe): Likewise.
3769         * io/pipe2.c (__pipe2): Likewise.
3770         * misc/futimesat.c (futimesat): Likewise.
3771         * misc/utimes.c (__utimes): Likewise.
3772         * posix/execve.c (__execve): Likewise.
3773         * posix/execvp.c (execvp): Likewise.
3774         * posix/execvpe.c (__execvpe): Likewise.
3775         * posix/fexecve.c (fexecve): Likewise.
3776         * socket/socketpair.c (socketpair): Likewise.
3777         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3778         * stdlib/erand48.c (erand48): Likewise.
3779         * stdlib/erand48_r.c (__erand48_r): Likewise.
3780         * stdlib/jrand48.c (jrand48): Likewise.
3781         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3782         * stdlib/lcong48.c (lcong48): Likewise.
3783         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3784         * stdlib/nrand48.c (nrand48): Likewise.
3785         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3786         * stdlib/seed48.c (seed48): Likewise.
3787         * stdlib/seed48_r.c (__seed48_r): Likewise.
3788         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3789         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3790         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3792 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3794         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3795         * configure: Regenerated.
3796         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3797         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3798         unconditional.
3799         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3800         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3801         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3802         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3803         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3804         unconditional.
3805         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3807         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3808         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3810         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3811         function definition.
3812         * crypt/crypt_util.c (__encrypt_r): Likewise.
3813         * libio/genops.c (_IO_no_init): Likewise.
3814         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3815         (_IO_old_fopencookie): Likewise.
3816         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3817         * libio/iogetline.c (_IO_getline): Likewise.
3818         (_IO_getline_info): Likewise.
3819         * libio/iogetwline.c (_IO_getwline): Likewise.
3820         (_IO_getwline_info): Likewise.
3821         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3822         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3823         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3824         (find_entry): Likewise.
3825         (iterate_table): Likewise.
3826         (lookup): Likewise.
3827         * login/forkpty.c (forkpty): Likewise.
3828         * misc/hsearch_r.c (__hsearch_r): Likewise.
3829         * misc/select.c (__select): Likewise.
3830         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3831         Likewise.
3832         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3833         Likewise.
3834         * nptl/old_pthread_cond_timedwait.c
3835         (__pthread_cond_timedwait_2_0): Likewise.
3836         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3837         * nptl/pthread_barrierattr_getpshared.c
3838         (pthread_barrierattr_getpshared): Likewise.
3839         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3840         Likewise.
3841         * nptl/pthread_mutex_setprioceiling.c
3842         (pthread_mutex_setprioceiling): Likewise.
3843         * nptl/pthread_mutexattr_getprioceiling.c
3844         (pthread_mutexattr_getprioceiling): Likewise.
3845         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3846         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3847         Likewise.
3848         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3849         Likewise.
3850         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3851         Likewise.
3852         * socket/recvfrom.c (__recvfrom): Likewise.
3853         * socket/sendto.c (__sendto): Likewise.
3854         * socket/setsockopt.c (__setsockopt): Likewise.
3855         * stdio-common/_itoa.c (_itoa): Likewise.
3856         * stdio-common/_itowa.c (_itowa): Likewise.
3857         * stdio-common/reg-printf.c (__register_printf_specifier):
3858         Likewise.
3859         (__register_printf_function): Likewise.
3860         * stdio-common/tempname.c (__path_search): Likewise.
3861         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3862         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3863         * stdlib/random_r.c (__initstate_r): Likewise.
3864         * stdlib/setenv.c (__add_to_environ): Likewise.
3865         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3866         * streams/getpmsg.c (getpmsg): Likewise.
3867         * streams/putmsg.c (putmsg): Likewise.
3868         * streams/putpmsg.c (putpmsg): Likewise.
3869         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3870         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3871         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3872         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3873         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3874         * sunrpc/svc_udp.c (cache_get): Likewise.
3875         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3876         * sysdeps/mach/hurd/getcwd.c
3877         (__canonicalize_directory_name_internal): Likewise.
3878         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3879         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3880         * sysdeps/mach/hurd/select.c (__select): Likewise.
3881         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3882         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3883         * sysdeps/sparc/nptl/pthread_barrier_init.c
3884         (__pthread_barrier_init): Likewise.
3885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3886         (__pthread_cond_timedwait): Likewise.
3887         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3888         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3889         Likewise.
3890         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3891         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3892         Likewise.
3893         * sysvipc/semtimedop.c (semtimedop): Likewise.
3894         * time/setitimer.c (__setitimer): Likewise.
3895         * time/strftime_l.c (emacs_strftime): Likewise.
3897 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3899         * config.make.in (have-ssp): Delete.
3900         (stack-protector): New variable.
3901         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3902         cache test for -fstack-protector-strong.  Export stack_protector to
3903         the best ssp flag.
3904         * configure: Regenerated.
3905         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3906         * nscd/Makefile (CFLAGS-nscd): Likewise.
3907         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3909 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3911         [BZ #19122]
3912         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3913         attribute_hidden.
3915 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3917         [BZ #18743]
3918         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3919         code to...
3920         (ELIDE_LOCK): ...here.
3921         (__get_new_count): New function with part of the code from
3922         __elide_lock that updates the value of adapt_count after a
3923         transaction abort.
3924         (__elided_trylock): Moved this code to...
3925         (ELIDE_TRYLOCK): ...here.
3927 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3929         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3930         * configure: Regenerate.
3931         * INSTALL: Regenerate.
3932         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3933         and tweak grammar.
3935 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3937         * login/programs/pt_chown.c: Include signal.h
3938         (main): Clear any signal mask from the parent process.
3940 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3942         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3943         * configure: Regenerated.
3944         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3945         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3946         $(gnu89-inline-CFLAGS).
3948         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3949         test.
3950         (libc_cv_asm_weakext_directive): Likewise.
3951         * configure: Regenerated.
3952         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3953         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3954         * include/libc-symbols.h
3955         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3956         #error.
3957         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3958         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3960         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3961         prototype-style function definition.
3962         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3963         * sysdeps/i386/ffs.c (__ffs): Likewise.
3964         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3965         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3966         Likewise.
3967         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3968         Likewise.
3969         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3970         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3971         Likewise.
3972         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3973         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3974         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3975         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3976         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3977         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3978         * sysdeps/mach/hurd/access.c (__access): Likewise.
3979         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3980         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3981         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3982         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3983         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3984         (cthread_getspecific): Likewise.
3985         (cthread_setspecific): Likewise.
3986         (__libc_getspecific): Likewise.
3987         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3988         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3989         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3990         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3991         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3992         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3993         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3994         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3995         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3996         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3997         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3998         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3999         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4000         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4001         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4002         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4003         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4004         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4005         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4006         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4007         * sysdeps/mach/hurd/link.c (__link): Likewise.
4008         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4009         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4010         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4011         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4012         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4013         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4014         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4015         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4016         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4017         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4018         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4019         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4020         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4021         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4022         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4023         * sysdeps/mach/hurd/send.c (__send): Likewise.
4024         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4025         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4026         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4027         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4028         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4029         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4030         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4031         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4032         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4033         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4034         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4035         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4036         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4037         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4038         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4039         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4040         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4041         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4042         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4043         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4044         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4045         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4046         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4047         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4048         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4049         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4050         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4051         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4052         * sysdeps/posix/alarm.c (alarm): Likewise.
4053         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4054         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4055         * sysdeps/posix/dup.c (__dup): Likewise.
4056         * sysdeps/posix/dup2.c (__dup2): Likewise.
4057         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4058         (main): Likewise.
4059         * sysdeps/posix/flock.c (__flock): Likewise.
4060         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4061         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4062         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4063         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4064         * sysdeps/posix/isatty.c (__isatty): Likewise.
4065         * sysdeps/posix/killpg.c (killpg): Likewise.
4066         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4067         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4068         * sysdeps/posix/raise.c (raise): Likewise.
4069         * sysdeps/posix/remove.c (remove): Likewise.
4070         * sysdeps/posix/rename.c (rename): Likewise.
4071         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4072         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4073         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4074         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4075         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4076         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4077         * sysdeps/posix/sigset.c (sigset): Likewise.
4078         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4079         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4080         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4081         * sysdeps/posix/time.c (time): Likewise.
4082         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4083         (ttyname): Likewise.
4084         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4085         * sysdeps/posix/utime.c (utime): Likewise.
4086         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4087         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4088         Likewise.
4089         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4090         (pthread_spin_trylock): Likewise.
4091         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4092         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4093         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4094         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4095         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4096         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4097         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4098         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4099         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4100         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4101         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4102         * sysdeps/s390/ffs.c (__ffs): Likewise.
4103         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4104         Likewise.
4105         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4106         Likewise.
4107         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4108         Likewise.
4109         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4110         (pthread_barrier_destroy): Likewise.
4111         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4112         (__pthread_barrier_wait): Likewise.
4113         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4114         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4115         (__pthread_barrier_wait): Likewise.
4116         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4117         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4118         (memcmp_not_common_alignment): Likewise.
4119         (MEMCMP): Likewise.
4120         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4121         (_wordcopy_fwd_dest_aligned): Likewise.
4122         (_wordcopy_bwd_aligned): Likewise.
4123         (_wordcopy_bwd_dest_aligned): Likewise.
4124         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4125         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4126         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4127         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4128         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4129         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4130         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4131         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4132         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4133         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4134         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4135         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4136         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4137         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4138         * sysdeps/unix/stime.c (stime): Likewise.
4139         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4140         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4141         Likewise.  Use internal_function.
4142         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4143         Convert to prototype-style function definition.
4144         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4145         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4146         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4147         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4148         Likewise.  Use internal_function.
4149         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4150         prototype-style function definition
4151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4152         Likewise.
4153         (__getlogin_r): Likewise.
4154         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4156         (__pthread_cond_broadcast): Likewise.
4157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4158         (__pthread_cond_destroy): Likewise.
4159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4160         (__pthread_cond_init): Likewise.
4161         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4162         (__pthread_cond_signal): Likewise.
4163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4164         (__pthread_cond_wait): Likewise.
4165         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4166         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4167         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4168         Likewise.
4169         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4170         Likewise.
4171         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4172         Likewise.
4173         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4177         (__ftruncate64): Likewise.
4178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4179         (truncate64): Likewise.
4180         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4181         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4182         (pthread_getcpuclockid): Likewise.
4183         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4184         Likewise.
4185         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4186         Likewise.
4187         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4188         Likewise.
4189         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4190         Likewise.
4191         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4192         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4193         (__libc_sigaction): Likewise.
4194         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4195         Likewise.
4196         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4197         (__sigprocmask): Likewise.
4198         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4199         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4200         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4202         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4203         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4204         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4205         Likewise.
4206         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4207         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4208         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4209         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4211         Likewise.
4212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4213         (__sigprocmask): Likewise.
4214         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4215         (cfgetispeed): Likewise.
4216         (cfsetospeed): Likewise.
4217         (cfsetispeed): Likewise.
4218         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4219         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4220         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4221         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4222         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4223         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4224         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4225         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4226         Likewise.
4227         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4230         Likewise.
4231         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4232         Likewise.
4233         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4235 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4237         sunrpc: Rewrite with explicit TLS access using __thread.
4238         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4239         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4240         directly.
4241         (__rpc_thread_variables): Access thread_rpc_vars directly.
4242         Eliminate redundant assignment of the tvp variable.
4244 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4246         malloc: Rewrite with explicit TLS access using __thread.
4247         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4248         (tsd_setspecific, tsd_getspecific): Remove.
4249         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4250         (tsd_setspecific, tsd_getspecific): Likewise.
4251         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4252         (tsd_setspecific, tsd_getspecific): Likewise.
4253         * malloc/arena.c (thread_arena): New TLS variable.
4254         (arena_key): Remove variable.
4255         (arena_get): Use thread_arena.
4256         (arena_lookup): Remove macro.
4257         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4258         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4259         (_int_new_arena, get_free_list, reused_arena)
4260         (arena_thread_freeres): Use thread_arena.
4261         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4262         tsd_getspecific, tsd_setspecific from safety annotations.
4263         (Allocating Cleared Space): Remove arena_lookup from safety
4264         annotations.
4266 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4268         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4269         struct scratch_buffer instead of extend_alloca.
4271 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4273         * sysdeps/unix/sysv/linux/kernel-features.h
4274         (__ASSUME_SOCK_CLOEXEC): Remove.
4275         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4276         (__have_paccept): Remove unused macro.
4277         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4278         * misc/syslog.c (openlog_internal): Remove fallback code for
4279         !__ASSUME_SOCK_CLOEXEC.
4280         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4281         missing SOCK_CLOEXEC.
4282         * nscd/connections.c (have_sock_cloexec): Remove definition.
4283         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4284         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4285         !__ASSUME_SOCK_CLOEXEC.
4286         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4287         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4288         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4289         definition.
4290         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4291         code for !__ASSUME_SOCK_CLOEXEC.
4293 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4295         [BZ #18982]
4296         * manual/stdio.texi (Variable Arguments Output): Add portability
4297         note, explaining that vfprintf clobbers the va_list pointer.
4299 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4301         * math/libm-test.inc (fabs_test_data): Add more tests.
4302         (fdim_test_data): Likewise.
4303         (fma_test_data): Likewise.
4304         (fmax_test_data): Likewise.
4305         (fmin_test_data): Likewise.
4306         (fmod_test_data): Likewise.
4308 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4310         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4311         data.
4313 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4315         * math/libm-test.inc (ceil_test_data): Add more tests and more
4316         expectations for "inexact".
4317         (floor_test_data): Add more tests.
4318         (round_test_data): Likewise.
4319         (trunc_test_data): Likewise.
4321         * crypt/cert.c (good_bye): Convert to prototype-style function
4322         definition.
4323         (get8): Likewise.
4324         (put8): Likewise.
4325         * crypt/crypt-entry.c (crypt): Likewise.
4326         (__fcrypt): Likewise.
4327         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4328         (_ufc_set_bits): Likewise.
4329         (_ufc_clearmem): Likewise.
4330         (__init_des_r): Likewise.
4331         (shuffle_sb): Likewise.
4332         (shuffle_sb): Likewise.
4333         (_ufc_setup_salt_r): Likewise.
4334         (_ufc_mk_keytab_r): Likewise.
4335         (_ufc_dofinalperm_r): Likewise.
4336         (encrypt): Likewise.
4337         (__setkey_r): Likewise.
4338         (setkey): Likewise.
4339         * crypt/md5.c (md5_init_ctx): Likewise.
4340         (md5_read_ctx): Likewise.
4341         (md5_finish_ctx): Likewise.
4342         (md5_stream): Likewise.
4343         (md5_buffer): Likewise.
4344         (md5_process_bytes): Likewise.
4345         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4346         (__sha256_finish_ctx): Likewise.
4347         (__sha256_process_bytes): Likewise.
4348         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4349         (__sha512_finish_ctx): Likewise.
4350         (__sha512_process_bytes): Likewise.
4351         * ctype/isctype.c (__isctype): Likewise.
4352         * debug/backtrace.c (__backtrace): Likewise.
4353         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4354         * debug/fgets_chk.c (__fgets_chk): Likewise.
4355         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4356         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4357         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4358         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4359         * debug/memset_chk.c (__memset_chk): Likewise.
4360         * debug/strcat_chk.c (__strcat_chk): Likewise.
4361         * debug/strncat_chk.c (__strncat_chk): Likewise.
4362         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4363         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4364         * dirent/dirfd.c (dirfd): Likewise.
4365         * dirent/getdents.c (__getdirentries): Likewise.
4366         * dirent/getdents64.c (getdirentries64): Likewise.
4367         * dirent/rewinddir.c (__rewinddir): Likewise.
4368         * dirent/seekdir.c (seekdir): Likewise.
4369         * dirent/telldir.c (telldir): Likewise.
4370         * elf/sln.c (makesymlinks): Likewise.
4371         (makesymlink): Likewise.
4372         * gmon/gmon.c (__moncontrol): Likewise.
4373         (__monstartup): Likewise.
4374         (write_hist): Likewise.
4375         (write_call_graph): Likewise.
4376         (write_bb_counts): Likewise.
4377         * grp/setgroups.c (setgroups): Likewise.
4378         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4379         * inet/inet_net.c (inet_network): Likewise.
4380         * inet/inet_netof.c (inet_netof): Likewise.
4381         * inet/rcmd.c (rresvport_af): Likewise.
4382         (rresvport): Likewise.
4383         * io/access.c (__access): Likewise.
4384         * io/chdir.c (__chdir): Likewise.
4385         * io/chmod.c (__chmod): Likewise.
4386         * io/chown.c (__chown): Likewise.
4387         * io/close.c (__close): Likewise.
4388         * io/creat.c (creat): Likewise.
4389         * io/creat64.c (creat64): Likewise.
4390         * io/dup.c (__dup): Likewise.
4391         * io/dup2.c (__dup2): Likewise.
4392         * io/dup3.c (__dup3): Likewise.
4393         * io/euidaccess.c (__euidaccess): Likewise.
4394         * io/faccessat.c (faccessat): Likewise.
4395         * io/fchmod.c (__fchmod): Likewise.
4396         * io/fchmodat.c (fchmodat): Likewise.
4397         * io/fchown.c (__fchown): Likewise.
4398         * io/fchownat.c (fchownat): Likewise.
4399         * io/fcntl.c (__fcntl): Likewise.
4400         * io/flock.c (__flock): Likewise.
4401         * io/fts.c (fts_load): Likewise.
4402         (fts_close): Likewise.
4403         (fts_read): Likewise.
4404         (fts_set): Likewise.
4405         (fts_children): Likewise.
4406         (fts_build): Likewise.
4407         (fts_stat): Likewise.
4408         (fts_sort): Likewise.
4409         (fts_alloc): Likewise.
4410         (fts_lfree): Likewise.
4411         (fts_palloc): Likewise.
4412         (fts_padjust): Likewise.
4413         (fts_maxarglen): Likewise.
4414         (fts_safe_changedir): Likewise.
4415         * io/getwd.c (getwd): Likewise.
4416         * io/isatty.c (__isatty): Likewise.
4417         * io/lchown.c (__lchown): Likewise.
4418         * io/link.c (__link): Likewise.
4419         * io/linkat.c (linkat): Likewise.
4420         * io/lseek.c (__libc_lseek): Likewise.
4421         * io/mkdir.c (__mkdir): Likewise.
4422         * io/mkdirat.c (mkdirat): Likewise.
4423         * io/mkfifo.c (mkfifo): Likewise.
4424         * io/mkfifoat.c (mkfifoat): Likewise.
4425         * io/open.c (__libc_open): Likewise.
4426         * io/open64.c (__libc_open64): Likewise.
4427         * io/readlink.c (__readlink): Likewise.
4428         * io/readlinkat.c (readlinkat): Likewise.
4429         * io/rmdir.c (__rmdir): Likewise.
4430         * io/symlink.c (__symlink): Likewise.
4431         * io/symlinkat.c (symlinkat): Likewise.
4432         * io/ttyname.c (ttyname): Likewise.
4433         * io/ttyname_r.c (__ttyname_r): Likewise.
4434         * io/umask.c (__umask): Likewise.
4435         * io/unlink.c (__unlink): Likewise.
4436         * io/unlinkat.c (unlinkat): Likewise.
4437         * io/utime.c (utime): Likewise.
4438         * libio/clearerr.c (clearerr): Likewise.
4439         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4440         * libio/feof.c (_IO_feof): Likewise.
4441         * libio/feof_u.c (feof_unlocked): Likewise.
4442         * libio/ferror.c (_IO_ferror): Likewise.
4443         * libio/ferror_u.c (ferror_unlocked): Likewise.
4444         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4445         * libio/fileno.c (__fileno): Likewise.
4446         * libio/fputc.c (fputc): Likewise.
4447         * libio/fputc_u.c (fputc_unlocked): Likewise.
4448         * libio/fputwc.c (fputwc): Likewise.
4449         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4450         * libio/freopen.c (freopen): Likewise.
4451         * libio/freopen64.c (freopen64): Likewise.
4452         * libio/fseek.c (fseek): Likewise.
4453         * libio/fseeko.c (fseeko): Likewise.
4454         * libio/fseeko64.c (fseeko64): Likewise.
4455         * libio/ftello.c (__ftello): Likewise.
4456         * libio/ftello64.c (ftello64): Likewise.
4457         * libio/fwide.c (fwide): Likewise.
4458         * libio/genops.c (_IO_un_link): Likewise.
4459         (_IO_link_in): Likewise.
4460         (_IO_least_marker): Likewise.
4461         (_IO_switch_to_main_get_area): Likewise.
4462         (_IO_switch_to_backup_area): Likewise.
4463         (_IO_switch_to_get_mode): Likewise.
4464         (_IO_free_backup_area): Likewise.
4465         (_IO_switch_to_put_mode): Likewise.
4466         (__overflow): Likewise.
4467         (__underflow): Likewise.
4468         (__uflow): Likewise.
4469         (_IO_setb): Likewise.
4470         (_IO_doallocbuf): Likewise.
4471         (_IO_default_underflow): Likewise.
4472         (_IO_default_uflow): Likewise.
4473         (_IO_default_xsputn): Likewise.
4474         (_IO_sgetn): Likewise.
4475         (_IO_default_xsgetn): Likewise.
4476         (_IO_sync): Likewise.
4477         (_IO_default_setbuf): Likewise.
4478         (_IO_default_seekpos): Likewise.
4479         (_IO_default_doallocate): Likewise.
4480         (_IO_init): Likewise.
4481         (_IO_old_init): Likewise.
4482         (_IO_default_sync): Likewise.
4483         (_IO_default_finish): Likewise.
4484         (_IO_default_seekoff): Likewise.
4485         (_IO_sputbackc): Likewise.
4486         (_IO_sungetc): Likewise.
4487         (_IO_set_column): Likewise.
4488         (_IO_set_column): Likewise.
4489         (_IO_adjust_column): Likewise.
4490         (_IO_get_column): Likewise.
4491         (_IO_init_marker): Likewise.
4492         (_IO_remove_marker): Likewise.
4493         (_IO_marker_difference): Likewise.
4494         (_IO_marker_delta): Likewise.
4495         (_IO_seekmark): Likewise.
4496         (_IO_unsave_markers): Likewise.
4497         (_IO_nobackup_pbackfail): Likewise.
4498         (_IO_default_pbackfail): Likewise.
4499         (_IO_default_seek): Likewise.
4500         (_IO_default_stat): Likewise.
4501         (_IO_default_read): Likewise.
4502         (_IO_default_write): Likewise.
4503         (_IO_default_showmanyc): Likewise.
4504         (_IO_default_imbue): Likewise.
4505         (_IO_iter_next): Likewise.
4506         (_IO_iter_file): Likewise.
4507         * libio/getc.c (_IO_getc): Likewise.
4508         * libio/getwc.c (_IO_getwc): Likewise.
4509         * libio/iofclose.c (_IO_new_fclose): Likewise.
4510         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4511         * libio/iofflush.c (_IO_fflush): Likewise.
4512         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4513         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4514         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4515         * libio/iofgets.c (_IO_fgets): Likewise.
4516         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4517         * libio/iofgetws.c (fgetws): Likewise.
4518         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4519         * libio/iofopen64.c (_IO_fopen64): Likewise.
4520         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4521         (_IO_cookie_write): Likewise.
4522         (_IO_cookie_seek): Likewise.
4523         (_IO_cookie_close): Likewise.
4524         (_IO_cookie_seekoff): Likewise.
4525         (_IO_old_cookie_seek): Likewise.
4526         * libio/iofputs.c (_IO_fputs): Likewise.
4527         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4528         * libio/iofputws.c (fputws): Likewise.
4529         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4530         * libio/iofread.c (_IO_fread): Likewise.
4531         * libio/iofread_u.c (__fread_unlocked): Likewise.
4532         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4533         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4534         * libio/ioftell.c (_IO_ftell): Likewise.
4535         * libio/iofwrite.c (_IO_fwrite): Likewise.
4536         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4537         * libio/iogets.c (_IO_gets): Likewise.
4538         * libio/iopadn.c (_IO_padn): Likewise.
4539         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4540         (_IO_new_popen): Likewise.
4541         (_IO_new_proc_close): Likewise.
4542         * libio/ioputs.c (_IO_puts): Likewise.
4543         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4544         (_IO_seekoff): Likewise.
4545         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4546         (_IO_seekpos): Likewise.
4547         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4548         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4549         * libio/ioungetc.c (_IO_ungetc): Likewise.
4550         * libio/ioungetwc.c (ungetwc): Likewise.
4551         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4552         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4553         * libio/iowpadn.c (_IO_wpadn): Likewise.
4554         * libio/libc_fatal.c (__libc_fatal): Likewise.
4555         * libio/memstream.c (__open_memstream): Likewise.
4556         (_IO_mem_sync): Likewise.
4557         (_IO_mem_finish): Likewise.
4558         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4559         (_IO_old_file_close_it): Likewise.
4560         (_IO_old_file_finish): Likewise.
4561         (_IO_old_file_fopen): Likewise.
4562         (_IO_old_file_attach): Likewise.
4563         (_IO_old_file_setbuf): Likewise.
4564         (_IO_old_do_write): Likewise.
4565         (old_do_write): Likewise.
4566         (_IO_old_file_underflow): Likewise.
4567         (_IO_old_file_overflow): Likewise.
4568         (_IO_old_file_sync): Likewise.
4569         (_IO_old_file_seekoff): Likewise.
4570         (_IO_old_file_write): Likewise.
4571         (_IO_old_file_xsputn): Likewise.
4572         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4573         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4574         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4575         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4576         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4577         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4578         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4579         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4580         (_IO_old_popen): Likewise.
4581         (_IO_old_proc_close): Likewise.
4582         * libio/oldpclose.c (__old_pclose): Likewise.
4583         * libio/pclose.c (__new_pclose): Likewise.
4584         * libio/peekc.c (_IO_peekc_locked): Likewise.
4585         * libio/putc.c (_IO_putc): Likewise.
4586         * libio/putc_u.c (putc_unlocked): Likewise.
4587         * libio/putchar.c (putchar): Likewise.
4588         * libio/putchar_u.c (putchar_unlocked): Likewise.
4589         * libio/putwc.c (putwc): Likewise.
4590         * libio/putwc_u.c (putwc_unlocked): Likewise.
4591         * libio/putwchar.c (putwchar): Likewise.
4592         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4593         * libio/rewind.c (rewind): Likewise.
4594         * libio/setbuf.c (setbuf): Likewise.
4595         * libio/setlinebuf.c (setlinebuf): Likewise.
4596         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4597         * libio/vscanf.c (_IO_vscanf): Likewise.
4598         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4599         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4600         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4601         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4602         (_IO_switch_to_main_wget_area): Likewise.
4603         (_IO_switch_to_wbackup_area): Likewise.
4604         (_IO_wsetb): Likewise.
4605         (_IO_wdefault_pbackfail): Likewise.
4606         (_IO_wdefault_finish): Likewise.
4607         (_IO_wdefault_uflow): Likewise.
4608         (__woverflow): Likewise.
4609         (__wuflow): Likewise.
4610         (__wunderflow): Likewise.
4611         (_IO_wdefault_xsputn): Likewise.
4612         (_IO_wdefault_xsgetn): Likewise.
4613         (_IO_wdoallocbuf): Likewise.
4614         (_IO_wdefault_doallocate): Likewise.
4615         (_IO_switch_to_wget_mode): Likewise.
4616         (_IO_free_wbackup_area): Likewise.
4617         (_IO_switch_to_wput_mode): Likewise.
4618         (_IO_sputbackwc): Likewise.
4619         (_IO_sungetwc): Likewise.
4620         (_IO_adjust_wcolumn): Likewise.
4621         (_IO_init_wmarker): Likewise.
4622         (_IO_wmarker_delta): Likewise.
4623         (_IO_seekwmark): Likewise.
4624         (_IO_unsave_wmarkers): Likewise.
4625         * libio/wmemstream.c (open_wmemstream): Likewise.
4626         (_IO_wmem_sync): Likewise.
4627         (_IO_wmem_finish): Likewise.
4628         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4629         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4630         * locale/programs/simple-hash.c (init_hash): Likewise.
4631         (delete_hash): Likewise.
4632         (insert_entry): Likewise.
4633         (set_entry): Likewise.
4634         (next_prime): Likewise.
4635         (is_prime): Likewise.
4636         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4637         (xmalloc): Likewise.
4638         (xrealloc): Likewise.
4639         * locale/programs/xstrdup.c (xstrdup): Likewise.
4640         * localedata/collate-test.c (xstrcoll): Likewise.
4641         * localedata/xfrm-test.c (xstrcmp): Likewise.
4642         * login/getlogin_r.c (__getlogin_r): Likewise.
4643         * login/getpt.c (__posix_openpt): Likewise.
4644         * login/login_tty.c (login_tty): Likewise.
4645         * login/setlogin.c (setlogin): Likewise.
4646         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4647         (mach_msg_destroy_port): Likewise.
4648         (mach_msg_destroy_memory): Likewise.
4649         * malloc/mcheck.c (flood): Likewise.
4650         * misc/acct.c (acct): Likewise.
4651         * misc/brk.c (__brk): Likewise.
4652         * misc/chflags.c (chflags): Likewise.
4653         * misc/chroot.c (chroot): Likewise.
4654         * misc/fchflags.c (fchflags): Likewise.
4655         * misc/fstab.c (getfsspec): Likewise.
4656         (getfsfile): Likewise.
4657         * misc/fsync.c (fsync): Likewise.
4658         * misc/ftruncate.c (__ftruncate): Likewise.
4659         * misc/ftruncate64.c (__ftruncate64): Likewise.
4660         * misc/getdomain.c (getdomainname): Likewise.
4661         (getdomainname): Likewise.
4662         * misc/gethostname.c (__gethostname): Likewise.
4663         * misc/getpass.c (getpass): Likewise.
4664         * misc/getttyent.c (skip): Likewise.
4665         (value): Likewise.
4666         * misc/gtty.c (gtty): Likewise.
4667         * misc/hsearch.c (hsearch): Likewise.
4668         (hcreate): Likewise.
4669         * misc/hsearch_r.c (__hcreate_r): Likewise.
4670         (__hdestroy_r): Likewise.
4671         * misc/ioctl.c (__ioctl): Likewise.
4672         * misc/mkdtemp.c (mkdtemp): Likewise.
4673         * misc/mkostemp.c (mkostemp): Likewise.
4674         * misc/mkostemp64.c (mkostemp64): Likewise.
4675         * misc/mkostemps.c (mkostemps): Likewise.
4676         * misc/mkostemps64.c (mkostemps64): Likewise.
4677         * misc/mkstemp.c (mkstemp): Likewise.
4678         * misc/mkstemp64.c (mkstemp64): Likewise.
4679         * misc/mkstemps.c (mkstemps): Likewise.
4680         * misc/mkstemps64.c (mkstemps64): Likewise.
4681         * misc/mktemp.c (__mktemp): Likewise.
4682         * misc/preadv.c (preadv): Likewise.
4683         * misc/preadv64.c (preadv64): Likewise.
4684         * misc/pwritev.c (pwritev): Likewise.
4685         * misc/pwritev64.c (pwritev64): Likewise.
4686         * misc/readv.c (__readv): Likewise.
4687         * misc/revoke.c (revoke): Likewise.
4688         * misc/setdomain.c (setdomainname): Likewise.
4689         * misc/setegid.c (setegid): Likewise.
4690         * misc/seteuid.c (seteuid): Likewise.
4691         * misc/sethostid.c (sethostid): Likewise.
4692         * misc/sethostname.c (sethostname): Likewise.
4693         * misc/setregid.c (__setregid): Likewise.
4694         * misc/setreuid.c (__setreuid): Likewise.
4695         * misc/sstk.c (sstk): Likewise.
4696         * misc/stty.c (stty): Likewise.
4697         * misc/syscall.c (syscall): Likewise.
4698         * misc/syslog.c (setlogmask): Likewise.
4699         * misc/truncate.c (__truncate): Likewise.
4700         * misc/truncate64.c (truncate64): Likewise.
4701         * misc/ualarm.c (ualarm): Likewise.
4702         * misc/usleep.c (usleep): Likewise.
4703         * misc/ustat.c (ustat): Likewise.
4704         * misc/writev.c (__writev): Likewise.
4705         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4706         * nptl/old_pthread_cond_broadcast.c
4707         (__pthread_cond_broadcast_2_0): Likewise.
4708         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4709         Likewise.
4710         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4711         Likewise.
4712         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4713         Likewise.
4714         * nptl/pt-raise.c (raise): Likewise.
4715         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4716         Likewise.
4717         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4718         * nptl/pthread_barrierattr_destroy.c
4719         (pthread_barrierattr_destroy): Likewise.
4720         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4721         Likewise.
4722         * nptl/pthread_barrierattr_setpshared.c
4723         (pthread_barrierattr_setpshared): Likewise.
4724         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4725         Likewise.
4726         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4727         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4728         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4729         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4730         Likewise.
4731         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4732         Likewise.
4733         * nptl/pthread_condattr_getpshared.c
4734         (pthread_condattr_getpshared): Likewise.
4735         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4736         Likewise.
4737         * nptl/pthread_condattr_setpshared.c
4738         (pthread_condattr_setpshared): Likewise.
4739         * nptl/pthread_detach.c (pthread_detach): Likewise.
4740         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4741         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4742         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4743         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4744         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4745         Likewise.
4746         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4747         Likewise.
4748         * nptl/pthread_mutex_getprioceiling.c
4749         (pthread_mutex_getprioceiling): Likewise.
4750         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4751         Likewise.
4752         * nptl/pthread_mutexattr_getprotocol.c
4753         (pthread_mutexattr_getprotocol): Likewise.
4754         * nptl/pthread_mutexattr_getpshared.c
4755         (pthread_mutexattr_getpshared): Likewise.
4756         * nptl/pthread_mutexattr_getrobust.c
4757         (pthread_mutexattr_getrobust): Likewise.
4758         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4759         Likewise.
4760         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4761         Likewise.
4762         * nptl/pthread_mutexattr_setprioceiling.c
4763         (pthread_mutexattr_setprioceiling): Likewise.
4764         * nptl/pthread_mutexattr_setprotocol.c
4765         (pthread_mutexattr_setprotocol): Likewise.
4766         * nptl/pthread_mutexattr_setpshared.c
4767         (pthread_mutexattr_setpshared): Likewise.
4768         * nptl/pthread_mutexattr_setrobust.c
4769         (pthread_mutexattr_setrobust): Likewise.
4770         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4771         Likewise.
4772         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4773         Likewise.
4774         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4775         Likewise.
4776         * nptl/pthread_rwlockattr_getkind_np.c
4777         (pthread_rwlockattr_getkind_np): Likewise.
4778         * nptl/pthread_rwlockattr_getpshared.c
4779         (pthread_rwlockattr_getpshared): Likewise.
4780         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4781         Likewise.
4782         * nptl/pthread_rwlockattr_setkind_np.c
4783         (pthread_rwlockattr_setkind_np): Likewise.
4784         * nptl/pthread_rwlockattr_setpshared.c
4785         (pthread_rwlockattr_setpshared): Likewise.
4786         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4787         Likewise.
4788         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4789         Likewise.
4790         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4791         Likewise.
4792         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4793         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4794         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4795         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4796         * nptl/sem_close.c (sem_close): Likewise.
4797         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4798         * nptl/sem_init.c (__old_sem_init): Likewise.
4799         * nptl/sigaction.c (__sigaction): Likewise.
4800         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4801         * posix/_exit.c (_exit): Likewise.
4802         * posix/alarm.c (alarm): Likewise.
4803         * posix/confstr.c (confstr): Likewise.
4804         * posix/fpathconf.c (__fpathconf): Likewise.
4805         * posix/getgroups.c (__getgroups): Likewise.
4806         * posix/getpgid.c (__getpgid): Likewise.
4807         * posix/group_member.c (__group_member): Likewise.
4808         * posix/pathconf.c (__pathconf): Likewise.
4809         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4810         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4811         * posix/setgid.c (__setgid): Likewise.
4812         * posix/setpgid.c (__setpgid): Likewise.
4813         * posix/setuid.c (__setuid): Likewise.
4814         * posix/sleep.c (__sleep): Likewise.
4815         * posix/sysconf.c (__sysconf): Likewise.
4816         * posix/times.c (__times): Likewise.
4817         * posix/uname.c (__uname): Likewise.
4818         * posix/waitid.c (__waitid): Likewise.
4819         * pwd/getpw.c (__getpw): Likewise.
4820         * resolv/base64.c (b64_pton): Likewise.
4821         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4822         * resolv/gethnamaddr.c (Dprintf): Likewise.
4823         (gethostbyname): Likewise.
4824         (gethostbyname2): Likewise.
4825         (gethostbyaddr): Likewise.
4826         (_sethtent): Likewise.
4827         (_gethtbyname): Likewise.
4828         (_gethtbyname2): Likewise.
4829         (_gethtbyaddr): Likewise.
4830         (map_v4v6_address): Likewise.
4831         (map_v4v6_hostent): Likewise.
4832         (addrsort): Likewise.
4833         (ht_sethostent): Likewise.
4834         (ht_gethostbyname): Likewise.
4835         (ht_gethostbyaddr): Likewise.
4836         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4837         (inet_net_ntop_ipv4): Likewise.
4838         * resolv/inet_neta.c (inet_neta): Likewise.
4839         * resolv/inet_ntop.c (inet_ntop): Likewise.
4840         (inet_ntop4): Likewise.
4841         (inet_ntop6): Likewise.
4842         * resolv/inet_pton.c (__inet_pton): Likewise.
4843         (inet_pton4): Likewise.
4844         (inet_pton6): Likewise.
4845         * resolv/res_debug.c (loc_aton): Likewise.
4846         (loc_ntoa): Likewise.
4847         * resource/getpriority.c (__getpriority): Likewise.
4848         * resource/getrusage.c (__getrusage): Likewise.
4849         * resource/nice.c (nice): Likewise.
4850         * resource/setpriority.c (__setpriority): Likewise.
4851         * resource/setrlimit64.c (setrlimit64): Likewise.
4852         * resource/vlimit.c (vlimit): Likewise.
4853         * resource/vtimes.c (vtimes): Likewise.
4854         * rt/aio_error.c (aio_error): Likewise.
4855         * rt/aio_return.c (aio_return): Likewise.
4856         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4857         * signal/kill.c (__kill): Likewise.
4858         * signal/killpg.c (killpg): Likewise.
4859         * signal/raise.c (raise): Likewise.
4860         * signal/sigaction.c (__sigaction): Likewise.
4861         * signal/sigaddset.c (sigaddset): Likewise.
4862         * signal/sigaltstack.c (sigaltstack): Likewise.
4863         * signal/sigandset.c (sigandset): Likewise.
4864         * signal/sigblock.c (__sigblock): Likewise.
4865         * signal/sigdelset.c (sigdelset): Likewise.
4866         * signal/sigempty.c (sigemptyset): Likewise.
4867         * signal/sigfillset.c (sigfillset): Likewise.
4868         * signal/sighold.c (sighold): Likewise.
4869         * signal/sigignore.c (sigignore): Likewise.
4870         * signal/sigintr.c (siginterrupt): Likewise.
4871         * signal/sigisempty.c (sigisemptyset): Likewise.
4872         * signal/sigismem.c (sigismember): Likewise.
4873         * signal/signal.c (signal): Likewise.
4874         * signal/sigorset.c (sigorset): Likewise.
4875         * signal/sigpause.c (__sigpause): Likewise.
4876         * signal/sigpending.c (sigpending): Likewise.
4877         * signal/sigprocmask.c (__sigprocmask): Likewise.
4878         * signal/sigrelse.c (sigrelse): Likewise.
4879         * signal/sigreturn.c (__sigreturn): Likewise.
4880         * signal/sigset.c (sigset): Likewise.
4881         * signal/sigsetmask.c (__sigsetmask): Likewise.
4882         * signal/sigstack.c (sigstack): Likewise.
4883         * signal/sigsuspend.c (__sigsuspend): Likewise.
4884         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4885         * signal/sysv_signal.c (__sysv_signal): Likewise.
4886         * socket/accept.c (accept): Likewise.
4887         * socket/accept4.c (__libc_accept4): Likewise.
4888         * socket/bind.c (__bind): Likewise.
4889         * socket/connect.c (__connect): Likewise.
4890         * socket/getpeername.c (getpeername): Likewise.
4891         * socket/getsockname.c (__getsockname): Likewise.
4892         * socket/getsockopt.c (getsockopt): Likewise.
4893         * socket/listen.c (__listen): Likewise.
4894         * socket/recv.c (__recv): Likewise.
4895         * socket/recvmsg.c (__recvmsg): Likewise.
4896         * socket/send.c (__send): Likewise.
4897         * socket/sendmsg.c (__sendmsg): Likewise.
4898         * socket/shutdown.c (shutdown): Likewise.
4899         * socket/sockatmark.c (sockatmark): Likewise.
4900         * socket/socket.c (__socket): Likewise.
4901         * stdio-common/ctermid.c (ctermid): Likewise.
4902         * stdio-common/cuserid.c (cuserid): Likewise.
4903         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4904         * stdio-common/remove.c (remove): Likewise.
4905         * stdio-common/rename.c (rename): Likewise.
4906         * stdio-common/renameat.c (renameat): Likewise.
4907         * stdio-common/tempname.c (__gen_tempname): Likewise.
4908         * stdio-common/xbug.c (InitBuffer): Likewise.
4909         (AppendToBuffer): Likewise.
4910         (ReadFile): Likewise.
4911         * stdlib/a64l.c (a64l): Likewise.
4912         * stdlib/drand48_r.c (drand48_r): Likewise.
4913         * stdlib/getcontext.c (getcontext): Likewise.
4914         * stdlib/getenv.c (getenv): Likewise.
4915         * stdlib/l64a.c (l64a): Likewise.
4916         * stdlib/llabs.c (llabs): Likewise.
4917         * stdlib/lldiv.c (lldiv): Likewise.
4918         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4919         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4920         * stdlib/putenv.c (putenv): Likewise.
4921         * stdlib/random.c (__srandom): Likewise.
4922         (__initstate): Likewise.
4923         (__setstate): Likewise.
4924         * stdlib/random_r.c (__srandom_r): Likewise.
4925         (__setstate_r): Likewise.
4926         (__random_r): Likewise.
4927         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4928         * stdlib/setcontext.c (setcontext): Likewise.
4929         * stdlib/setenv.c (setenv): Likewise.
4930         (unsetenv): Likewise.
4931         * stdlib/srand48.c (srand48): Likewise.
4932         * stdlib/srand48_r.c (__srand48_r): Likewise.
4933         * stdlib/swapcontext.c (swapcontext): Likewise.
4934         * stdlib/system.c (__libc_system): Likewise.
4935         * stdlib/tst-strtod.c (expand): Likewise.
4936         * stdlib/tst-strtol.c (expand): Likewise.
4937         * stdlib/tst-strtoll.c (expand): Likewise.
4938         * streams/fattach.c (fattach): Likewise.
4939         * streams/fdetach.c (fdetach): Likewise.
4940         * streams/getmsg.c (getmsg): Likewise.
4941         * streams/isastream.c (isastream): Likewise.
4942         * string/ffs.c (__ffs): Likewise.
4943         * string/ffsll.c (ffsll): Likewise.
4944         * string/memcmp.c (memcmp_common_alignment): Likewise.
4945         (memcmp_not_common_alignment): Likewise.
4946         (MEMCMP): Likewise.
4947         * string/memcpy.c (memcpy): Likewise.
4948         * string/memmove.c (MEMMOVE): Likewise.
4949         * string/memset.c (memset): Likewise.
4950         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4951         * string/strchrnul.c (STRCHRNUL): Likewise.
4952         * string/strerror.c (strerror): Likewise.
4953         * string/strndup.c (__strndup): Likewise.
4954         * string/strverscmp.c (__strverscmp): Likewise.
4955         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4956         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4957         (clnttcp_freeres): Likewise.
4958         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4959         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4960         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4961         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4962         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4963         (xdr_callhdr): Likewise.
4964         * sunrpc/rpcinfo.c (udpping): Likewise.
4965         (tcpping): Likewise.
4966         (pstatus): Likewise.
4967         (pmapdump): Likewise.
4968         (brdcst): Likewise.
4969         (deletereg): Likewise.
4970         (getprognum): Likewise.
4971         (getvers): Likewise.
4972         (get_inet_address): Likewise.
4973         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4974         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4975         (svcudp_stat): Likewise.
4976         (svcudp_recv): Likewise.
4977         (svcudp_reply): Likewise.
4978         (svcudp_getargs): Likewise.
4979         (svcudp_freeargs): Likewise.
4980         (svcudp_destroy): Likewise.
4981         * sunrpc/xdr.c (xdr_bytes): Likewise.
4982         (xdr_netobj): Likewise.
4983         (xdr_string): Likewise.
4984         (xdr_wrapstring): Likewise.
4985         * sunrpc/xdr_float.c (xdr_float): Likewise.
4986         (xdr_double): Likewise.
4987         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4988         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4989         * sysvipc/ftok.c (ftok): Likewise.
4990         * sysvipc/msgctl.c (msgctl): Likewise.
4991         * sysvipc/msgget.c (msgget): Likewise.
4992         * sysvipc/msgrcv.c (msgrcv): Likewise.
4993         * sysvipc/msgsnd.c (msgsnd): Likewise.
4994         * sysvipc/semget.c (semget): Likewise.
4995         * sysvipc/semop.c (semop): Likewise.
4996         * sysvipc/shmat.c (shmat): Likewise.
4997         * sysvipc/shmctl.c (shmctl): Likewise.
4998         * sysvipc/shmdt.c (shmdt): Likewise.
4999         * sysvipc/shmget.c (shmget): Likewise.
5000         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5001         * termios/speed.c (cfgetospeed): Likewise.
5002         (cfgetispeed): Likewise.
5003         (cfsetospeed): Likewise.
5004         (cfsetispeed): Likewise.
5005         * termios/tcflow.c (tcflow): Likewise.
5006         * termios/tcflush.c (tcflush): Likewise.
5007         * termios/tcgetattr.c (__tcgetattr): Likewise.
5008         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5009         * termios/tcgetsid.c (tcgetsid): Likewise.
5010         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5011         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5012         * time/adjtime.c (__adjtime): Likewise.
5013         * time/dysize.c (dysize): Likewise.
5014         * time/ftime.c (ftime): Likewise.
5015         * time/getitimer.c (__getitimer): Likewise.
5016         * time/gettimeofday.c (__gettimeofday): Likewise.
5017         * time/gmtime.c (__gmtime_r): Likewise.
5018         (gmtime): Likewise.
5019         * time/localtime.c (__localtime_r): Likewise.
5020         (localtime): Likewise.
5021         * time/offtime.c (__offtime): Likewise.
5022         * time/settimeofday.c (__settimeofday): Likewise.
5023         * time/stime.c (stime): Likewise.
5024         * time/strftime_l.c (tm_diff): Likewise.
5025         (iso_week_days): Likewise.
5026         * time/strptime.c (strptime): Likewise.
5027         * time/time.c (time): Likewise.
5028         * time/timespec_get.c (timespec_get): Likewise.
5029         * time/tzset.c (tzset_internal): Likewise.
5030         (compute_change): Likewise.
5031         (__tz_compute): Likewise.
5032         * wcsmbs/btowc.c (__btowc): Likewise.
5033         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5034         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5035         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5036         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5037         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5038         * wcsmbs/wcscat.c (__wcscat): Likewise.
5039         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5040         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5041         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5042         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5043         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5044         * wcsmbs/wcslen.c (__wcslen): Likewise.
5045         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5046         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5047         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5048         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5049         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5050         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5051         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5052         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5053         * wcsmbs/wcstok.c (wcstok): Likewise.
5054         * wcsmbs/wctob.c (wctob): Likewise.
5055         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5056         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5057         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5058         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5059         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5060         * wcsmbs/wmemset.c (__wmemset): Likewise.
5061         * wctype/wcfuncs.c (__towlower): Likewise.
5062         (__towupper): Likewise.
5064         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5065         (lll_unlock_elision): Add adapt_count parameter.
5067 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5069         * sysdeps/nptl/configure.ac: Do not give errors based on the
5070         results of top-level configure tests.
5071         * sysdeps/nptl/configure: Regenerated.
5073         * configure.ac (libc_cv_Bgroup): Remove configure test.
5074         * configure: Regenerated.
5075         * config.make.in (have-Bgroup): Remove variable.
5077         * configure.ac (sizeof_long_double): Remove configure test.
5078         * configure: Regenerated.
5079         * config.make.in (sizeof-long-double): Remove variable.
5081         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5082         * configure: Regenerated.
5083         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5084         variable.
5085         (exceptions): Likewise.
5086         * sysdeps/arm/configure: Regenerated.
5087         * config.make.in (exceptions): Remove variable.
5088         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5089         $(exceptions).
5090         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5091         (CFLAGS-vdprintf_chk.c): Likewise.
5092         (CFLAGS-printf_chk.c): Likewise.
5093         (CFLAGS-fprintf_chk.c): Likewise.
5094         (CFLAGS-vprintf_chk.c): Likewise.
5095         (CFLAGS-vfprintf_chk.c): Likewise.
5096         (CFLAGS-gets_chk.c): Likewise.
5097         (CFLAGS-fgets_chk.c): Likewise.
5098         (CFLAGS-fgets_u_chk.c): Likewise.
5099         (CFLAGS-fread_chk.c): Likewise.
5100         (CFLAGS-fread_u_chk.c): Likewise.
5101         (CFLAGS-wprintf_chk.c): Likewise.
5102         (CFLAGS-fwprintf_chk.c): Likewise.
5103         (CFLAGS-vwprintf_chk.c): Likewise.
5104         (CFLAGS-vfwprintf_chk.c): Likewise.
5105         (CFLAGS-fgetws_chk.c): Likewise.
5106         (CFLAGS-fgetws_u_chk.c): Likewise.
5107         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5108         (CFLAGS-fputc.c): Likewise.
5109         (CFLAGS-fputwc.c): Likewise.
5110         (CFLAGS-freopen64.c): Likewise.
5111         (CFLAGS-freopen.c): Likewise.
5112         (CFLAGS-fseek.c): Likewise.
5113         (CFLAGS-fseeko64.c): Likewise.
5114         (CFLAGS-fseeko.c): Likewise.
5115         (CFLAGS-ftello64.c): Likewise.
5116         (CFLAGS-ftello.c): Likewise.
5117         (CFLAGS-fwide.c): Likewise.
5118         (CFLAGS-genops.c): Likewise.
5119         (CFLAGS-getc.c): Likewise.
5120         (CFLAGS-getchar.c): Likewise.
5121         (CFLAGS-getwc.c): Likewise.
5122         (CFLAGS-getwchar.c): Likewise.
5123         (CFLAGS-iofclose.c): Likewise.
5124         (CFLAGS-iofflush.c): Likewise.
5125         (CFLAGS-iofgetpos64.c): Likewise.
5126         (CFLAGS-iofgetpos.c): Likewise.
5127         (CFLAGS-iofgets.c): Likewise.
5128         (CFLAGS-iofgetws.c): Likewise.
5129         (CFLAGS-iofputs.c): Likewise.
5130         (CFLAGS-iofputws.c): Likewise.
5131         (CFLAGS-iofread.c): Likewise.
5132         (CFLAGS-iofsetpos64.c): Likewise.
5133         (CFLAGS-iofsetpos.c): Likewise.
5134         (CFLAGS-ioftell.c): Likewise.
5135         (CFLAGS-iofwrite.c): Likewise.
5136         (CFLAGS-iogetdelim.c): Likewise.
5137         (CFLAGS-iogetline.c): Likewise.
5138         (CFLAGS-iogets.c): Likewise.
5139         (CFLAGS-iogetwline.c): Likewise.
5140         (CFLAGS-ioputs.c): Likewise.
5141         (CFLAGS-ioseekoff.c): Likewise.
5142         (CFLAGS-ioseekpos.c): Likewise.
5143         (CFLAGS-iosetbuffer.c): Likewise.
5144         (CFLAGS-iosetvbuf.c): Likewise.
5145         (CFLAGS-ioungetc.c): Likewise.
5146         (CFLAGS-ioungetwc.c): Likewise.
5147         (CFLAGS-oldfileops.c): Likewise.
5148         (CFLAGS-oldiofclose.c): Likewise.
5149         (CFLAGS-oldiofgetpos64.c): Likewise.
5150         (CFLAGS-oldiofgetpos.c): Likewise.
5151         (CFLAGS-oldiofsetpos64.c): Likewise.
5152         (CFLAGS-oldiofsetpos.c): Likewise.
5153         (CFLAGS-peekc.c): Likewise.
5154         (CFLAGS-putc.c): Likewise.
5155         (CFLAGS-putchar.c): Likewise.
5156         (CFLAGS-putwc.c): Likewise.
5157         (CFLAGS-putwchar.c): Likewise.
5158         (CFLAGS-rewind.c): Likewise.
5159         (CFLAGS-wfileops.c): Likewise.
5160         (CFLAGS-wgenops.c): Likewise.
5161         (CFLAGS-oldiofopen.c): Likewise.
5162         (CFLAGS-iofopen.c): Likewise.
5163         (CFLAGS-iofopen64.c): Likewise.
5164         (CFLAGS-oldtmpfile.c): Likewise.
5165         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5166         (CFLAGS-fprintf.c): Likewise.
5167         (CFLAGS-printf.c): Likewise.
5168         (CFLAGS-vfwprintf.c): Likewise.
5169         (CFLAGS-vfscanf.c): Likewise.
5170         (CFLAGS-vfwscanf.c): Likewise.
5171         (CFLAGS-fscanf.c): Likewise.
5172         (CFLAGS-scanf.c): Likewise.
5173         (CFLAGS-isoc99_vfscanf.c): Likewise.
5174         (CFLAGS-isoc99_vscanf.c): Likewise.
5175         (CFLAGS-isoc99_fscanf.c): Likewise.
5176         (CFLAGS-isoc99_scanf.c): Likewise.
5177         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5178         (CFLAGS-isoc99_fwscanf.c): Likewise.
5179         (CFLAGS-isoc99_vwscanf.c): Likewise.
5180         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5182         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5183         after mkstemp64.
5184         * login/tst-utmp.c (do_prepare): Likewise.
5185         * rt/tst-aio.c (do_prepare): Likewise.
5186         * rt/tst-aio64.c (do_prepare): Likewise.
5188 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5190         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5191         (__lll_lock_elision): Remove adapt_count decrement...
5192         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5193         (__lll_trylock_elision): Likewise.
5194         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5195         (__lll_unlock_elision): ... to here. And utilize
5196         new adapt_count parameter.
5197         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5198         (__lll_unlock_elision): Update to include adapt_count
5199         parameter.
5200         (lll_unlock_elision): Pass pointer to adapt_count
5201         variable.
5203 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5205         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5206         Add elision adapt_count parameter to list of arguments.
5207         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5208         (lll_unlock_elision): Update with new parameter list
5209         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5210         (lll_unlock_elision): Likewise.
5211         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5212         (lll_unlock_elision): Likewise.
5214 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5216         [BZ #19122]
5217         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5218         attribute_hidden.
5220         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5221         attribute_hidden.
5222         [IS_IN (rtld)] (__strdup): Likewise.
5223         [IS_IN (rtld)] (__strerror_r): Likewise.
5224         [IS_IN (rtld)] (__strsep_g): Likewise.
5225         [IS_IN (rtld)] (memchr): Likewise.
5226         [IS_IN (rtld)] (memcmp): Likewise.
5227         [IS_IN (rtld)] (memcpy): Likewise.
5228         [IS_IN (rtld)] (memmove): Likewise.
5229         [IS_IN (rtld)] (memset): Likewise.
5230         [IS_IN (rtld)] (rawmemchr): Likewise.
5231         [IS_IN (rtld)] (stpcpy): Likewise.
5232         [IS_IN (rtld)] (strchr): Likewise.
5233         [IS_IN (rtld)] (strcmp): Likewise.
5234         [IS_IN (rtld)] (strlen): Likewise.
5235         [IS_IN (rtld)] (strnlen): Likewise.
5236         [IS_IN (rtld)] (strsep): Likewise.
5238         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5239         attribute_hidden.
5240         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5242         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5243         attribute_hidden.
5244         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5246         * include/setjmp.h (__longjmp): Add attribute_hidden.
5247         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5249         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5250         Add attribute_hidden.
5252         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5253         [IS_IN (rtld)] (__open): Likewise.
5254         [IS_IN (rtld)] (__fcntl): Likewise.
5256         * include/dirent.h (__opendirat): Add attribute_hidden.
5257         (__getdents): Likewise.
5258         (__getdents64): Likewise.
5259         (__alloc_dir): Likewise.
5260         [IS_IN (rtld)] (__closedir): Likewise.
5261         [IS_IN (rtld)] (__fdopendir): Likewise.
5262         [IS_IN (rtld)] (__readdir): Likewise.
5263         [IS_IN (rtld)] (__readdir64): Likewise.
5264         [IS_IN (rtld)] (__rewinddir): Likewise.
5266         * include/dlfcn.h (_dl_catch_error): Moved to ...
5267         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5268         attribute_hidden.
5270         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5271         (_itoa_word): Likewise.
5273         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5274         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5275         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5276         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5277         (_dl_higher_prime_number): Likewise.
5278         (_dl_debug_printf_c): Likewise.
5279         (_dl_signal_cerror): Likewise.
5280         (_dl_receive_error): Likewise.
5281         (_dl_reloc_bad_type): Likewise.
5282         (_dl_resolve_conflicts): Likewise.
5283         (_dl_check_all_versions): Likewise.
5284         (_dl_check_map_versions): Likewise.
5285         (_dl_sort_fini): Likewise.
5286         (_dl_debug_initialize): Likewise.
5287         (_dl_init_paths): Likewise.
5288         (_dl_show_auxv): Likewise.
5289         (_dl_next_ld_env_entry): Likewise.
5290         (_dl_important_hwcaps): Likewise.
5291         (_dl_load_cache_lookup): Likewise.
5292         (_dl_update_slotinfo): Likewise.
5293         (_dl_show_scope): Likewise.
5295         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5296         attribute_hidden.
5297         (_wordcopy_fwd_dest_aligned): Likewise.
5298         (_wordcopy_bwd_aligned): Likewise.
5299         (_wordcopy_bwd_dest_aligned): Likewise.
5301         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5302         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5303         Likewise.
5304         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5305         Likewise.
5306         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5308 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5311         GCC 5 requirement.
5313 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5315         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5316         test.
5317         * sysdeps/i386/configure: Regenerated.
5318         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5319         code unconditional.
5321         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5322         test.
5323         (libc_cv_asm_popsection_directive): Likewise.
5324         * configure: Regenerated.
5325         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5326         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5327         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5328         (__make_section_unallocated): Make definition unconditional.
5329         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5330         Remove conditional definition.
5331         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5332         (__make_section_unallocated): Likewise.
5334         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5335         * configure: Regenerated.
5336         * config.make.in (static-libgcc): Remove variable.
5337         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5338         $(static-libgcc).
5339         (build-module-helper): Likewise.
5341         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5342         * configure: Regenerated.
5344 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5346         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5347         (struct char_buffer): New type.
5348         (char_buffer_start, char_buffer_size, char_buffer_error)
5349         (char_buffer_rewind, char_buffer_add): New functions.
5350         (ADDW): Remove macro, replaced by the char_buffer_add function.
5351         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5352         of extend_alloca.  Make control flow more explicit.
5354 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5356         [BZ #19137]
5357         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5358         Add -fomit-frame-pointer.
5359         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5361 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5363         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5364         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5366         only if !__GNUC_PREREQ (5,0).
5367         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5368         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5369         (INTERNAL_SYSCALL_NCS): Likewise.
5370         (LOADREGS_0): New macro for GCC 5.
5371         (ASMARGS_0): Likewise.
5372         (LOADREGS_1): Likewise.
5373         (ASMARGS_1): Likewise.
5374         (LOADREGS_2): Likewise.
5375         (ASMARGS_2): Likewise.
5376         (LOADREGS_3): Likewise.
5377         (ASMARGS_3): Likewise.
5378         (LOADREGS_4): Likewise.
5379         (ASMARGS_4): Likewise.
5380         (LOADREGS_5): Likewise.
5381         (ASMARGS_5): Likewise.
5382         (LOADREGS_6): Likewise.
5383         (ASMARGS_6): Likewise.
5385 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5387         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5388         -fomit-frame-pointer.
5389         (CFLAGS-mmap64.c): Likewise.
5390         (CFLAGS-semtimedop.c): Likewise.
5391         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5392         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5393         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5394         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5396 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5398         [BZ #18928]
5399         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5400         _dl_pointer_guard member.
5401         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5402         initializer.
5403         (security_init): Always set up pointer guard.
5404         (process_envvars): Do not process LD_POINTER_GUARD.
5406 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5408         [BZ #19134]
5409         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5410         (.LC2): Likewise.
5411         (.LC3): Likewise.
5412         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5414 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5416         [BZ #19129]
5417         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5418         r0 and r1.
5420 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5422         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5424 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5426         * include/stap-probe.h: Fix macro definition formatting.
5428 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5430         [BZ #19074]
5431         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5432         load and store num_ifs.
5434 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5436         [BZ #18822]
5437         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5438         (__sched_getaffinity_new): Add libc_hidden_proto and
5439         libc_hidden_def.
5441 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5443         [BZ #19007]
5444         * scripts/localplt.awk: Also allow GOT references.
5445         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5446         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5447         with "+ REL R_386_GLOB_DAT".
5448         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5449         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5451 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5453         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5454         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5455         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5456         Likewise.
5457         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5458         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5459         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5460         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5461         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5462         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5463         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5464         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5468 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5470         [BZ #19125]
5471         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5472         <math_private.h> and <stdint.h>.
5473         (__llround): Avoid conversions to and from long long int, and
5474         subtractions, where those might raise spurious exceptions.
5475         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5476         <math_private.h> and <stdint.h>.
5477         (__llroundf): Avoid conversions to and from long long int, and
5478         subtractions, where those might raise spurious exceptions.
5480 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5482         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5483         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5484         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5485         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5486         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5487         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5488         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5489         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5490         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5491         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5492         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5493         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5494         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5495         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5496         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5497         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5498         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5499         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5500         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5501         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5502         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5503         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5504         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5505         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5506         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5507         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5508         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5509         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5510         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5511         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5512         (__xstat64_conv): Likewise.
5513         (__xstat32_conv): Likewise.
5515 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5517         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5518         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5519         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5520         <sysdeps/unix/sysv/linux/sysdep.h>.
5521         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5522         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5523         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5524         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5525         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5526         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5527         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5528         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5529         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5534         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5535         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5537         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5538         (sysdep-dl-routines): Add sysdep.
5539         [$(subdir) == nptl] (libpthread-routines): Likewise.
5540         [$(subdir) == rt] (librt-routines): Likewise.
5541         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5542         PIC when branching to SYSCALL_ERROR_LABEL.
5543         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5544         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5545         <sysdeps/unix/sysv/linux/sysdep.h>.
5546         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5547         (SYSCALL_ERROR_ERRNO): Removed.
5548         (SYSCALL_ERROR_HANDLER): Changed to empty.
5549         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5550         (__syscall_error): New prototype.
5551         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5552         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5554 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5556         [BZ #19124]
5557         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5558         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5559         _dl_runtime_resolve_avx.
5560         (_dl_runtime_profile_avx512): Make it a hidden alias of
5561         _dl_runtime_profile_avx.
5563 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5565         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5566         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5567         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5568         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5570         [BZ #16422]
5571         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5572         New configure test.
5573         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5574         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5575         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5576         <math_private.h> and <stdint.h>.
5577         (__llrint): Avoid conversions to long long int where those might
5578         raise spurious exceptions.
5579         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5580         <math_private.h> and <stdint.h>.
5581         (__llrintf): Avoid conversions to long long int where those might
5582         raise spurious exceptions.
5584 2015-10-12  Andreas Schwab  <schwab@suse.de>
5586         [BZ #18969]
5587         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5588         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5589         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5590         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5591         $(gen-locales).
5592         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5593         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5594         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5595         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5596         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5597         $(gen-locales).
5598         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5599         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5600         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5601         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5602         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5603         ($(objpfx)tst-ftell-active-handler.out)
5604         ($(objpfx)tst-ftell-append.out)
5605         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5606         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5607         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5608         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5609         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5610         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5611         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5612         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5613         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5614         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5615         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5616         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5617         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5618         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5619         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5620         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5621         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5622         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5623         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5624         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5625         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5626         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5627         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5628         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5629         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5630         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5631         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5632         $(gen-locales).
5633         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5634         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5635         $(gen-locales).
5636         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5637         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5638         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5639         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5640         $(gen-locales).
5641         * libio/tst_wprintf2.c (main): Use explicit locale.
5642         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5644 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5646         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5647         __msg_sig_post.
5648         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5650 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5652         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5653         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5655         * sysdeps/arm/libm-test-ulps: Regenerated.
5657         [BZ #15470]
5658         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5660         [BZ #16399]
5661         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5662         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5663         and <fix-fp-int-convert-overflow.h>.
5664         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5665         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5666         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5667         and <fix-fp-int-convert-overflow.h>.
5668         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5669         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5670         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5671         <fix-fp-int-convert-overflow.h>.
5672         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5673         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5674         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5675         <fix-fp-int-convert-overflow.h>.
5676         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5677         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5678         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5679         and <fix-fp-int-convert-overflow.h>.
5680         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5681         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5682         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5683         <limits.h> and <fix-fp-int-convert-overflow.h>.
5684         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5685         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5686         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5687         and <fix-fp-int-convert-overflow.h>.
5688         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5689         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5690         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5691         and <fix-fp-int-convert-overflow.h>.
5692         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5693         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5694         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5696 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5698         [BZ #18589]
5699         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5700         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5701         $(gen-locales).
5703 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5704             Phil Blundell <pb@pbcl.net>
5706         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5707         * nptl/tst-cancel26.c: New file.
5708         * nptl/tst-cancel27.c: Likewise.
5710 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5712         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5713         __ILP32__ isn't defined.
5714         (lrint): Likewise.
5715         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5716         (lrintf): Likewise.
5717         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5718         (lrintl): Likewise.
5719         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5720         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5721         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5723 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5725         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5728         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5729         file.
5730         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5731         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5733 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5735         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5736         configure test.
5737         * sysdeps/i386/configure: Regenerated.
5738         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5739         configure test.
5740         * sysdeps/x86_64/configure: Regenerated.
5741         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5742         Make code unconditional.
5744         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5745         test.
5746         * sysdeps/i386/configure: Regenerated.
5747         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5748         test.
5749         * sysdeps/x86_64/configure: Regenerated.
5750         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5751         Make code unconditional.
5752         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5753         Likewise.
5754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5755         Likewise.
5756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5757         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5758         code unconditional.
5759         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5760         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5761         code unconditional.
5762         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5763         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5764         code unconditional.
5765         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5766         code unconditional.
5767         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5768         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5769         code unconditional.
5770         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5771         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5772         code unconditional.
5773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5774         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5775         code unconditional.
5776         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5777         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5778         code unconditional.
5779         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5780         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5782         [BZ #19095]
5783         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5784         mantissa to long int before shifting left.
5786 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5788         [BZ #19094]
5789         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5790         <limits.h>.
5791         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5792         when result overflows but exception would not result from cast.
5793         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5794         <limits.h>.
5795         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5796         when result overflows but exception would not result from cast.
5797         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5798         <limits.h>.
5799         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5800         when result overflows but exception would not result from cast.
5801         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5802         <limits.h>.
5803         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5804         when result overflows but exception would not result from cast.
5805         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5806         <limits.h>.
5807         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5808         when result overflows but exception would not result from cast.
5809         * math/libm-test.inc (lrint_test_data): Add more tests.
5810         (llrint_test_data): Likewise.
5812 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5814         [BZ #18872]
5815         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5816         Move out from under [$(run-built-tests) = yes] conditional.
5817         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5818         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5820 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5822         [BZ #18589]
5823         * string/Makefile (tests): Add bug-strcoll2.
5824         (LOCALES): Add cs_CZ.UTF-8.
5825         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5827         [BZ #18589]
5828         * string/bug-strcoll2.c: New file.
5829         * locale/categories.def: Revert commit
5830         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5831         * locale/langinfo.h: Likewise.
5832         * locale/localeinfo.h: Likewise.
5833         * locale/C-collate.c: Likewise.
5834         * locale/programs/ld-collate.c (collate_output): Likewise.
5835         * string/strcoll_l.c (STRDIFF): Likewise.
5836         (STRCOLL): Likewise.
5837         * wcsmbs/wcscoll_l.c: Likewise.
5839 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5841         * math/libm-test.inc (lround_test_data): Do not expect the absence
5842         of "inexact" for some tests with non-integer arguments.
5843         (llround_test_data): Likewise.
5845         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5846         test.
5847         (libc_cv_cc_sse2avx): Likewise.
5848         * sysdeps/i386/configure: Regenerated.
5849         * sysdeps/i386/i686/multiarch/Makefile
5850         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5851         [$(subdir) = math].
5852         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5853         code unconditional.
5854         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5855         Likewise.
5856         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5857         Likewise.
5858         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5859         Likewise.
5860         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5861         test.
5862         (libc_cv_cc_sse2avx): Likewise.
5863         * sysdeps/x86_64/configure: Regenerated.
5864         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5865         unconditional.
5866         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5867         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5868         unconditional.
5869         (_dl_runtime_profile)
5870         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5871         conditional code.
5872         * sysdeps/x86_64/fpu/multiarch/Makefile
5873         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5875         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5876         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5877         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5878         * sysdeps/x86_64/fpu/multiarch/e_log.c
5879         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5880         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5881         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5882         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5883         Likewise.
5884         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5885         Likewise.
5886         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5887         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5888         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5889         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5890         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5891         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5892         (HAVE_SSE2AVX_SUPPORT): Likewise.
5894 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5896         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5897         instead of #pragma optimize.
5899 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5901         [BZ #17195]
5902         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5903         as is similarly done in systrim and _int_free already.
5905 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5907         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5909 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5911         [BZ #19088]
5912         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5913         <limits.h>.
5914         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5915         overflows but exception would not result from cast.
5916         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5917         and <limits.h>.
5918         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5919         overflows but exception would not result from cast.
5920         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5921         <limits.h>.
5922         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5923         overflows but exception would not result from cast.
5924         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5925         <limits.h>.
5926         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5927         overflows but exception would not result from cast.
5928         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5929         <limits.h>.
5930         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5931         overflows but exception would not result from cast.
5932         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5933         <limits.h>.
5934         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5935         overflows but exception would not result from cast.
5936         * math/libm-test.inc (lround_test_data): Add more tests.
5937         (llround_test_data): Likewise.
5939 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5941         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5942         (CFLAGS-ialloc.c): Ditto.
5943         (CFLAGS-scheck.c): Ditto.
5945 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5947         [BZ #19086]
5948         * manual/filesys.texi (Storage Allocation): Fix argument order for
5949         posix_fallocate64.
5951 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5953         [BZ #19085]
5954         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5955         exponent below 48 inside case for non-overflowing exponent.
5956         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5958 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5960         * iconvdata/cp737.h (from_idx): Add const.
5961         * iconvdata/cp775.h (from_idx): Likewise.
5963 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5965         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5966         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5967         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5969         [BZ #19079]
5970         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5971         file, conditioned on [!_LP64].
5972         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5973         [!_LP64] (__lround): Do not define as function or alias.
5974         [!_LP64] (lround): Likewise.
5975         [!_LP64] (__lroundl): Likewise.
5976         [!_LP64] (lroundl): Likewise.
5977         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5978         macro.
5979         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5980         Likewise.
5982 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5984         * math/libm-test.inc (lrint_test_data): Add more tests.
5985         (llrint_test_data): Likewise.
5986         (lround_test_data): Likewise.
5987         (llround_test_data): Likewise.
5989         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5990         (llrint_test_data): Add tests used for lrint.
5992         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5993         test.
5994         * sysdeps/i386/configure: Regenerated.
5995         * sysdeps/i386/i686/multiarch/Makefile
5996         [$(config-cflags-sse4) = yes]: Make code unconditional.
5997         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5998         Likewise.
5999         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6000         Likewise.
6001         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6002         test.
6003         * sysdeps/x86_64/configure: Regenerated.
6004         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6005         Make code unconditional.
6006         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6007         Likewise.
6008         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6009         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6011         * scripts/rpm2dynsym.sh: Remove file.
6013 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6015         * configure.ac (libc_cv_cxx_thread_local): Define.
6016         * configure: Regenerate.
6017         * config.make.in (have-cxx-thread_local): Define.
6018         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6019         (LDLIBS-tst-thread_local1): Define.
6020         (tests): Add tst-thread_local1.
6021         [have-cxx-thread_local != yes] (tests-unsupported): Add
6022         tst-thread_local1.
6023         * nptl/tst-thread_local1.cc: New file.
6025 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #19078]
6028         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6029         (u_thres): Likewise.
6030         (__expl): Determine whether to call __kernel_standard_l based on
6031         value of result, not argument.
6033         * math/libm-test.inc (scalb_test_data): Add more expectations for
6034         the "inexact" exception.
6036         [BZ #19077]
6037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6038         0.0L for argument 1.0L.
6040         [BZ #19076]
6041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6042         constant 0.0L when computing infinite result.
6044 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6046         [BZ #10432]
6047         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6048         malloc_usable_size.
6050 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6052         [BZ #19018]
6053         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6054         Mangle function pointer before storing it.
6055         (__call_tls_dtors): Demangle function pointer before calling it.
6057 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6059         [BZ #19012]
6060         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6061         Clean up on failure.
6063 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6065         [BZ #19071]
6066         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6067         long int variable to store possibly incremented high part of
6068         mantissa.
6069         * math/libm-test.inc (lround_test_data): Add tests used for
6070         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6071         for tests requiring 64-bit long.  Do not condition tests on
6072         [TEST_FLOAT] unnecessarily.
6073         (llround_test_data): Add tests used for lround.  Add another
6074         expectation for the "inexact" exception.  Do not condition tests
6075         on [TEST_FLOAT] unnecessarily.
6077         [BZ #887]
6078         [BZ #19049]
6079         [BZ #19050]
6080         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6081         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6082         <fix-int-fp-convert-zero.h>.
6083         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6084         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6085         <fix-int-fp-convert-zero.h>.
6086         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6087         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6088         <fix-int-fp-convert-zero.h>.
6089         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6090         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6091         <fix-int-fp-convert-zero.h>.
6092         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6093         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6094         <fix-int-fp-convert-zero.h>.
6095         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6096         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6097         <fix-int-fp-convert-zero.h>.
6098         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6099         * sysdeps/ieee754/flt-32/s_erff.c: Include
6100         <fix-int-fp-convert-zero.h>.
6101         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6102         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6103         <fix-int-fp-convert-zero.h>.
6104         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6105         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6106         <fix-int-fp-convert-zero.h>.
6107         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6109         <fix-int-fp-convert-zero.h>.
6110         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6111         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6112         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6113         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6114         file.
6115         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6117 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6121 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6123         [BZ #19059]
6124         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6125         overflowing computation.
6126         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6127         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6128         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6129         Likewise.
6130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6131         Likewise.
6132         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6133         Likewise.
6134         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6135         Likewise.
6136         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6137         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6138         Likewise.
6139         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6140         Likewise.
6141         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6143         * nss/rewrite_field.c (__nss_rewrite_field): Use
6144         internal_function.
6145         * nss/valid_field.c (__nss_valid_field): Likewise.
6146         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6148 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6150         [BZ #18724]
6151         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6152         (__nss_invalid_field_characters, __nss_valid_field)
6153         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6154         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6155         tst-field.c: New file.
6156         * nss/Makefile (routines): Add valid_field, rewrite_field.
6157         (tests-static): Define unconditionally.
6158         (tests): Include tests-static.
6159         [build-static-nss] (tests-static): Use append.
6160         [build-static-nss] (tests): Remove modification.
6161         * nss/getent.c (print_group): Call putgrent.  Report error.
6162         (print_gshadow): Call putsgent.  Report error.
6163         (print_passwd): Call putpwent.  Report error.
6164         (print_shadow): Call putspent.  Report error.
6165         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6166         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6167         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6168         name, password, directory, shell fields for valid syntax.  Rewrite
6169         GECOS field to match syntax.
6170         * pwd/Makefile (tests): Add tst-putpwent.
6171         * pwd/tst-putpwent.c: New file.
6172         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6173         Check grName, grpasswd, gr_mem fields for valid syntax.
6174         Change loop variable i to size_t.
6175         * grp/Makefile (tests): Add tst-putgrent.
6176         * grp/tst-putgrent.c: New file.
6177         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6178         valid syntax.
6179         * shadow/Makefile (tests): Add tst-putspent.
6180         * shadow/tst-putspent.c: New file.
6181         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6182         sg_mem fields for valid syntax.
6183         * gshadow/Makefile (tests): Add tst-putsgent.
6184         * gshadow/tst-putsgent.c: New file.
6186 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6188         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6189         assembly instructions.
6191 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6193         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6194         prefix from operands.
6196 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6198         [BZ #16347]
6199         [BZ #19046]
6200         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6201         <libc-internal.h>.
6202         (MAXLGM): Do not use diagnostic control macros.
6203         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6204         threshold for ldbl-128ibm.
6205         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6206         instead of multiplying by log then subtracting.
6207         * math/auto-libm-test-in: Add more tests of lgamma.
6208         * math/auto-libm-test-out: Regenerated.
6210         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6211         (TYPE_HEX_DIG): Likewise.
6212         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6213         precisions when printing floating-point numbers.
6214         (check_float_internal): Likewise.
6216 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6218         [BZ #16620]
6219         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6220         of log (10) rounded downward to 48 bits.
6221         (log10_low): Use corresponding low part of log (10).
6223         [BZ #19032]
6224         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6225         compute result as (x - x) / (x - x) not as 0 / 0.
6226         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6227         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6229         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6230         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6231         and expm1.
6232         * math/auto-libm-test-out: Regenerated.
6233         * math/libm-test.inc (acos_test_data): Add more tests.
6234         (asin_test_data): Likewise.
6235         (asinh_test_data): Likewise.
6236         (atan_test_data): Likewise.
6237         (atanh_test_data): Likewise.
6238         (atan2_test_data): Likewise.
6239         (cbrt_test_data): Likewise.
6240         (ceil_test_data): Likewise.
6241         (copysign_test_data): Likewise.
6242         (cos_test_data): Likewise.
6243         (cosh_test_data): Likewise.
6244         (erf_test_data): Likewise.
6245         (erfc_test_data): Likewise.
6246         (exp_test_data): Likewise.
6247         (exp10_test_data): Likewise.
6248         (exp2_test_data): Likewise.
6249         (expm1_test_data): Likewise.
6250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6252 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6254         [BZ #19006]
6255         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6256         to ...
6257         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6258         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6259         to ...
6260         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6261         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6262         to ...
6263         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6264         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6265         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6266         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6267         to ...
6268         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6269         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6270         Moved to ...
6271         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6273         Moved to ...
6274         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6276         to ...
6277         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6279         Moved to ...
6280         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6281         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6282         to ...
6283         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6284         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6285         Removed.
6286         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6287         Likewise.
6288         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6289         Likewise.
6290         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6291         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6292         Likewise.
6293         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6300         Likewise.
6301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6302         Likewise.
6303         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6304         Likewise.
6305         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6306         Likewise.
6307         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6308         Likewise.
6309         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6310         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6311         Likewise.
6312         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6313         Likewise.
6314         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6315         Likewise.
6316         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6317         Likewise.
6318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6319         Likewise.
6320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6321         Replace ../i486/pthread_cond_timedwait.S with
6322         ../pthread_cond_timedwait.S.
6324 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6326         * math/libm-test.inc (acos_test_data): Refine expectations for
6327         errno and "inexact" exceptions.
6328         (acosh_test_data): Likewise.
6329         (asin_test_data): Likewise.
6330         (asinh_test_data): Likewise.
6331         (atan_test_data): Likewise.
6332         (atanh_test_data): Likewise.
6333         (atan2_test_data): Likewise.
6334         (cbrt_test_data): Likewise.
6335         (ceil_test_data): Likewise.
6336         (copysign_test_data): Likewise.
6337         (cosh_test_data): Likewise.
6338         (erf_test_data): Likewise.
6339         (erfc_test_data): Likewise.
6340         (exp_test_data): Likewise.
6341         (exp10_test_data): Likewise.
6342         (exp2_test_data): Likewise.
6343         (expm1_test_data): Likewise.
6344         (fabs_test_data): Likewise.
6345         (floor_test_data): Likewise.
6346         (fma_test_data): Likewise.
6347         (fmax_test_data): Likewise.
6348         (fmin_test_data): Likewise.
6349         (fmod_test_data): Likewise.
6350         (fpclassify_test_data): Likewise.
6351         (frexp_test_data): Likewise.
6352         (hypot_test_data): Likewise.
6353         (ilogb_test_data): Likewise.
6354         (isgreater_test_data): Likewise.
6355         (isgreaterequal_test_data): Likewise.
6356         (isinf_test_data): Likewise.
6357         (isless_test_data): Likewise.
6358         (islessequal_test_data): Likewise.
6359         (islessgreater_test_data): Likewise.
6360         (isnan_test_data): Likewise.
6361         (isnormal_test_data): Likewise.
6362         (issignaling_test_data): Likewise.
6363         (isunordered_test_data): Likewise.
6364         (j0_test_data): Likewise.
6365         (j1_test_data): Likewise.
6366         (jn_test_data): Likewise.
6367         (lgamma_test_data): Likewise.
6368         (lrint_test_data): Likewise.
6369         (llrint_test_data): Likewise.
6370         (log_test_data): Likewise.
6371         (log10_test_data): Likewise.
6372         (log1p_test_data): Likewise.
6373         (log2_test_data): Likewise.
6374         (logb_test_data): Likewise.
6375         (lround_test_data): Likewise.
6376         (llround_test_data): Likewise.
6377         (modf_test_data): Likewise.
6378         (nearbyint_test_data): Likewise.
6379         (nextafter_test_data): Likewise.
6380         (nexttoward_test_data): Likewise.
6381         (pow_test_data): Likewise.
6382         (remainder_test_data): Likewise.
6383         (remquo_test_data): Likewise.
6384         (rint_test_data): Likewise.
6385         (round_test_data): Likewise.
6386         (signbit_test_data): Likewise.
6387         (sinh_test_data): Likewise.
6388         (sqrt_test_data): Likewise.
6389         (tanh_test_data): Likewise.
6390         (tgamma_test_data): Likewise.
6391         (trunc_test_data): Likewise.
6392         (y0_test_data): Likewise.
6393         (y1_test_data): Likewise.
6394         (yn_test_data): Likewise.
6395         (significand_test_data): Likewise.
6397 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6399         * manual/filesys.texi (Storage Allocation): Document that
6400         posix_fallocate emulation fails when fd is open with O_WRONLY.
6402 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6404         [BZ #19016]
6405         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6406         allow more cases with X^2 + Y^2 >= 0.5.
6407         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6408         normal element in sum instead of special-casing based on values of
6409         arguments.
6410         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6411         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6412         -1 as normal element in sum instead of special-casing based on
6413         values of arguments.
6414         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6415         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6416         (__x2y2m1): Update comment.
6417         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6418         as normal element in sum instead of special-casing based on values
6419         of arguments.
6420         * math/s_clog.c (__clog): Handle more cases using log1p without
6421         hypot.
6422         * math/s_clog10.c (__clog10): Likewise.
6423         * math/s_clog10f.c (__clog10f): Likewise.
6424         * math/s_clog10l.c (__clog10l): Likewise.
6425         * math/s_clogf.c (__clogf): Likewise.
6426         * math/s_clogl.c (__clogl): Likewise.
6427         * math/auto-libm-test-in: Add more tests of clog and clog10.
6428         * math/auto-libm-test-out: Regenerated.
6429         * sysdeps/i386/fpu/libm-test-ulps: Update.
6430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432 2015-09-28  Martin Sebor  <msebor@redhat.com>
6434         [BZ #18969]
6435         * string/Makefile (LOCALES): Define.
6436         (gen-locales.mk): Include.
6437         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6438         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6439         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6440         on setlocale failure.
6442 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6444         [BZ #18985]
6445         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6446         (__strftime_internal): Likewise.
6447         * time/tst-strftime.c (do_bz18985): New test.
6448         (do_test): Call it.
6450 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #18956]
6453         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6454         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6455         extracting high part.
6456         * math/auto-libm-test-in: Add another test of pow.
6457         * math/auto-libm-test-out: Regenerated.
6458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6460 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6462         [BZ #18825]
6463         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6464         New macro.
6465         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6466         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6467         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6468         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6469         DBL_NARROW_EVAL, reloading the PIC register as needed.
6470         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6471         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6472         FLT_NARROW_EVAL.  Use separate return path for case when first
6473         argument is NaN.
6474         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6475         DEFINE_LDBL_MIN.
6476         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6477         PIC register.
6478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6479         math_check_force_underflow_nonneg.
6480         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6481         underflow for subnormal result.
6482         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6484         math_check_force_underflow_nonneg.
6485         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6486         math_check_force_underflow.
6487         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6488         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6489         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6490         DEFINE_LDBL_MIN.
6491         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6492         * math/auto-libm-test-in: Add more tests of pow.
6493         * math/auto-libm-test-out: Regenerated.
6495 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6497         * nss/bug17079.c (init_test_items): Add diagnostic for
6498         inconsistent entries.
6499         (test_buffer_size): Skip inconsistent entries.
6501 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6503         [BZ #13304]
6504         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6505         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6506         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6508         [BZ #13304]
6509         * sysdeps/microblaze/s_fma.c: New file.
6510         * sysdeps/microblaze/s_fmaf.c: Likewise.
6511         * sysdeps/microblaze/sfp-machine.h: Likewise.
6513 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6515         [BZ #17250]
6516         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6517         member.
6519 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6521         [BZ #18803]
6522         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6523         (MO): New macro.
6524         (__ieee754_hypot) [PIC]: Load PIC register.
6525         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6526         DBL_NARROW_EVAL.
6527         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6528         math_check_force_underflow_nonneg in case where result might be
6529         tiny.
6530         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6531         Likewise.
6532         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6533         Likewise.
6534         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6535         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6536         * math/auto-libm-test-in: Add more tests of hypot.
6537         * math/auto-libm-test-out: Regenerated.
6539 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6541         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6543 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6545         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6546         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6547         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6548         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6549         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6550         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6551         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6553         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6554         LOAD_PIC_REG.
6556         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6557         (FLT_CHECK_FORCE_UFLOW): Likewise.
6558         (DBL_CHECK_FORCE_UFLOW): Likewise.
6559         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6560         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6561         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6562         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6563         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6564         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6565         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6566         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6567         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6568         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6569         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6570         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6571         (flt_min): Replace with use of DEFINE_FLT_MIN.
6572         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6573         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6574         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6575         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6576         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6577         (flt_min): Replace with use of DEFINE_FLT_MIN.
6578         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6579         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6580         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6581         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6582         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6583         (flt_min): Replace with use of DEFINE_FLT_MIN.
6584         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6585         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6586         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6587         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6588         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6589         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6590         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6591         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6592         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6593         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6594         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6595         (flt_min): Replace with use of DEFINE_FLT_MIN.
6596         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6597         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6598         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6599         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6600         main computation.
6601         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6602         (flt_min): Replace with use of DEFINE_FLT_MIN.
6603         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6604         main computation.
6605         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6606         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6607         (MO): New macro.
6608         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6609         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6610         (flt_min): Replace with use of DEFINE_FLT_MIN.
6611         (MO): New macro.
6612         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6613         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6614         (__log1pl): Use MO.
6616         [BZ #19003]
6617         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6618         $(config-cflags-nofma).
6620 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6622         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6624 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6626         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6627         (TWO127): Likewise.
6629         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6630         (min_of_type): Likewise.
6631         (math_check_force_underflow): Likewise.
6632         (math_check_force_underflow_nonneg): Likewise.
6633         (math_check_force_underflow_complex): Likewise.
6634         * math/e_exp2l.c (__ieee754_exp2l): Use
6635         math_check_force_underflow_nonneg.
6636         * math/k_casinh.c (__kernel_casinh): Likewise.
6637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6639         * math/s_catan.c (__catan): Use
6640         math_check_force_underflow_complex.
6641         * math/s_catanf.c (__catanf): Likewise.
6642         * math/s_catanh.c (__catanh): Likewise.
6643         * math/s_catanhf.c (__catanhf): Likewise.
6644         * math/s_catanhl.c (__catanhl): Likewise.
6645         * math/s_catanl.c (__catanl): Likewise.
6646         * math/s_ccosh.c (__ccosh): Likewise.
6647         * math/s_ccoshf.c (__ccoshf): Likewise.
6648         * math/s_ccoshl.c (__ccoshl): Likewise.
6649         * math/s_cexp.c (__cexp): Likewise.
6650         * math/s_cexpf.c (__cexpf): Likewise.
6651         * math/s_cexpl.c (__cexpl): Likewise.
6652         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6653         * math/s_clog10.c (__clog10): Likewise.
6654         * math/s_clog10f.c (__clog10f): Likewise.
6655         * math/s_clog10l.c (__clog10l): Likewise.
6656         * math/s_clogf.c (__clogf): Likewise.
6657         * math/s_clogl.c (__clogl): Likewise.
6658         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6659         * math/s_csinf.c (__csinf): Likewise.
6660         * math/s_csinh.c (__csinh): Likewise.
6661         * math/s_csinhf.c (__csinhf): Likewise.
6662         * math/s_csinhl.c (__csinhl): Likewise.
6663         * math/s_csinl.c (__csinl): Likewise.
6664         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6665         * math/s_csqrtf.c (__csqrtf): Likewise.
6666         * math/s_csqrtl.c (__csqrtl): Likewise.
6667         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6668         * math/s_ctanf.c (__ctanf): Likewise.
6669         * math/s_ctanh.c (__ctanh): Likewise.
6670         * math/s_ctanhf.c (__ctanhf): Likewise.
6671         * math/s_ctanhl.c (__ctanhl): Likewise.
6672         * math/s_ctanl.c (__ctanl): Likewise.
6673         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6674         instead of volatile.
6675         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6676         math_check_force_underflow.
6677         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6678         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6679         volatile when forcing underflow.
6680         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6681         math_check_force_underflow_nonneg.
6682         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6683         Likewise.
6684         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6685         math_check_force_underflow.
6686         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6687         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6688         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6689         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6690         math_check_force_underflow_nonneg.
6691         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6692         math_check_force_underflow.
6693         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6695         instead of volatile.
6696         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6697         math_check_force_underflow.
6698         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6699         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6700         math_check_force_underflow_nonneg.
6701         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6702         math_check_force_underflow.
6703         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6704         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6705         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6706         math_check_force_underflow_nonneg.
6707         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6708         Likewise.
6709         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6710         math_check_force_underflow.
6711         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6712         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6713         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6714         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6715         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6716         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6717         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6718         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6719         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6720         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6721         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6722         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6723         Likewise.
6724         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6725         math_check_force_underflow_nonneg.
6726         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6727         Likewise.
6728         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6729         math_check_force_underflow.
6730         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6731         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6732         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6733         Likewise.
6734         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6735         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6736         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6737         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6738         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6739         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6741         instead of volatile.
6742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6743         math_check_force_underflow.
6744         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6745         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6746         math_check_force_underflow.
6747         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6748         Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6750         Use math_check_force_underflow_nonneg.
6751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6752         math_check_force_underflow.
6753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6754         Likewise.
6755         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6756         Likewise.
6757         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6758         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6759         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6760         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6762         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6763         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6764         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6765         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6766         math_check_force_underflow_nonneg.
6767         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6768         math_check_force_underflow.
6769         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6770         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6771         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6772         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6773         math_check_force_underflow_nonneg.
6774         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6775         math_check_force_underflow.
6776         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6778         instead of volatile.
6779         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6780         math_check_force_underflow.
6782         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6783         * stdlib/strtod_l.c: Include <math_private.h>.
6784         (overflow_value): Use math_narrow_eval.
6785         (underflow_value): Likewise.
6786         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6787         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6788         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6789         (__ieee754_gamma_r): Likewise.
6790         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6791         Likewise.
6792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6793         Likewise.
6794         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6795         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6796         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6797         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6798         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6799         (__ieee754_gammaf_r): Likewise.
6800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6801         Likewise.
6802         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6803         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6804         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6805         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6806         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6807         volatile.
6808         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6810         math_narrow_eval.
6811         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6812         Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6814         Likewise.
6815         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6816         Likewise.
6817         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6818         volatile.
6819         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6820         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6821         math_narrow_eval.
6822         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6823         Likewise.
6824         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6825         Likewise.
6827 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6829         * nptl/Versions: Remove ignored symbols.
6831 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6833         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6834         * nss/Makefile (tests): Update.
6836 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6838         * nss/bug18287.c: New file.
6839         * nss/Makefile (tests): Add bug18287.
6841 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6843         * mach/Versions (__mach_host_self_): Add symbol.
6845 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6847         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6848         vm_page_size.
6850 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6852         Really fix sysdeps/i386/fpu/s_scalbn.S build
6854         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6855         (libc: GLIBC_2_22): Remove unused version set.
6857 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6859         * config.make.in (enable-timezone-tools): New variable.
6860         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6861         (enable_timezone_tools): Export to generated files.
6862         * configure: Regenerate.
6863         * INSTALL: Regenerate.
6864         * manual/install.texi (--disable-timezone-tools): Document new flag.
6865         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6866         ifeq ($(enable-timezone-tools),yes) check.
6868 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6870         * timezone/Makefile: Revert previous change.
6872         [BZ #18980]
6873         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6874         (DEFINE_DBL_MIN): Likewise.
6875         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6876         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6877         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6878         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6879         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6880         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6881         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6882         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6883         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6884         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6885         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6886         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6887         (flt_min): Replace with use of DEFINE_FLT_MIN.
6888         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6889         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6890         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6891         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6892         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6893         (flt_min): Replace with use of DEFINE_FLT_MIN.
6894         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6895         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6896         (flt_min): Replace with use of DEFINE_FLT_MIN.
6897         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6898         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6899         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6900         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6901         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6902         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6903         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6904         (__ieee754_pow): Use DBL_NARROW_EVAL.
6905         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6906         (__ieee754_powf): Use FLT_NARROW_EVAL.
6907         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6908         (__ieee754_expf_sse2): Convert double-precision result to single
6909         precision.
6910         * sysdeps/i386/fpu/libm-test-ulps: Update.
6912 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6914         * timezone/Makefile: Ignore unused variable errors due to private.h
6915         (time_t_min) and (time_t_max).
6916         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6917         Likewise.
6919 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6921         [BZ #18981]
6922         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6923         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6924         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6925         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6926         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6927         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6928         (__scalbn): Use DBL_NARROW_EVAL.
6929         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6930         (__scalbnf): Use FLT_NARROW_EVAL.
6932 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6934         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6935         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6936         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6937         * stdio-common/printf_fp.c (___printf_fp):
6938         Use signbit to get the sign. Use isinf macro to allow inlining.
6939         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6940         * stdio-common/printf_size.c (__printf_size): Likewise.
6942 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6944         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6946 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6948         [BZ #18980]
6949         * sysdeps/generic/math_private.h: Include <float.h>.
6950         (math_narrow_eval): New macro.
6951         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6952         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6953         math_narrow_eval on overflowing return value.
6954         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6955         Likewise.
6956         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6957         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6959         Likewise.
6960         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6962 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6964         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6965         * math/Makefile: Remove isinf_ns.c.
6966         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6967         * math/multc3.c (__multc3): Likewise.
6968         * math/s_casin.c (__casin): Likewise.
6969         * math/s_casinf.c (__casinf): Likewise.
6970         * math/s_casinl.c (__casinl): Likewise.
6971         * math/s_cproj.c (__cproj): Likewise.
6972         * math/s_cprojf.c (__cprojf): Likewise.
6973         * math/s_cprojl.c (__cprofl): Likewise.
6974         * math/s_ctan.c (__ctan): Likewise.
6975         * math/s_ctanf.c (__ctanf): Likewise.
6976         * math/s_ctanh.c (__ctanh): Likewise.
6977         * math/s_ctanhf.c (__ctanhf): Likewise.
6978         * math/s_ctanhl.c (__ctanhl): Likewise.
6979         * math/s_ctanl.c (__ctanl): Likewise.
6980         * math/w_fmod.c (__fmod): Likewise.
6981         * math/w_fmodf.c (__fmodf): Likewise.
6982         * math/w_fmodl.c (_fmodl): Likewise.
6983         * math/w_remainder.c (__remainder): Likewise.
6984         * math/w_remainderf.c (__remainderf): Likewise.
6985         * math/w_remainderl.c (__remainderl): Likewise.
6986         * math/w_scalb.c (__scalb): Likewise.
6987         * math/w_scalbf.c (__scalbf): Likewise.
6988         * math/w_scalbl.c (__scalbl): Likewise.
6989         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6990         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6991         with isinf.
6992         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6993         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6994         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6995         __isinf_nsf with isinf.
6996         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6997         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6998         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6999         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7000         with isinf.
7001         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7002         __isinf_nsl with isinf.
7003         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7004         with isinf.
7005         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7006         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7007         __isinf_nsl with isinf.
7008         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7009         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7010         with isinf.
7012 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7014         * resolv/base64.c (rcsid): Remove unused static.
7015         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7016         static.  (tqpi1): Likewise.
7017         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7018         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7019         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7020         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7022         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7023         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7024         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7025         Likewise.
7027 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7029         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7030         <nptl/pthreadP.h>.
7031         (_longjmp_unwind): Use __libc_ptf_call.
7032         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7034 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7036         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7037         * sysdeps/arm/__longjmp.S: Likewise.
7039 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7041         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7042         Use __builtin_signbit.
7043         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7044         Use __builtin_signbitf.
7045         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7046         Use __builtin_signbitl.
7047         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7048         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7050 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7052         [BZ #15367]
7053         [BZ #17441]
7055         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7056         * math/math.h (fpclassify): Use __builtin_fpclassify when
7057         available.  (signbit): Use __builtin_signbit(f/l).
7058         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7059         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7060         (isinf): Use __builtin_isinf_sign.
7062 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7064         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7065         * benchtests/bench-math-inlines.c: New benchmark.
7066         * benchtests/bench-util.h: New file.
7067         * benchtests/bench-util.c: New file.
7068         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7070 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7072         * elf/tst-dlmopen1.c: Define TEST_SO.
7073         (do_test): Use TEST_SO.
7075         * elf/dl-load.c: Include libc-internal.h.
7076         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7078 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7080         [BZ #17887]
7081         * time/strptime_l.c (__strptime_internal): Make %z accept
7082         [+-]HH:MM time zones.
7084 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7086         [BZ #17886]
7087         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7088         valid time zone.
7090 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7092         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7093         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7094         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7095         (__ASSUME_FDATASYNC): Delete.
7097 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7099         * conform/linknamespace.pl: Require weak undefined symbols to be
7100         in the standard namespace.
7101         (%strong_syms): Rename to %seen_syms.
7102         (%strong_seen): Rename to %seen_where.
7104 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7106         [BZ #18970]
7107         * misc/error.c (error): Replace pthread_setcancelstate with
7108         __pthread_setcancelstate.
7109         (error_at_line): Likewise.
7110         * posix/wordexp.c (parse_comm): Likewise.
7111         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7112         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7113         (__pthread_setcancelstate): This.
7114         (pthread_setcancelstate): Add an alias.
7115         * nptl/nptl-init.c (pthread_functions): Replace
7116         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7117         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7118         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7119         hidden_proto.
7120         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7121         it with hidden_def.
7122         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7123         (pthread_setcancelstate): Renamed to ...
7124         (__pthread_setcancelstate): This.
7125         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7126         __libc_ptf_call with __pthread_setcancelstate.
7128 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7129             Andreas Schwab  <schwab@suse.de>
7131         [BZ #17118]
7132         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7133         result when imaginary part of argument is infinite using sine and
7134         cosine.
7135         * math/s_ctanf.c (__ctanf): Likewise.
7136         * math/s_ctanl.c (__ctanl): Likewise.
7137         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7138         of result when real part of argument is infinite using sine and
7139         cosine.
7140         * math/s_ctanhf.c (__ctanhf): Likewise.
7141         * math/s_ctanhl.c (__ctanhl): Likewise.
7142         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7143         (ctanh_test_data): Add more tests of ctanh.
7145 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7147         [BZ #15384]
7148         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7149         bit-mask as in subtraction.
7150         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7151         Likewise.
7152         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7153         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7154         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7156         [BZ #18951]
7157         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7158         underflow exception for small results.
7159         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7160         Likewise.
7161         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7162         Likewise.
7163         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7164         Likewise.
7165         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7166         Likewise.
7167         * math/auto-libm-test-in: Add more tests of tgamma.
7168         * math/auto-libm-test-out: Regenerated.
7170 2015-09-17  Andreas Schwab  <schwab@suse.de>
7172         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7174 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7176         [BZ #18977]
7177         * math/bits/mathcalls.h
7178         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7179         not declare.
7180         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7181         Likewise.
7182         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7183         Likewise.
7184         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7185         Likewise.
7186         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7187         Likewise.
7188         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7189         Likewise.
7190         * conform/data/math.h-data
7191         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7192         function.
7193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7196         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7198         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7199         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7200         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7201         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7202         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7203         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7205         [BZ #6803]
7206         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7207         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7208         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7209         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7210         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7211         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7212         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7213         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7214         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7216         Likewise.
7217         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7218         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7219         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7221         long_double_symbol calls.
7222         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7223         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7224         strong alias of __ldexpl.
7225         (scalbnl): Define using long_double_symbol.
7226         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7227         Remove alias.
7228         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7229         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7230         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7231         (scalbln_test_data): Add more errno expectations.
7233 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7235         Cache the host port like we cache the task port.  This way we do not
7236         need to call the kernel just to get the port.  Furthermore, we no
7237         longer increase the reference count on every invocation of
7238         `mach_host_self'.
7240         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7241         Protect declarations against the macro expansion.
7242         * mach/mach_init.c (__mach_host_self_): New variable.
7243         (mach_init): Initialize `__mach_host_self_'.
7244         * mach/mach_init.h (__mach_host_self_): New declaration.
7245         (__mach_host_self, mach_host_self): New macros.
7246         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7247         Release reference.
7249 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #4404]
7252         * po/de.po: Update from Translation Project.
7254         [BZ #16415]
7255         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7256         (__expm1l): Remove code to handle positive infinity and overflow.
7257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7258         variable.
7259         (__expm1l): Remove code to handle positive infinity and overflow.
7261 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7262             Paul Pluzhnikov  <ppluzhnikov@google.com>
7264         [BZ #18872]
7265         * stdio-common/Makefile (tst-printf-bz18872): New test.
7266         (tst-printf-bz18872-mem.out): Likewise.
7267         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7268         * stdio-common/vfprintf.c: Fix memory leaks.
7270 2015-09-16  Andreas Schwab  <schwab@suse.de>
7272         [BZ #17244]
7273         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7274         Remove extra va_start/va_end calls.
7276         [BZ #17243]
7277         * posix/execl.c (execl): Add missing va_end.
7278         * posix/execle.c (execle): Likewise.
7279         * posix/execlp.c (execlp): Likewise.
7281 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7283         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7284         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7286 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7288         [BZ #18967]
7289         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7290         undefine around includes of <bits/mathcalls.h>.
7291         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7292         not declare function.
7293         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7294         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7295         (scalb): Likewise.
7296         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7297         not define macro.
7298         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7299         variable.
7300         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7301         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7302         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7304         [BZ #18857]
7305         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7306         return non-finite argument without doing ordered comparisons on
7307         it.
7309         [BZ #16296]
7310         * math/fenv.h (fegetround): Use __attribute_pure__.
7311         * include/fenv.h (__fegetround): Likewise.
7313         [BZ #18595]
7314         * math/s_ctan.c (__ctan): Force underflow exception for results
7315         whose real or imaginary part has small absolute value.
7316         * math/s_ctanf.c (__ctanf): Likewise.
7317         * math/s_ctanh.c (__ctanh): Likewise.
7318         * math/s_ctanhf.c (__ctanhf): Likewise.
7319         * math/s_ctanhl.c (__ctanhl): Likewise.
7320         * math/s_ctanl.c (__ctanl): Likewise.
7321         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7322         and ctanh.  Add more tests of ctan and ctanh.
7324         [BZ #15918]
7325         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7326         handling of cases where one argument is an infinity.
7328         [BZ #18875]
7329         [BZ #18966]
7330         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7331         (MO): New macro.
7332         (__ieee754_exp10): For small results, force underflow exception
7333         and remove excess range and precision from return value.
7334         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7335         (MO): New macro.
7336         (__ieee754_exp10f): For small results, force underflow exception
7337         and remove excess range and precision from return value.
7338         * math/auto-libm-test-in: Add more tests of exp10.
7339         * math/auto-libm-test-out: Regenerated.
7341 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7343         [BZ #18875]
7344         [BZ #18961]
7345         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7346         (MO): New macro.
7347         (__ieee754_exp): For small results, force underflow exception and
7348         remove excess range and precision from return value.
7349         (__exp_finite): Likewise.
7350         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7351         (MO): New macro.
7352         (__ieee754_expf): For small results, force underflow exception and
7353         remove excess range and precision from return value.
7354         (__expf_finite): Likewise.
7355         * math/auto-libm-test-in: Add more tests of exp.
7356         * math/auto-libm-test-out: Regenerated.
7358         [BZ #16521]
7359         [BZ #18875]
7360         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7361         small results.
7362         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7363         (MO): New macro.
7364         (__ieee754_exp2): For small results, force underflow exception and
7365         remove excess range and precision from return value.
7366         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7367         (MO): New macro.
7368         (__ieee754_exp2f): For small results, force underflow exception
7369         and remove excess range and precision from return value.
7370         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7371         (MO): New macro.
7372         (__ieee754_exp2l): Force underflow exception for small results.
7373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7374         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7375         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7376         (MO): New macro.
7377         (__ieee754_exp2l): Force underflow exception for small results.
7378         * math/auto-libm-test-in: Add more tests or exp2.
7379         * math/auto-libm-test-out: Regenerated.
7381 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7383         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7385         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7386         /dev/null.
7388 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7390         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7391         io fs process)): Drop spurious backslash.
7393 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7396         Use sysinfo system call instead of parsing /proc/meminfo.
7397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7398         Likewise.
7400 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7402         [BZ #16985]
7403         * programs/localedef.c (main): Display argv[remaining] when
7404         output_path is NULL.
7406 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7408         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7409         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7410         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7411         tanh.
7412         * math/auto-libm-test-out: Regenerated.
7413         * sysdeps/i386/fpu/libm-test-ulps: Update.
7414         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7420         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7421         Use 'override' keyword to freeze the value here, preventing
7422         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7424 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #14912]
7427         * sysdeps/aarch64/bits/atomic.h: Move to ...
7428         * sysdeps/aarch64/atomic-machine.h: ...here.
7429         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7430         _AARCH64_ATOMIC_MACHINE_H.
7431         * sysdeps/alpha/bits/atomic.h: Move to ...
7432         * sysdeps/alpha/atomic-machine.h: ...here.
7433         * sysdeps/arm/bits/atomic.h: Move to ...
7434         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7435         * bits/atomic.h: Move to ...
7436         * sysdeps/generic/atomic-machine.h: ...here.
7437         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7438         * sysdeps/i386/bits/atomic.h: Move to ...
7439         * sysdeps/i386/atomic-machine.h: ...here.
7440         * sysdeps/ia64/bits/atomic.h: Move to ...
7441         * sysdeps/ia64/atomic-machine.h: ...here.
7442         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7443         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7444         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7445         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7446         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7447         * sysdeps/microblaze/bits/atomic.h: Move to ...
7448         * sysdeps/microblaze/atomic-machine.h: ...here.
7449         * sysdeps/mips/bits/atomic.h: Move to ...
7450         * sysdeps/mips/atomic-machine.h: ...here.
7451         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7452         * sysdeps/powerpc/bits/atomic.h: Move to ...
7453         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7455         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7456         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7457         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7458         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7459         <atomic-machine.h> instead of <bits/atomic.h>.
7460         * sysdeps/s390/bits/atomic.h: Move to ...
7461         * sysdeps/s390/atomic-machine.h: ...here.
7462         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7463         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7464         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7465         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7466         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7467         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7468         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7469         * sysdeps/tile/bits/atomic.h: Move to ...
7470         * sysdeps/tile/atomic-machine.h: ...here.
7471         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7472         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7473         <sysdeps/tile/atomic-machine.h> instead of
7474         <sysdeps/tile/bits/atomic.h>.
7475         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7476         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7477         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7478         <sysdeps/tile/atomic-machine.h> instead of
7479         <sysdeps/tile/bits/atomic.h>.
7480         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7481         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7482         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7483         <sysdeps/arm/atomic-machine.h> instead of
7484         <sysdeps/arm/bits/atomic.h>.
7485         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7486         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7487         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7488         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7489         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7490         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7491         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7492         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7493         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7494         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7495         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7496         * sysdeps/x86_64/bits/atomic.h: Move to ...
7497         * sysdeps/x86_64/atomic-machine.h: ...here.
7498         * include/atomic.h: Include <atomic-machine.h> instead of
7499         <bits/atomic.h>.
7501         * sysdeps/mips/mips32/libm-test-ulps: Update.
7502         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7504         [BZ #18952]
7505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7506         not convert non-integer negative arguments to int to determine the
7507         value of signgam.
7508         * math/auto-libm-test-in: Add more tests of lgamma.
7509         * math/auto-libm-test-out: Regenerated.
7511         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7512         cosh, csqrt, erfc, expm1 and lgamma.
7513         * math/auto-libm-test-out: Regenerated.
7514         * sysdeps/i386/fpu/libm-test-ulps: Update.
7515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7519         [BZ #2542]
7520         [BZ #2543]
7521         [BZ #2558]
7522         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7523         __lgamma_neg for arguments from -28.0 to -2.0.
7524         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7525         __lgamma_negf for arguments from -15.0 to -2.0.
7526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7527         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7528         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7529         Call __lgamma_negl for arguments from -33.0 to -2.0.
7530         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7531         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7532         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7533         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7534         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7535         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7536         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7537         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7538         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7539         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7540         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7541         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7542         (__lgamma_neg): Likewise.
7543         (__lgamma_negl): Likewise.
7544         (__lgamma_product): Likewise.
7545         (__lgamma_productl): Likewise.
7546         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7547         * math/auto-libm-test-in: Add more tests of lgamma.
7548         * math/auto-libm-test-out: Regenerated.
7549         * sysdeps/i386/fpu/libm-test-ulps: Update.
7550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7554         [BZ #18675]
7555         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7557 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7559         [BZ #14912]
7560         * bits/libc-lock.h: Move to ...
7561         * sysdeps/generic/libc-lock.h: ...here.
7562         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7563         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7564         * sysdeps/mach/hurd/libc-lock.h: ...here.
7565         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7566         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7567         * sysdeps/mach/bits/libc-lock.h: Move to ...
7568         * sysdeps/mach/libc-lock.h: ...here.
7569         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7570         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7571         * sysdeps/nptl/libc-lock.h: ...here.
7572         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7573         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7574         * sysdeps/nptl/libc-lockP.h: ...here.
7575         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7576         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7577         <bits/libc-lock.h>.
7578         * dirent/scandir-tail.c: Likewise.
7579         * dlfcn/dlerror.c: Likewise.
7580         * elf/dl-close.c: Likewise.
7581         * elf/dl-iteratephdr.c: Likewise.
7582         * elf/dl-lookup.c: Likewise.
7583         * elf/dl-open.c: Likewise.
7584         * elf/dl-support.c: Likewise.
7585         * elf/dl-writev.h: Likewise.
7586         * elf/rtld.c: Likewise.
7587         * grp/fgetgrent.c: Likewise.
7588         * gshadow/fgetsgent.c: Likewise.
7589         * gshadow/sgetsgent.c: Likewise.
7590         * iconv/gconv_conf.c: Likewise.
7591         * iconv/gconv_db.c: Likewise.
7592         * iconv/gconv_dl.c: Likewise.
7593         * iconv/gconv_int.h: Likewise.
7594         * iconv/gconv_trans.c: Likewise.
7595         * include/link.h: Likewise.
7596         * inet/getnameinfo.c: Likewise.
7597         * inet/getnetgrent.c: Likewise.
7598         * inet/getnetgrent_r.c: Likewise.
7599         * intl/bindtextdom.c: Likewise.
7600         * intl/dcigettext.c: Likewise.
7601         * intl/finddomain.c: Likewise.
7602         * intl/gettextP.h: Likewise.
7603         * intl/loadmsgcat.c: Likewise.
7604         * intl/localealias.c: Likewise.
7605         * intl/textdomain.c: Likewise.
7606         * libidn/idn-stub.c: Likewise.
7607         * libio/libioP.h: Likewise.
7608         * locale/duplocale.c: Likewise.
7609         * locale/freelocale.c: Likewise.
7610         * locale/newlocale.c: Likewise.
7611         * locale/setlocale.c: Likewise.
7612         * login/getutent_r.c: Likewise.
7613         * login/getutid_r.c: Likewise.
7614         * login/getutline_r.c: Likewise.
7615         * login/utmp-private.h: Likewise.
7616         * login/utmpname.c: Likewise.
7617         * malloc/mtrace.c: Likewise.
7618         * misc/efgcvt.c: Likewise.
7619         * misc/error.c: Likewise.
7620         * misc/fstab.c: Likewise.
7621         * misc/getpass.c: Likewise.
7622         * misc/mntent.c: Likewise.
7623         * misc/syslog.c: Likewise.
7624         * nis/nis_call.c: Likewise.
7625         * nis/nis_callback.c: Likewise.
7626         * nis/nss-default.c: Likewise.
7627         * nis/nss_compat/compat-grp.c: Likewise.
7628         * nis/nss_compat/compat-initgroups.c: Likewise.
7629         * nis/nss_compat/compat-pwd.c: Likewise.
7630         * nis/nss_compat/compat-spwd.c: Likewise.
7631         * nis/nss_nis/nis-alias.c: Likewise.
7632         * nis/nss_nis/nis-ethers.c: Likewise.
7633         * nis/nss_nis/nis-grp.c: Likewise.
7634         * nis/nss_nis/nis-hosts.c: Likewise.
7635         * nis/nss_nis/nis-network.c: Likewise.
7636         * nis/nss_nis/nis-proto.c: Likewise.
7637         * nis/nss_nis/nis-pwd.c: Likewise.
7638         * nis/nss_nis/nis-rpc.c: Likewise.
7639         * nis/nss_nis/nis-service.c: Likewise.
7640         * nis/nss_nis/nis-spwd.c: Likewise.
7641         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7642         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7643         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7644         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7645         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7646         * nis/nss_nisplus/nisplus-network.c: Likewise.
7647         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7648         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7649         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7650         * nis/nss_nisplus/nisplus-service.c: Likewise.
7651         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7652         * nis/ypclnt.c: Likewise.
7653         * nptl/libc_pthread_init.c: Likewise.
7654         * nss/getXXbyYY.c: Likewise.
7655         * nss/getXXent.c: Likewise.
7656         * nss/getXXent_r.c: Likewise.
7657         * nss/nss_db/db-XXX.c: Likewise.
7658         * nss/nss_db/db-netgrp.c: Likewise.
7659         * nss/nss_db/nss_db.h: Likewise.
7660         * nss/nss_files/files-XXX.c: Likewise.
7661         * nss/nss_files/files-alias.c: Likewise.
7662         * nss/nsswitch.c: Likewise.
7663         * posix/regex_internal.h: Likewise.
7664         * posix/wordexp.c: Likewise.
7665         * pwd/fgetpwent.c: Likewise.
7666         * resolv/res_hconf.c: Likewise.
7667         * resolv/res_libc.c: Likewise.
7668         * shadow/fgetspent.c: Likewise.
7669         * shadow/lckpwdf.c: Likewise.
7670         * shadow/sgetspent.c: Likewise.
7671         * socket/opensock.c: Likewise.
7672         * stdio-common/reg-modifier.c: Likewise.
7673         * stdio-common/reg-printf.c: Likewise.
7674         * stdio-common/reg-type.c: Likewise.
7675         * stdio-common/vfprintf.c: Likewise.
7676         * stdio-common/vfscanf.c: Likewise.
7677         * stdlib/abort.c: Likewise.
7678         * stdlib/cxa_atexit.c: Likewise.
7679         * stdlib/fmtmsg.c: Likewise.
7680         * stdlib/random.c: Likewise.
7681         * stdlib/setenv.c: Likewise.
7682         * string/strsignal.c: Likewise.
7683         * sunrpc/auth_none.c: Likewise.
7684         * sunrpc/bindrsvprt.c: Likewise.
7685         * sunrpc/create_xid.c: Likewise.
7686         * sunrpc/key_call.c: Likewise.
7687         * sunrpc/rpc_thread.c: Likewise.
7688         * sysdeps/arm/backtrace.c: Likewise.
7689         * sysdeps/generic/ldsodefs.h: Likewise.
7690         * sysdeps/generic/stdio-lock.h: Likewise.
7691         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7692         * sysdeps/i386/backtrace.c: Likewise.
7693         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7694         * sysdeps/m68k/backtrace.c: Likewise.
7695         * sysdeps/mach/hurd/cthreads.c: Likewise.
7696         * sysdeps/mach/hurd/dirstream.h: Likewise.
7697         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7698         * sysdeps/nptl/malloc-machine.h: Likewise.
7699         * sysdeps/nptl/stdio-lock.h: Likewise.
7700         * sysdeps/posix/dirstream.h: Likewise.
7701         * sysdeps/posix/getaddrinfo.c: Likewise.
7702         * sysdeps/posix/system.c: Likewise.
7703         * sysdeps/pthread/aio_suspend.c: Likewise.
7704         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7705         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7706         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7707         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7708         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7709         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7710         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7711         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7712         * sysdeps/unix/sysv/linux/system.c: Likewise.
7713         * sysdeps/x86_64/backtrace.c: Likewise.
7714         * time/alt_digit.c: Likewise.
7715         * time/era.c: Likewise.
7716         * time/tzset.c: Likewise.
7717         * wcsmbs/wcsmbsload.c: Likewise.
7718         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7719         instead of <bits/libc-lock.h> in comment.
7721 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7723         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7724         Only use .set mips2 if the current ISA is below mips2.
7725         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7726         Likewise.
7727         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7728         mips32r2 if the current ISA is below mips32r2.
7729         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7730         (TLS_IE): Updated to use the TLD_RDHWR macro.
7731         (TLS_LE): Likewise.
7732         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7733         __ASSEMBLER__ condition.
7735 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7737         Fix parallel build of before-compile targets.
7739         * sysdeps/mach/Makefile ($(patsubst
7740         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7741         mach-before-compile target.
7742         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7743         io fs process)): Move rule to dedicated hurd-before-compile target.
7745 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7747         Fix rules generating headers in hurd/ and mach/ when initial make call
7748         has subdir= explicitly set.
7750         * sysdeps/mach/Makefile ($(patsubst
7751         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7752         calling $(MAKE).
7753         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7754         io fs process)): Force subdir to hurd when calling $(MAKE).
7755         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7756         subdir to mach when calling $(MAKE).
7758 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7760         Check sysheaders when looking for Mach and Hurd headers
7762         * sysdeps/mach/configure.ac: Add sysheaders check.
7763         * sysdeps/mach/configure: Regenerate.
7764         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7765         * sysdeps/mach/hurd/configure: Regenerate.
7767 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7769         [BZ #18921]
7770         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7771         Fix inverted sense of test of 'o_directory_works' value.
7772         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7773         Bernhard Voelker <mail@bernhard-voelker.de>.
7775 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7777         [BZ #14912]
7778         * bits/linkmap.h: Move to ...
7779         * sysdeps/generic/linkmap.h: ...here.
7780         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7781         * sysdeps/aarch64/linkmap.h: ...here.
7782         * sysdeps/arm/bits/linkmap.h: Move to ...
7783         * sysdeps/arm/linkmap.h: ...here.
7784         * sysdeps/hppa/bits/linkmap.h: Move to ...
7785         * sysdeps/hppa/linkmap.h: ...here.
7786         * sysdeps/ia64/bits/linkmap.h: Move to ...
7787         * sysdeps/ia64/linkmap.h: ...here.
7788         * sysdeps/mips/bits/linkmap.h: Move to ...
7789         * sysdeps/mips/linkmap.h: ...here.
7790         * sysdeps/s390/bits/linkmap.h: Move to ...
7791         * sysdeps/s390/linkmap.h: ...here.
7792         * sysdeps/sh/bits/linkmap.h: Move to ...
7793         * sysdeps/sh/linkmap.h: ...here.
7794         * sysdeps/x86/bits/linkmap.h: Move to ...
7795         * sysdeps/x86/linkmap.h: ...here.
7796         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7798 2015-09-04  Andreas Schwab  <schwab@suse.de>
7800         [BZ #18635]
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7802         (__makecontext): Terminate FDE before return label.
7803         (__novec_makecontext): Likewise.
7805 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7807         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7808         first member of struct sv in syscall macro.
7810 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7812         [BZ #14912]
7813         * bits/stdio-lock.h: Move to ...
7814         * sysdeps/generic/stdio-lock.h: ...here.
7815         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7816         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7817         * sysdeps/nptl/stdio-lock.h: ...here.
7818         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7819         * include/libio.h: Include <stdio-lock.h> instead of
7820         <bits/stdio-lock.h>.
7821         * sysdeps/nptl/fork.c: Likewise.
7822         * sysdeps/pthread/flockfile.c: Likewise.
7823         * sysdeps/pthread/ftrylockfile.c: Likewise.
7824         * sysdeps/pthread/funlockfile.c: Likewise.
7826         [BZ #14912]
7827         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7828         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7829         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7830         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7831         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7832         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7833         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7835 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7837         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7838         (test-xfail-tst-protected1b): New variable.
7840 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7842         [BZ #14912]
7843         * bits/libc-tsd.h: Move to ...
7844         * sysdeps/generic/libc-tsd.h: ...here.
7845         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7846         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7847         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7848         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7849         * include/ctype.h: Include <libc-tsd.h> instead of
7850         <bits/libc-tsd.h>.
7851         * include/rpc/rpc.h: Likewise.
7852         * locale/localeinfo.h: Likewise.
7853         * sunrpc/rpc_thread.c: Likewise.
7854         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7855         * sysdeps/nptl/malloc-machine.h: Likewise.
7857         * Makefile (headers): Remove bits/libc-lock.h.
7858         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7860         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7861         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7862         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7863         <bits/stdio-lock.h>.
7864         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7865         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7867 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7869         [BZ #18757]
7870         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7871         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7872         BZ #18757.
7874 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7876         * malloc/mtrace.pl: Filter out NULL entries.
7878 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7880         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7881         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7882         macro.
7884         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7885         (TCP_CC_INFO): Likewise.
7886         (TCP_SAVE_SYN): Likewise.
7887         (TCP_SAVED_SYN): Likewise.
7889 2015-08-31  Brett Neumeier <brett@neumeier.us>
7891         [BZ #18870]
7892         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7894 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7896         [BZ #18873]
7897         Fix broken overflow check in posix_fallocate
7898         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7899         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7900         Fix parenthesization typo.
7902 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7904         [BZ #18887]
7905         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7906         tst-mntent-blank-passno.
7907         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7908         * misc/tst-mntent-blank-corrupt.c: New test.
7909         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7910         * misc/tst-mntent.c (do_test): ... here.
7912 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7914         [BZ #4404]
7915         * po/de.po: Fix SIGALRM typo.
7917 2015-08-28  James Perkins  <james@loowit.net>
7919         * time/tst-strptime2.c (tests): Replace short list of test
7920         strings for strptime %z specifier with code which exhaustively
7921         tests every combination of sign and 0 to 5 digits. Tests for
7922         rejection of invalid strings.
7924 2015-08-28  James Perkins  <james@loowit.net>
7926         [BZ #16141]
7927         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7928         calculation, removing incorrect decimal time rounding, so that
7929         all minute values result in a valid seconds value.
7930         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7931         offset range limits to UTC-99:59 through UTC+99:59 to parse
7932         current and historical use cases.
7933         * time/tst-strptime2.c (tests): Modify and add tests for the
7934         strptime %z input field descriptor, specifically conversion of
7935         minutes to seconds and validating an offset range of -9959 to
7936         +9959.
7938 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7939             Dmitry V. Levin  <ldv@altlinux.org>
7941         [BZ #18877]
7942         * posix/Makefile (tests): Add tst-mmap-offset.
7943         * posix/tst-mmap.c: New file.
7944         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7945         offset calculation for negative values.
7947 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7949         * sysdeps/i386/init-arch.h: New file.
7950         * sysdeps/i386/i586/init-arch.h: Likewise.
7951         * sysdeps/i386/i686/init-arch.h: Likewise.
7952         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7953         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7954         * sysdeps/x86/cpu-features.h (bit_I586): New.
7955         (bit_I686): Likewise.
7956         (bit_CX8): Likewise.
7957         (bit_CMOV): Likewise.
7958         (index_CX8): Likewise.
7959         (index_CMOV): Likewise.
7960         (index_I586): Likewise.
7961         (index_I686): Likewise.
7962         (reg_CX8): Likewise.
7963         (reg_CMOV): Likewise.
7964         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7965         available at compile-time.
7966         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7967         available at compile-time.
7968         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7969         (USE_I686): Likewise.
7971 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7973         * sysdeps/i386/bcopy.S: New file.
7974         * sysdeps/i386/bzero.S: Likewise.
7975         * sysdeps/i386/memcpy.S: Likewise.
7976         * sysdeps/i386/memmove.S: Likewise.
7977         * sysdeps/i386/mempcpy.S: Likewise.
7978         * sysdeps/i386/memset.S: Likewise.
7979         * sysdeps/i386/bzero.c: Removed.
7980         * sysdeps/i386/memset.c: Likewise.
7981         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7982         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7983         * sysdeps/i386/i586/memset_chk.S: Likewise.
7984         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7985         * sysdeps/i386/memcpy_chk.S: Here.
7986         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7987         * sysdeps/i386/memmove_chk.S: Here.
7988         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7989         * sysdeps/i386/mempcpy_chk.S: Likewise.
7990         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7991         * sysdeps/i386/memset_chk.S: Likewise.
7993 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7995         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7996         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7997         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7998         * soft-fp/fmadf4.c: Ditto.
7999         * soft-fp/fmatf4.c: Ditto.
8001 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8003         * sysdeps/i386/i586/Implies: Removed.
8004         * sysdeps/i386/i686/Implies: Likewise.
8006 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8008         * sysdeps/i386/i486/strlen.S: Moved to ...
8009         * sysdeps/i386/strlen.S: Here.
8011 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8013         * sysdeps/i386/i486/strcat.S: Moved to ...
8014         * sysdeps/i386/strcat.S: Here.
8016 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8018         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8019         * sysdeps/i386/pthread_spin_trylock.S: Here.
8020         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8021         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8023 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8025         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8026         * sysdeps/i386/string-inlines.c: Here.
8028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8030         * sysdeps/i386/i486/htonl.S: Moved ...
8031         * sysdeps/i386/htonl.S: here.
8033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8035         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8036         * sysdeps/i386/bits/atomic.h: Here.
8038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8040         * sysdeps/i386/i486/Versions: Removed.
8042 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8044         [BZ #2898]
8045         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8046         Based on patch by Aurelien Jarno.
8048 2015-08-26  Stan Shebs  <stanshebs@google.com>
8050         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8051         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8053 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8055         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8056         * sysdeps/powerpc/dl-procinfo.c:
8057         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8058         feature so it shows when LD_SHOW_AUXV=1.
8060 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8062         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8063         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8064         definition.  ISA 2.07B no longer requires full sync.
8066 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8068         [BZ #18863]
8069         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8070         (si_call_addr): Define.
8071         (si_syscall): Define.
8072         (si_arch): Define.
8074 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8076         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8077         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8078         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8079         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8080         (__memset_zero_constant_len_parameter): New.
8081         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8082         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8083         (__memset_zero_constant_len_parameter): Don't define if
8084         __memset_chk or USE_AS_BZERO are defined.
8086         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8087         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8088         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8090         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8091         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8092         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8093         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8094         comments.
8095         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8096         -mno-mmx for $(all-rtld-routines).
8097         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8098         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8099         i386.
8101 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8103         * sysdeps/generic/unwind.h
8104         (_Unwind_Word): Use __mode__(__unwind_word__)
8105         instead of __mode__(__word__).
8106         (_Unwind_Sword): Likewise.
8108         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8109         (MAX_NEEDED_INPUT): New define.
8110         (MAX_NEEDED_OUTPUT): New define.
8112         * NEWS: New item for IBM z13 string optimizations.
8114         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8115         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8116         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8117         * sysdeps/s390/multiarch/Makefile
8118         (sysdep_routines): Add memrchr functions.
8119         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8120         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8122         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8123         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8124         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8125         * sysdeps/s390/multiarch/Makefile
8126         (sysdep_routines): Add wmemcmp functions.
8127         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8128         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8129         * benchtests/bench-wmemcmp.c: New File.
8130         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8132         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8133         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8134         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8135         * sysdeps/s390/multiarch/Makefile
8136         (sysdep_routines): Add wmemset functions.
8137         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8138         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8139         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8140         * string/test-memset.c: Add wmemset support.
8141         * wcsmbs/test-wmemset.c: New File.
8142         * wcsmbs/Makefile (strop-tests): Add wmemset.
8143         * benchtests/bench-memset.c: Add wmemset support.
8144         * benchtests/bench-wmemset.c: New File.
8145         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8147         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8148         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8149         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8150         * sysdeps/s390/multiarch/Makefile
8151         (sysdep_routines): Add memccpy functions.
8152         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8153         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8154         * string/memccpy.c: Use MEMCCPY if defined.
8156         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8157         * sysdeps/s390/multiarch/memchr.c: Likewise.
8158         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8159         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8160         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8161         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8162         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8163         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8164         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8165         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8166         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8167         and rawmemchr functions.
8168         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8169         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8170         and wmemchr.
8171         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8172         * string/test-memchr.c: Add wmemchr support.
8173         * wcsmbs/test-wmemchr.c: New File.
8174         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8175         * benchtests/bench-memchr.c: Add wmemchr support.
8176         * benchtests/bench-wmemchr.c: New File.
8177         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8179         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8180         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8181         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8182         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8183         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8184         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8186         wcscspn functions.
8187         * sysdeps/s390/multiarch/ifunc-impl-list.c
8188         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8189         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8190         * string/test-strcspn.c: Add wcscspn support.
8191         * wcsmbs/test-wcscspn.c: New File.
8192         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8193         * benchtests/bench-strcspn.c: Add wcscspn support.
8194         * benchtests/bench-wcscspn.c: New File.
8195         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8197         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8198         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8199         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8200         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8201         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8202         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8204         wcspbrk functions.
8205         * sysdeps/s390/multiarch/ifunc-impl-list.c
8206         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8207         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8208         * string/test-strpbrk.c: Add wcspbrk support.
8209         * wcsmbs/test-wcspbrk.c: New File.
8210         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8211         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8212         * benchtests/bench-wcspbrk.c: New File.
8213         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8215         * sysdeps/s390/multiarch/strspn-c.c: New File.
8216         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8217         * sysdeps/s390/multiarch/strspn.c: Likewise.
8218         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8219         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8220         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8221         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8222         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8223         wcsspn functions.
8224         * sysdeps/s390/multiarch/ifunc-impl-list.c
8225         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8226         * string/test-strspn.c: Add wcsspn support.
8227         * wcsmbs/test-wcsspn.c: New File.
8228         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8229         * benchtests/bench-strspn.c: Add wcsspn support.
8230         * benchtests/bench-wcsspn.c: New File.
8231         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8233         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8234         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8235         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8236         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8237         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8238         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8239         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8240         wcsrchr functions.
8241         * sysdeps/s390/multiarch/ifunc-impl-list.c
8242         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8243         * benchtests/bench-wcsrchr.c: New File.
8244         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8246         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8247         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8248         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8249         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8250         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8251         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8252         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8253         wcschrnul functions.
8254         * sysdeps/s390/multiarch/ifunc-impl-list.c
8255         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8256         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8257         * string/test-strchr.c: Add wcschrnul support.
8258         * wcsmbs/test-wcschrnul.c: New File.
8259         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8260         * benchtests/bench-strchr.c: Add wcschrnul support.
8261         * benchtests/bench-wcschrnul.c: New File.
8262         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8264         * sysdeps/s390/multiarch/strchr-c.c: New File.
8265         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8266         * sysdeps/s390/multiarch/strchr.c: Likewise.
8267         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8268         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8269         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8271         wcschr functions.
8272         * sysdeps/s390/multiarch/ifunc-impl-list.c
8273         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8274         * string/strchr.c (STRCHR): Define and use macro.
8275         * benchtests/bench-wcschr.c: New File.
8276         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8278         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8279         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8280         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8281         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8282         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8283         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8285         wcsncmp functions.
8286         * sysdeps/s390/multiarch/ifunc-impl-list.c
8287         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8288         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8289         * benchtests/bench-strncmp.c: Add wcsncmp support.
8290         * benchtests/bench-wcsncmp.c: New File.
8291         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8293         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8294         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8295         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8296         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8297         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8298         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8299         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8301         wcscmp functions.
8302         * sysdeps/s390/multiarch/ifunc-impl-list.c
8303         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8304         * string/strcmp.c (STRCMP): Define and use macro.
8305         * benchtests/bench-wcscmp.c: New File.
8306         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8307         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8308         instead of _HAVE_STRING_ARCH_memchr.
8310         * sysdeps/s390/multiarch/strncat-c.c: New File.
8311         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8312         * sysdeps/s390/multiarch/strncat.c: Likewise.
8313         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8314         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8315         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8316         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8317         wcsncat functions.
8318         * sysdeps/s390/multiarch/ifunc-impl-list.c
8319         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8320         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8321         * string/test-strncat.c: Add wcsncat support.
8322         * wcsmbs/test-wcsncat.c: New File.
8323         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8324         * benchtests/bench-strncat.c: Add wcsncat support.
8325         * benchtests/bench-wcsncat.c: New File.
8326         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8328         * sysdeps/s390/multiarch/strcat-c.c: New File.
8329         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8330         * sysdeps/s390/multiarch/strcat.c: Likewise.
8331         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8332         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8333         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8335         wcscat functions.
8336         * sysdeps/s390/multiarch/ifunc-impl-list.c
8337         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8338         * string/strcat.c (STRCAT): Define and use macro.
8339         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8340         * string/test-strcat.c: Add wcscat support.
8341         * wcsmbs/test-wcscat.c: New File.
8342         * wcsmbs/Makefile (strop-tests): Add wcscat.
8343         * benchtests/bench-strcat.c: Add wcscat support.
8344         * benchtests/bench-wcscat.c: New File.
8345         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8347         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8348         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8349         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8350         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8351         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8352         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8353         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8354         wcpncpy functions.
8355         * sysdeps/s390/multiarch/ifunc-impl-list.c
8356         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8357         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8358         * string/test-stpncpy.c: Add wcpncpy support.
8359         * wcsmbs/test-wcpncpy.c: New File.
8360         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8361         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8362         * benchtests/bench-wcpncpy.c: New File.
8363         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8365         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8366         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8367         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8368         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8369         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8370         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8371         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8372         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8373         wcsncpy functions.
8374         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8375         * sysdeps/s390/multiarch/ifunc-impl-list.c
8376         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8377         * string/test-strncpy.c: Add wcsncpy support.
8378         * wcsmbs/test-wcsncpy.c: New File.
8379         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8380         * benchtests/bench-strncpy.c: Add wcsncpy support.
8381         * benchtests/bench-wcsncpy.c: New File.
8382         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8384         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8385         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8386         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8387         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8388         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8389         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8391         wcpcpy functions.
8392         * string/stpcpy.c: Use STPCPY if defined.
8393         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8394         * sysdeps/s390/multiarch/ifunc-impl-list.c
8395         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8396         * string/test-stpcpy.c: Add wcpcpy support.
8397         * wcsmbs/test-wcpcpy.c: New File.
8398         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8399         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8400         * benchtests/bench-wcpcpy.c: New File.
8401         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8403         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8404         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8405         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8406         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8407         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8408         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8409         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8411         wcscpy functions.
8412         * sysdeps/s390/multiarch/ifunc-impl-list.c
8413         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8414         * benchtests/bench-wcscpy.c: New File.
8415         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8417         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8418         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8419         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8420         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8421         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8422         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8424         wcsnlen functions.
8425         * sysdeps/s390/multiarch/ifunc-impl-list.c
8426         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8427         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8428         * string/test-strnlen.c: Add wcsnlen support.
8429         * wcsmbs/test-wcsnlen.c: New File.
8430         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8431         * benchtests/bench-strnlen.c: Add wcsnlen support.
8432         * benchtests/bench-wcsnlen.c: New File.
8433         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8435         * sysdeps/s390/multiarch/Makefile: New File.
8436         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8437         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8438         * sysdeps/s390/multiarch/strlen.c: Likewise.
8439         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8440         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8441         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8442         * string/strlen.c (STRLEN): Define and use macro.
8443         * sysdeps/s390/multiarch/ifunc-impl-list.c
8444         (IFUNC_VX_IMPL): New macro function.
8445         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8446         * benchtests/Makefile (wcsmbs-bench): New variable.
8447         (string-bench-all): Added wcsmbs-bench.
8448         * benchtests/bench-wcslen.c: New File.
8450         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8451         s390_vx_libc_ifunc2): New macro function.
8453         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8454         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8455         assembler support.
8456         * sysdeps/s390/configure: Regenerated.
8458         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8459         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8461         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8462         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8463         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8465         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8466         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8468         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8469         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8470         (memcmp, bcmp): Use __memcmp_default as alias source.
8471         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8472         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8473         Rename to __memcmp_default.
8474         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8475         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8476         (memcpy): Use __memcpy_default as alias source.
8477         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8478         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8479         Rename to __memcpy_default.
8480         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8481         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8482         (memset): Use __memset_default as alias source.
8483         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8484         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8485         Rename to __memset_default.
8486         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8487         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8488         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8489         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8490         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8491         (memcmp, bcmp): Use __memcmp_default as alias source.
8492         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8493         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8494         Rename to __memcmp_default.
8495         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8496         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8497         (memcpy): Use __memcpy_default as alias source.
8498         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8499         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8500         Rename to __memcpy_default.
8501         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8502         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8503         (memset): Use __memset_default as alias source.
8504         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8505         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8506         Rename to __memset_default.
8507         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8508         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8510         [BZ #18610]
8511         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8512         __ieee_instruction_pointer to __unused.
8513         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8514         __ieee_instruction_pointer.
8515         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8516         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8517         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8518         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8519         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8520         Mark dxc-field as reserved.
8522 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8524         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8525         if the weak reference is not null.
8527 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8529         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8531         [BZ #11214]
8532         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8534 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8536         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8537         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8538         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8539         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8540         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8541         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8542         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8543         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8544         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8545         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8546         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8547         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8548         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8549         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8550         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8551         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8552         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8553         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8555 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8557         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8558         register other than r0 for tabort, it has special meaning.
8559         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8560         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8561         transaction before starting syscall.
8563 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8565         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8567 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8569         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8571         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8572         * sysdeps/x86_64/rtld-memset.S: Likewise.
8573         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8574         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8575         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8576         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8578         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8580 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8582         * debug/strcpy_chk.c: Improve performance.
8583         * debug/stpcpy_chk.c: Likewise.
8584         * sysdeps/x86_64/strcpy_chk.S: Remove.
8585         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8587         [BZ #18240]
8588         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8590 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8592         [BZ #15128]
8593         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8594         ifuncmain8.
8595         (modules-names): Add ifuncmod8.
8596         ($(objpfx)ifuncmain8): New rule.
8597         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8598         <cpuid.h>.
8599         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8600         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8601         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8602         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8603         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8604         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8605         * sysdeps/x86_64/ifuncmain8.c: New file.
8606         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8607         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8608         Removed.
8609         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8610         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8611         Change rtld_savespace_sse to __glibc_unused2.
8612         (RTLD_CHECK_FOREIGN_CALL): Removed.
8613         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8614         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8615         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8617 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8619         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8621 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8623         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8624         Unconditionally set __fpcr to avoid uninialized warning.
8625         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8627 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8629         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8630         is corrupt.
8632         * malloc/arena.c (arena_get2): Drop unused argument.
8633         (arena_lock): Adjust.
8634         (arena_get_retry): Likewise.
8636 2015-08-24  Andreas Schwab  <schwab@suse.de>
8638         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8639         Don't define.
8640         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8641         (__ASSUME_IPC64): Don't undef.
8642         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8643         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8644         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8645         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8646         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8647         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8648         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8649         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8650         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8651         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8652         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8653         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8654         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8655         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8656         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8657         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8658         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8659         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8660         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8661         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8662         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8664 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8666         * manual/Makefile (install): Only build manual when perl is available.
8668 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8670         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8671         '#undef memcpy' by '#undef memchr'.
8673 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8675         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8676         memchr not point to the internal __GI_memchr implementation.
8678 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8680         * timezone/Makefile (CFLAGS-zdump.c): Remove
8681         -Wno-strict-prototypes.
8682         (CFLAGS-zic.c): Likewise.
8683         (CFLAGS-ialloc.c): Likewise.
8684         (CFLAGS-scheck.c): Likewise.
8686         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8687         -Wno-error=undef.
8689 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8691         * i386/i686/multiarch/strcasestr-c.c: Removed.
8692         * x86_64/multiarch/strcasestr.c: Likewise.
8693         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8694         Remove strcasestr.
8696 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8698         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8701         variables for high and low parts before possibly modifying them.
8703 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8705         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8706         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8707         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8708         of "multiarch/init-arch.h".
8709         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8710         * sysdeps/x86/init-arch.h: This.
8712 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8714         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8715         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8717 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8719         [BZ #17787]
8720         * manual/macros.texi: Add twoexp macro.
8721         * manual/filesys.texi: Fix exponents.
8722         * manual/llio.texi: Likewise.
8723         * manual/stdio.texi: Likewise.
8725 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8727         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8728         incorrect use.
8730 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8732         [BZ #18370]
8733         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8734         whose real or imaginary part has small absolute value.
8735         * math/s_csqrtf.c (__csqrtf): Likewise.
8736         * math/s_csqrtl.c (__csqrtl): Likewise.
8737         * math/auto-libm-test-in: Add more tests of csqrt.
8738         * math/auto-libm-test-out: Regenerated.
8739         * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8743         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8744         __ppc_set_ppr_very_low): New functions.
8745         * manual/platform.texi: Add documentation about
8746         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8748 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8750         * string/stpncpy.c (stpncpy): Improve performance using
8751         __strnlen/memcpy/memset.
8753 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8755         [BZ #18796]
8756         * scripts/test-installation.pl: Don't add -lmvec to build options if
8757         libmvec wasn't built.
8759 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8761         [BZ #14341]
8762         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8763         case when there is a gap between DT_REL and DT_JMPREL sections.
8764         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8765         (LDFLAGS-tst-split-dynreloc): New.
8766         (tst-split-dynreloc-ENV): Likewise.
8767         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8768         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8770 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8772         [BZ #18822]
8773         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8774         attribute_hidden.
8775         (__xstat64_conv): Likewise.
8776         (__xstat32_conv): Likewise.
8778 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8780         [BZ #18822]
8781         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8782         Don't load %ebx when calling __setcontext.  Call __setcontext
8783         with HIDDEN_JUMPTARGET.
8784         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8785         libc_hidden_def.
8787 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8789         * sysdeps/i386/i686/Makefile
8790         [$(subdir) == string] (sysdep_routines): Moved to ...
8791         * sysdeps/i386/Makefile: Here.
8792         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8793         * sysdeps/i386/cacheinfo.c: Here.
8794         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8795         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8796         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8797         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8799 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8801         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8802         __i586__ is defined.
8803         (HAS_I686): Defined to 1 if __i686__ is defined.
8805 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8807         * elf/Makefile [$(have-z-execstack) = yes]
8808         (CPPFLAGS-tst-execstack.c): New variable.
8810         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8811         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8812         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8813         UTMPX || _HAVE_UT_TV].
8814         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8815         UTMPX || _HAVE_UT_TV - 0].
8817 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8819         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8820         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8821         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8823 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8825         * sysdeps/powerpc/dl-procinfo.c:
8826         (_dl_powerpc_cap_flags): Added missing strings for some
8827         hwcap features.
8828         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8830 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8832         Port the 0x7efe...feff pattern to GCC 6.
8833         See Steve Ellcey's bug report in:
8834         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8835         * string/memrchr.c (MEMRCHR):
8836         * string/rawmemchr.c (RAWMEMCHR):
8837         * string/strchr.c (strchr):
8838         * string/strchrnul.c (STRCHRNUL):
8839         Rewrite code to avoid issues with signed shift overflow.
8841 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8843         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8844         whether cpuid is available only if HAS_CPUID is 0.
8845         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8846         (HAS_I586): Likewise.
8847         (HAS_I686): Likewise.
8849 2015-08-18  Zack Weinberg  <zackw@panix.com>
8851         * misc/Versions (libc): Add GLIBC_2.23.
8853 2015-08-18  Alan Modra  <amodra@gmail.com>
8855         [BZ #18421]
8856         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8857         .Lp__global.
8858         (_start): Load %dp via .Lp__global.
8859         [!SHARED]: Use .section .rodata.
8861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8863         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8864         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8866 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8868         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8869         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8871 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8873         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8874         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8876 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8878         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8879         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8881 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8883         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8884         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8886 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8888         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8889         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8891 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8893         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8895 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8897         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8898         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8899         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8900         (__ASSUME_LWS_CAS): Delete.
8902 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8904         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8905         * sysdeps/hppa/configure: Regenerated.
8906         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8907         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8908         * sysdeps/hppa/nptl/tls.h: Likewise.
8910 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8912         [BZ #18823]
8913         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8914         for scaling up small arguments.
8915         * math/s_csqrtf.c (__csqrtf): Likewise.
8916         * math/s_csqrtl.c (__csqrtl): Likewise.
8917         * math/auto-libm-test-in: Add more tests of csqrt.
8918         * math/auto-libm-test-out: Regenerated.
8920 2015-08-17  Andreas Schwab  <schwab@suse.de>
8922         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8923         version set GLIBC_2.19.
8925 2015-08-16  Zack Weinberg  <zackw@panix.com>
8927         [BZ #18681]
8928         * misc/regexp.h: This interface is no longer supported.
8929         Remove all contents, leaving only an #error directive.
8930         * misc/regexp.c (loc1, loc2, locs, step, advance):
8931         Demote to compatibility symbols.
8933 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8935         [BZ #18084]
8936         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8937         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8938         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8939         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8940         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8941         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8942         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8943         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8944         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8946 2015-08-15  Zack Weinberg  <zackw@panix.com>
8948         [BZ #18795]
8949         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8950         buffer length is known to be too large, not if it's known to be
8951         small enough.
8952         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8953         overflow at runtime, involving a length parameter, twice: once
8954         with a compile-time constant length parameter, once without.
8956 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8958         [BZ #18824]
8959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8960         scaling x * y up instead of down.
8961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8963         * math/auto-libm-test-in: Add more tests of fma.
8964         * math/auto-libm-test-out: Regenerated.
8966 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8970 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8972         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8973         unnecessary movq.
8974         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8975         Likewise.
8977 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8979         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8980         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8981         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8982         and tgamma.
8983         * math/auto-libm-test-out: Regenerated.
8984         * sysdeps/i386/fpu/libm-test-ulps: Update.
8985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8987         [BZ #16520]
8988         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8989         (__tanh): Force underflow exception for arguments with small
8990         absolute value.
8991         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8992         (__tanhf): Force underflow exception for arguments with small
8993         absolute value.
8994         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8995         (__tanhl): Force underflow exception for arguments with small
8996         absolute value.
8997         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8998         (__tanhl): Force underflow exception for arguments with small
8999         absolute value.
9000         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9001         (__tanhl): Force underflow exception for arguments with small
9002         absolute value.
9003         * math/auto-libm-test-in: Add more tests of tanh.
9004         * math/auto-libm-test-out: Regenerated.
9005         * sysdeps/i386/fpu/libm-test-ulps: Update.
9007 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9009         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9010         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9012 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9014         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9015         <cpuid.h>.
9017 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9019         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9020         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9022 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9024         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9025         Remove $(objpfx)init-arch.o.
9026         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9027         init-arch.
9028         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9029         (INIT_ARCH_EXT): Defined as empty.
9030         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9032         __init_cpu_features call.  Replace HAS_XXX with
9033         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9034         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9035         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9036         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9037         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9038         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9039         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9040         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9041         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9043         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9046         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9047         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9050         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9051         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9053         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9054         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9055         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9056         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9057         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9058         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9059         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9060         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9061         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9062         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9065         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9067         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9068         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9070 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9072         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9073         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9074         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9075         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9076         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9077         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9078         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9079         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9080         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9081         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9082         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9083         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9084         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9085         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9086         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9087         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9088         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9089         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9090         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9091         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9092         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9093         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9094         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9095         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9096         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9097         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9098         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9099         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9100         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9102         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9103         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9104         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9105         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9106         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9107         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9108         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9109         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9110         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9111         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9112         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9113         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9114         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9116 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9118         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9119         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9123         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9124         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9125         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9126         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9127         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9128         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9129         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9130         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9131         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9132         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9133         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9134         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9135         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9136         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9137         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9139         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9140         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9141         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9142         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9143         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9144         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9145         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9146         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9147         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9148         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9149         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9150         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9151         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9153         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9154         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9155         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9156         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9157         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9158         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9159         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9160         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9162 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9164         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9165         (dl_platform_init): Call init_cpu_features.
9166         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9167         * sysdeps/i386/i686/cacheinfo.c
9168         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9169         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9170         * sysdeps/i386/i686/multiarch/Versions: Removed.
9171         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9172         Removed.
9173         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9174         * sysdeps/unix/sysv/linux/x86/Makefile
9175         (libpthread-sysdep_routines): Remove init-arch.
9176         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9177         <sysdeps/x86_64/dl-procinfo.c> instead of
9178         sysdeps/generic/dl-procinfo.c>.
9179         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9180         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9181         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9182         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9183         [$(subdir) == elf] (tests-static): Add
9184         tst-get-cpu-features-static.
9185         * sysdeps/x86/Versions: New file.
9186         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9187         * sysdeps/x86/cpu-features.c: Likewise.
9188         * sysdeps/x86/cpu-features.h: Likewise.
9189         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9190         * sysdeps/x86/libc-start.c: Likewise.
9191         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9192         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9193         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9194         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9195         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9196         Assume USE_MULTIARCH is defined and don't check it.
9197         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9198         (is_amd): Likewise.
9199         (max_cpuid): Likewise.
9200         (intel_check_word): Likewise.
9201         (__cache_sysconf): Don't call __init_cpu_features.
9202         (__x86_preferred_memory_instruction): Removed.
9203         (init_cacheinfo): Don't call __init_cpu_features. Replace
9204         __cpu_features with GLRO(dl_x86_cpu_features).
9205         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9206         (dl_platform_init): Call init_cpu_features.
9207         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9208         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9209         * sysdeps/x86_64/multiarch/Versions: Removed.
9210         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9211         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9212         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9213         Removed.
9214         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9216 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9218         [BZ #18820]
9219         * libio/Makefile (test-fmemopen-mem): New test.
9220         * libio/test-fmemopen.c (do_bz18820): New test.
9221         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9222         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9224 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9226         [BZ #16734]
9227         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9228         (FREE_BUF): Delete.
9229         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9230         * libio/genops.c (_IO_setb): Use malloc and free directly.
9231         (_IO_default_doallocate, _IO_default_finish): Likewise.
9232         ( _IO_unbuffer_all): Likewise.
9233         ( libc_freeres_fn): Likewise.
9234         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9235         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9236         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9237         (_IO_wdefault_doallocate): Likewise.
9239 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9241         [BZ #18086]
9242         * sysdeps/posix/nice.c (nice): Restore old errno.
9243         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9245 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9249 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9251         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9252         __bcopy and add a weak_alias to bcopy.
9253         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9254         for static build.
9256         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9257         cleanup macro usage.
9258         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9261         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9262         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9263         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9264         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9265         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9266         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9267         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9269         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9271         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9276         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9278         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9279         libc_hidden_def.
9280         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9282         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9283         (sysdep_routines): Add strstr-ppc64.
9284         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9286 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9288         [BZ #18778]
9289         * elf/Makefile (tests): Add Add tst-nodelete2.
9290         (modules-names): Add tst-nodelete2mod.
9291         (tst-nodelete2mod.so-no-z-defs): New.
9292         ($(objpfx)tst-nodelete2): Likewise.
9293         ($(objpfx)tst-nodelete2.out): Likewise.
9294         (LDFLAGS-tst-nodelete2): Likewise.
9295         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9296         out of loop through all loaded libraries.
9297         * elf/tst-nodelete2.c: New file.
9298         * elf/tst-nodelete2mod.c: Likewise.
9299         * elf/tst-znodelete-zlib.cc: Delete.
9301 2015-08-11  Andreas Schwab  <schwab@suse.de>
9303         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9304         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9305         (__openat64_nocancel): Likewise.
9307 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9309         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9310         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9311         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9312         * math/auto-libm-test-out: Regenerated.
9313         * sysdeps/i386/fpu/libm-test-ulps: Update.
9314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9316 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #18790]
9319         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9320         threshold for returning +/- 1.
9321         * math/auto-libm-test-in: Add more tests of tanh.
9322         * math/auto-libm-test-out: Regenerated.
9323         * sysdeps/i386/fpu/libm-test-ulps: Update.
9325 2015-08-10  Andreas Schwab  <schwab@suse.de>
9327         [BZ #18781]
9328         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9329         MORE_OFLAGS to oflag.
9330         * io/test-lfs.c (do_test): Test openat64.
9332 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9334         [BZ #18789]
9335         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9336         smaller threshold for returning the argument.
9337         * math/auto-libm-test-in: Add more tests of sinh.
9338         * math/auto-libm-test-out: Regenerated.
9339         * sysdeps/i386/fpu/libm-test-ulps: Update.
9341 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9343         [BZ #18674]
9344         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9345         break.
9347 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9349         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9350         (generated): Don't add $(addprefix z.,$(tzfiles)).
9352 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9354         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9355         * scripts/sysd-rules.awk: Likewise.
9357 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9359         * iconvdata/tst-tables.sh: Change echo -n to printf.
9360         * nss/db-Makefile: Likewise.
9361         * posix/tst-getconf.sh: Likewise.
9362         * stdio-common/tst-unbputc.sh: Likewise.
9364 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9366         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9367         MADV_*_PAGES defines behind this feature check.
9369 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9371         [BZ #18480]
9372         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9373         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9374         Define.
9375         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9376         LOAD_REGS_5, LOAD_REGS_6): Update.
9377         (INTERNAL_SYSCALL): Update using new LOAD defines.
9378         (INTERNAL_SYSCALL_NCS): Likewise.
9379         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9381 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9383         [BZ #16734]
9384         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9386 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9388         [BZ #17905]
9389         * catgets/Makefile (tst-catgets-mem): New test.
9390         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9391         * catgets/open_catalog.c (__open_catalog): Likewise.
9392         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9394 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9396         [BZ #18787]
9397         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9398         clobber registers.
9399         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9400         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9401         Cast return to __typeof (oldval).
9403 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9405         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9406         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9407         and delete sys/syscall.h include.
9409 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9411         [BZ #16517]
9412         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9413         (tan): Force underflow exception for arguments with small absolute
9414         value.
9415         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9416         (__kernel_tanf): Force underflow exception for arguments with
9417         small absolute value.
9418         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9419         (__kernel_tanl): Force underflow exception for arguments with
9420         small absolute value.
9421         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9422         (__kernel_tanl): Force underflow exception for arguments with
9423         small absolute value.
9424         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9425         (__kernel_tanl): Force underflow exception for arguments with
9426         small absolute value.
9427         * math/auto-libm-test-in: Add more tests of tan.
9428         * math/auto-libm-test-out: Regenerated.
9430 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9432         Fix sysdeps/i386/fpu/s_scalbn.S build
9434         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9436 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9438         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9440 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9442         Fix gcrt0.o compilation
9444         When static-start-installed-name is different from
9445         start-installed-name, we must not use the shared objects.
9447         * csu/Makefile
9448         (extra-objs): Add gmon-start.o when building shared library and
9449         $(static-start-installed-name) is different from
9450         $(start-installed-name).
9451         $(objpfx)g$(static-start-installed-name): When building shared
9452         library and $(static-start-installed-name) is different from
9453         $(static-start-installed-name), revert to non-shared rule,
9454         i.e. using $(objpfx)% and gmon-start.o.
9456 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9458         [BZ #16519]
9459         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9460         (__ieee754_sinh): Force underflow exception for arguments with
9461         small absolute value.
9462         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9463         (__ieee754_sinhf): Force underflow exception for arguments with
9464         small absolute value.
9465         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9466         (__ieee754_sinhl): Force underflow exception for arguments with
9467         small absolute value.
9468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9469         (__ieee754_sinhl): Force underflow exception for arguments with
9470         small absolute value.
9471         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9472         (__ieee754_sinhl): Force underflow exception for arguments with
9473         small absolute value.
9474         * math/auto-libm-test-in: Add more tests of sinh.
9475         * math/auto-libm-test-out: Regenerated.
9476         * sysdeps/i386/fpu/libm-test-ulps: Update.
9478 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9480         * libio/oldfileops.c: Include unistd.h.
9482 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9484         * stdlib/isomac.c: Include ctype.h.
9486 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9488         * dirent/tst-seekdir.c (main): Converted to ...
9489         (do_test): ... this.
9490         (TEST_FUNCTION): New macro.
9491         Include test-skeleton.c.
9492         * elf/tst-dlmodcount.c (main): Converted to ...
9493         (do_test): ... this.
9494         (TEST_FUNCTION): New macro.
9495         Include test-skeleton.c.
9496         * elf/tst-order-main.c (main): Converted to ...
9497         (do_test): ... this.
9498         (TEST_FUNCTION): New macro.
9499         Include test-skeleton.c.
9500         * elf/tst-pie2.c (main): Converted to ...
9501         (do_test): ... this.
9502         (TEST_FUNCTION): New macro.
9503         Include test-skeleton.c.
9504         * inet/tst-ether_aton.c (main): Converted to ...
9505         (do_test): ... this.
9506         (TEST_FUNCTION): New macro.
9507         Include test-skeleton.c.
9508         * misc/tst-mntent.c (main): Converted to ...
9509         (do_test): ... this.
9510         (TEST_FUNCTION): New macro.
9511         Include test-skeleton.c.
9512         * misc/tst-tsearch.c (main): Converted to ...
9513         (do_test): ... this.
9514         (TEST_FUNCTION): New macro.
9515         Include test-skeleton.c.
9516         * posix/tst-regexloc.c (main): Converted to ...
9517         (do_test): ... this.
9518         (TEST_FUNCTION): New macro.
9519         Include test-skeleton.c.
9520         * resolv/tst-aton.c (main): Converted to ...
9521         (do_test): ... this.
9522         (TEST_FUNCTION): New macro.
9523         Include test-skeleton.c.
9524         * stdio-common/test-fwrite.c (main): Converted to ...
9525         (do_test): ... this.
9526         (TEST_FUNCTION): New macro.
9527         Include test-skeleton.c.
9528         * stdio-common/tst-ferror.c (main): Converted to ...
9529         (do_test): ... this.
9530         (TEST_FUNCTION): New macro.
9531         Include test-skeleton.c.
9532         * stdio-common/tst-printf.c (main): Converted to ...
9533         (do_test): ... this.
9534         (TEST_FUNCTION): New macro.
9535         Include test-skeleton.c.
9536         * stdio-common/tst-printfsz.c (main): Converted to ...
9537         (do_test): ... this.
9538         (TEST_FUNCTION): New macro.
9539         Include test-skeleton.c.
9540         * stdlib/tst-strtod.c (main): Converted to ...
9541         (do_test): ... this.
9542         (TEST_FUNCTION): New macro.
9543         Include test-skeleton.c.
9544         * string/tst-strlen.c (main): Converted to ...
9545         (do_test): ... this.
9546         (TEST_FUNCTION): New macro.
9547         Include test-skeleton.c.
9548         * string/tst-svc.c (main): Converted to ...
9549         (do_test): ... this.
9550         (TEST_FUNCTION): New macro.
9551         Include test-skeleton.c.
9552         * time/tst-strptime.c (main): Converted to ...
9553         (do_test): ... this.
9554         (TEST_FUNCTION): New macro.
9555         Include test-skeleton.c.
9556         * timezone/tst-timezone.c (main): Converted to ...
9557         (do_test): ... this.
9558         (TEST_FUNCTION): New macro.
9559         Include test-skeleton.c.
9561 2015-08-05  Zack Weinberg  <zackw@panix.com>
9563         * misc/regexp.h: Update comments.
9565 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9567         [BZ #18635]
9568         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9569         before return label.
9571 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9573         [BZ #18661]
9574         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9575         when calling __errno_location.
9576         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9577         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9579 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9581         [BZ #18661]
9582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9583         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9584         __gettimeofday.
9586 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9588         [BZ #18661]
9589         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9590         (__start_context): Don't use pop to restore %rdi so that stack
9591         is aligned to 16 bytes when calling __setcontext.
9593 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9595         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9596         only for libc.
9597         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9599 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9601         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9602         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9603         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9605 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9607         * string/memccpy.c (memccpy):
9608         Improve performance by using memchr/memcpy/__mempcpy.
9610 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9612         * string/strncpy.c (strncpy):
9613         Improve performance by using __strnlen/memcpy.
9615 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9617         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9618         Optimize to avoid an unnecessary FPCR read.
9620 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9622         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9623         Optimize to reduce FPCR/FPSR accesses.
9625 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9627         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9628         dead->data[category] != NULL.
9630 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9632         [BZ #18647]
9633         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9634         and |x| close to 1, use absolute value of x when computing log.
9635         * math/auto-libm-test-in: Add more tests of pow.
9636         * math/auto-libm-test-out: Regenerated.
9638 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9640         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9641         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9642         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9644 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9646         [BZ #18525]
9647         * locales/km_KH: Remove timezone definition.
9648         * locales/lo_LA: Likewise.
9649         * locales/my_MM: Likewise.
9650         * locales/nan_TW@latin: Likewise.
9651         * locales/th_TH: Likewise.
9652         * locales/uk_UA: Likewise.
9654 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9656         [BZ #18265]
9657         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9658         (wcsncat): Likewise.
9659         (wcscmp): Likewise.
9660         (wcsncmp): Likewise.
9662 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9664         * test-skeleton.c (usage): New function.
9665         (main): Call usage when opt is '?'.
9667 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9669         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9670         before first use.
9672 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9674         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9675         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9676         in there too.
9678 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9680         * version.h (RELEASE): Set to "development".
9681         (VERSION): Set to "2.22.90"
9683         * version.h (RELEASE): Set to "stable".
9684         (VERSION): Set to "2.22"
9685         * include/features.h (__GLIBC_MINOR__): Set to 22.
9687 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9689         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9690         Restructure macro to avoid "value computed is not used" warning.
9691         (atomic_compare_and_exchange_val_acq): Likewise.
9693 2015-08-04  Andreas Schwab  <schwab@suse.de>
9695         [BZ #18635]
9696         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9697         ret.
9698         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9700 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9702         * po/pl.po: Updated translation.
9703         * po/uk.po: Likewise.
9704         * po/fi.po: Likewise.
9705         * po/ko.po: Likewise.
9706         * po/ru.po: Likewise.
9707         * po/vi.po: Likewise.
9709 2015-07-31  Zack Weinberg  <zackw@panix.com>
9711         [BZ #18681]
9712         * regexp.h: Add unconditional #warning stating that this header
9713         will be removed soon.  Revise banner comment to match.
9714         (compile): Consistently use ERROR instead of RETURN to report
9715         errors (partial fix for bz#18681).
9716         * regexp.c: Don't include regexp.h. Remove some unnecessary
9717         declarations.
9719 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9721         * po/libc.pot: Regenerated.
9723 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9725         [BZ #18740]
9726         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9727         float-vlen4-arch-ext-cflags): Removed.
9728         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9729         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9731 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9733         [BZ #14113]
9734         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9735         aligned to __aligned__.
9736         (pthread_cond_t, pthread_rwlock_t): Likewise.
9738 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9740         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9742 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9744         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9745         (struct sigaction): Change sa_flags from a long to an int, and add
9746         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9748 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9750         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9751         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9752         sysdeps/generic/sysdep.h include.
9753         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9754         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9755         sysdeps/hppa/sysdep.h.
9756         (ENTRY, PSEUDO): Undefine before defining.
9758 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9760         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9761         from scratch to use INTERNAL_SYSCALL.
9763 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9765         [BZ #18078]
9766         * scripts/check-localplt.awk: Support alternate relocations.
9767         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9768         sections.
9769         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9770         malloc entries with + REL R_386_GLOB_DAT.
9771         * sysdeps/x86_64/localplt.data: New file.
9773 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9775         [BZ #18731]
9776         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9777         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9778         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9780 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9782         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9784 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9786         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9787         directly in terms of __sync_fetch_and_add and delete (int) cast.
9789 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9791         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9792         the -D_ASM_IA64_CURRENT_H flag.
9794 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9796         [BZ #18641]
9797         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9799 2015-07-27  Andreas Schwab  <schwab@suse.de>
9801         * conform/conformtest.pl (checknamespace): Filter out string
9802         literals while tokenizing.
9804 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9806         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9807         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9808         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9810 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9812         * nptl/tst-join7mod.c: Add #include <string.h>.
9814 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9816         * sysdeps/nios2/libm-test-ulps: Update.
9818 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9820         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9821         Fix order of arguments to the rt_sigprocmask syscall.
9822         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9823         Likewise.
9825 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9827         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9829 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9831         [BZ #18457]
9832         * nptl/Makefile (tests): New test case tst-join7.
9833         (modules-names): New test case module tst-join7mod.
9834         * nptl/tst-join7.c: New file.
9835         * nptl/tst-join7mod.c: New file.
9836         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9837         all translation units in libc.so, libpthread.so and rtld.
9839 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9843 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9847         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9850         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9851         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9852         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9854         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9855         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9857         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9858         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9860         implementation.
9862 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9864         [BZ #17711]
9865         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9866         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9867         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9868         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9869         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9870         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9872 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9874         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9875         instead of just saying load lock in the comments.
9877 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9879         * sysdeps/unix/Subdirs: Moved ...
9880         * sysdeps/posix/Subdirs: ... here.
9881         * login/pty.h (struct termios, struct winsize): Add forward decls.
9882         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9883         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9884         * sysdeps/arm/nacl/libc.abilist: Updated.
9885         * sysdeps/nacl/libutil.abilist: New file.
9887         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9888         (SIGWINCH): New macro.
9890         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9891         * sysdeps/arm/nacl/libc.abilist: Add it.
9893 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9895         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9897 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9899         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9900         Swap __glibc_reserved0 and sa_flags order.
9902 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9904         [BZ #18657]
9905         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9906         are pending TLS destructor calls.
9907         * include/link.h (struct link_map): Add concurrency note for
9908         L_TLS_DTOR_COUNT.
9909         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9910         Don't touch the link map flag.  Atomically increment
9911         l_tls_dtor_count.
9912         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9913         Avoid taking the load lock and don't touch the link map flag.
9914         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9915         * stdlib/Makefile (tests): Use it.
9916         * stdlib/tst-tls-atexit.c (do_test): dlopen
9917         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9918         to allow tst-tls-atexit-nodelete test case to use it.
9920 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9922         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9923         to bits/types.h.
9924         (msgqnum_t): New typedef.
9925         (msglen_t): Likewise.
9926         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9927         and msg_qbytes type to msglen_t.
9929 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9931         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9932         pad0 to __glibc_reserved0.
9933         (struct stat64): Likewise.
9935 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9937         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9938         Change sa_flags from a long to an int and add __glibc_reserved0 before
9939         it for padding.
9941 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9943         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9944         anonymous by deleting "siginfo" name.
9946 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9948         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9949         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9950         rather than __nacl_irt_filename.
9951         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9953         * NEWS: New item for arm-nacl port.
9954         * sysdeps/arm/nacl/libc.abilist: New file.
9955         * sysdeps/nacl/ld.abilist: New file.
9956         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9957         * sysdeps/nacl/libanl.abilist: New file.
9958         * sysdeps/nacl/libcrypt.abilist: New file.
9959         * sysdeps/nacl/libdl.abilist: New file.
9960         * sysdeps/nacl/libm.abilist: New file.
9961         * sysdeps/nacl/libpthread.abilist: New file.
9962         * sysdeps/nacl/libresolv.abilist: New file.
9963         * sysdeps/nacl/librt.abilist: New file.
9965 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9967         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9968         __startcontext to initialize the new context.
9969         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9970         up CFI directive to forbid further backtracing.
9972 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9974         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9975         reference.
9976         * charmaps/ANSI_X3.4-1968: Likewise.
9977         * charmaps/BS_4730: Likewise.
9978         * charmaps/BS_VIEWDATA: Likewise.
9979         * charmaps/CP1250: Likewise.
9980         * charmaps/CP1251: Likewise.
9981         * charmaps/CP1252: Likewise.
9982         * charmaps/CP1253: Likewise.
9983         * charmaps/CP1254: Likewise.
9984         * charmaps/CP1255: Likewise.
9985         * charmaps/CP1256: Likewise.
9986         * charmaps/CSN_369103: Likewise.
9987         * charmaps/EBCDIC-DK-NO: Likewise.
9988         * charmaps/GB_1988-80: Likewise.
9989         * charmaps/GREEK-CCITT: Likewise.
9990         * charmaps/GREEK7: Likewise.
9991         * charmaps/INIS-8: Likewise.
9992         * charmaps/ISIRI-3342: Likewise.
9993         * charmaps/ISO_2033-1983: Likewise.
9994         * charmaps/ISO_5427-EXT: Likewise.
9995         * locales/POSIX: Likewise.
9996         * locales/ar_SA: Likewise.
9997         * locales/be_BY: Likewise.
9998         * locales/be_BY@latin: Likewise.
9999         * locales/ca_ES: Likewise.
10000         * locales/cs_CZ: Likewise.
10001         * locales/da_DK: Likewise.
10002         * locales/de_BE: Likewise.
10003         * locales/de_CH: Likewise.
10004         * locales/de_LU: Likewise.
10005         * locales/en_AU: Likewise.
10006         * locales/en_BW: Likewise.
10007         * locales/en_CA: Likewise.
10008         * locales/en_DK: Likewise.
10009         * locales/en_GB: Likewise.
10010         * locales/en_IE: Likewise.
10011         * locales/en_NZ: Likewise.
10012         * locales/en_ZA: Likewise.
10013         * locales/en_ZW: Likewise.
10014         * locales/es_AR: Likewise.
10015         * locales/es_BO: Likewise.
10016         * locales/es_CL: Likewise.
10017         * locales/es_CO: Likewise.
10018         * locales/es_DO: Likewise.
10019         * locales/es_EC: Likewise.
10020         * locales/es_ES: Likewise.
10021         * locales/es_HN: Likewise.
10022         * locales/es_MX: Likewise.
10023         * locales/es_PA: Likewise.
10024         * locales/es_PE: Likewise.
10025         * locales/es_PY: Likewise.
10026         * locales/es_SV: Likewise.
10027         * locales/es_US: Likewise.
10028         * locales/es_UY: Likewise.
10029         * locales/es_VE: Likewise.
10030         * locales/et_EE: Likewise.
10031         * locales/fa_IR: Likewise.
10032         * locales/fo_FO: Likewise.
10033         * locales/fr_CA: Likewise.
10034         * locales/fr_CH: Likewise.
10035         * locales/gv_GB: Likewise.
10036         * locales/he_IL: Likewise.
10037         * locales/hr_HR: Likewise.
10038         * locales/id_ID: Likewise.
10039         * locales/is_IS: Likewise.
10040         * locales/it_CH: Likewise.
10041         * locales/iw_IL: Likewise.
10042         * locales/kl_GL: Likewise.
10043         * locales/ko_KR: Likewise.
10044         * locales/kw_GB: Likewise.
10045         * locales/lg_UG: Likewise.
10046         * locales/lt_LT: Likewise.
10047         * locales/lv_LV: Likewise.
10048         * locales/mi_NZ: Likewise.
10049         * locales/nhn_MX: Likewise.
10050         * locales/nl_BE: Likewise.
10051         * locales/pl_PL: Likewise.
10052         * locales/sk_SK: Likewise.
10053         * locales/sl_SI: Likewise.
10054         * locales/sv_FI: Likewise.
10055         * locales/tl_PH: Likewise.
10056         * locales/tr_TR: Likewise.
10057         * locales/vi_VN: Likewise.
10059 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10061         [BZ #17475]
10062         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10063         of tu_IN and bh_IN.
10065 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10067         [BZ #18694]
10068         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10069         bits/wordsize.h.
10070         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10072 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10074         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10075         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10076         (spawn_thread): New function.
10077         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10078         (do_test): ... here.  Use IS_LOADED to test for its
10079         availability.
10081 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10083         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10085 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10087         [BZ #18696]
10088         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10089         si_addr_bnd.
10090         (si_lower): New.
10091         (si_upper): Likewise.
10093 2015-07-16  David S. Miller  <davem@davemloft.net>
10095         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10097 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10099         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10100         buffer.
10101         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10102         fail output information.
10104 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10107         and strstr-ppc64..
10108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10109         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10110         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10111         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10112         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10114 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10116         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10117         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10118         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10119         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10121 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10123         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10124         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10125         rtld_hidden_proto.
10126         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10128 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10130         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10131         the test can fail.
10133         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10135         [BZ #18676]
10136         * elf/tst-nodelete-opened.c: New test case.
10137         * elf/tst-nodelete-opened-lib.c: New test case module.
10138         * elf/Makefile (tests, modules-names): Use them.
10139         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10140         early.
10142 2015-07-15  David S. Miller  <davem@davemloft.net>
10144         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10145         futex-intenal.h
10146         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10147         * sysdeps/sparc/sparc64/Makefile: Likewise.
10148         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10149         Remove space from macro define.
10150         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10152 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10154         [BZ #17475]
10155         * locale/iso-639.def: Update Bhili and Tulu language codes as
10156         per iso639-3.
10158 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10160         * elf/tst-leaks1.c (main): Converted to ...
10161         (do_test): ... this.
10162         (TEST_FUNCTION): New macro.
10163         Include test-skeleton.c.
10164         * localedata/tst-langinfo.c (main): Converted to ...
10165         (do_test): ... this.
10166         (TEST_FUNCTION): New macro.
10167         Include test-skeleton.c.
10168         * math/test-fpucw.c (main): Converted to ...
10169         (do_test): ... this.
10170         (TEST_FUNCTION): New macro.
10171         Include test-skeleton.c.
10172         * math/test-tgmath.c (main): Converted to ...
10173         (do_test): ... this.
10174         (TEST_FUNCTION): New macro.
10175         Include test-skeleton.c.
10176         * math/test-tgmath2.c (main): Converted to ...
10177         (do_test): ... this.
10178         (TEST_FUNCTION): New macro.
10179         Include test-skeleton.c.
10180         * setjmp/tst-setjmp.c (main): Converted to ...
10181         (do_test): ... this.
10182         (TEST_FUNCTION): New macro.
10183         Include test-skeleton.c.
10184         * stdio-common/tst-sscanf.c (main): Converted to ...
10185         (do_test): ... this.
10186         (TEST_FUNCTION): New macro.
10187         Include test-skeleton.c.
10188         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10189         (do_test): ... this.
10190         (TEST_FUNCTION): New macro.
10191         Include test-skeleton.c.
10193         * elf/tst-audit9.c (main): Converted to ...
10194         (do_test): ... this.
10195         (TEST_FUNCTION): New macro.
10196         Include test-skeleton.c.
10198 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10200         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10202 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10204         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10205         New variable.
10207 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10209         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10211 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10213         * sysdeps/generic/dl-fileid.h: New file.
10214         * sysdeps/posix/dl-fileid.h: New file.
10215         * sysdeps/nacl/dl-fileid.h: New file.
10216         * include/link.h: Include <dl-fileid.h>.
10217         (struct link_map): Replace l_dev and l_ino with l_file_id.
10218         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10219         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10220         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10222 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10224         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10226 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10228         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10229         Add iff $CXX is set.
10230         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10231         Likewise.
10232         (tst-nodelete-zmodiff): Likewise.
10233         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10235 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10237         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10239 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10241         * sysdeps/aarch64/fpu/math_private.h
10242         (define math_opt_barrier): Add AArch64 version.
10243         (math_force_eval): Likewise.
10245 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10247         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10249 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10251         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10252         %ld with %jd and cast to intmax_t.
10253         (do_test_length_zero): Likewise.
10255 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10257         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10259 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10261         * sysdeps/tile/libm-test-ulps: Regenerated.
10263         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10264         Comment out the whole function, not just its body.
10266 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10268         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10269         locks.
10271         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10273 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10275         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10276         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10278 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10280         * sysdeps/nptl/futex-internal.h: New file.
10281         * sysdeps/nacl/futex-internal.h: New file.
10282         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10283         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10284         error checking.
10285         (setxid_unmark_thread): Likewise.
10286         (__nptl_setxid): Likewise.
10287         (__wait_lookup_done): Likewise.
10288         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10289         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10290         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10291         * nptl/pthread_once.c (clear_once_control): Likewise.
10292         (__pthread_once_slow): Likewise.
10293         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10294         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10295         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10296         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10297         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10298         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10299         Likewise.
10300         (__pthread_rwlock_rdlock): Likewise.
10301         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10302         Likewise.
10303         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10304         Likewise.
10305         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10306         Likewise.
10307         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10308         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10309         Likewise.
10310         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10311         __ASSUME_PRIVATE_FUTEX check.
10312         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10313         Check that shared futexes are supported.
10314         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10315         wrappers with error checking.
10316         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10317         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10318         * nptl/pthread_barrierattr_setpshared.c
10319         (pthread_barrierattr_setpshared): Check that shared futexes are
10320         supported.
10321         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10322         Likewise.
10323         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10324         Likewise.
10325         * nptl/sem_init.c (futex_private_if_supported): Remove.
10326         (__new_sem_init): Adapt and check that shared futexes are supported.
10327         * nptl/sem_open.c (sem_open): Likewise.
10328         * nptl/sem_post.c (futex_wake): Remove.
10329         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10330         (do_futex_wait): Use futex wrappers with error checking.
10331         * nptl/sem_wait.c: Include lowlevellock.h.
10332         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10333         Use futex_supports_pshared.
10334         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10335         Use futex wrappers with error checking.
10336         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10337         Likewise.
10338         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10339         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10340         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10341         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10342         (futex_wake): Likewise.
10343         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10344         (do_futex_wait): Use futex wrappers with error checking.
10345         (__new_sem_wait_slow): Update EINTR handling.
10346         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10348 2015-07-09  Martin Sebor  <msebor@redhat.com>
10350         [BZ #18435]
10351         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10352         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10353         * nptl/Makefile (test-xfail-tst-once5): Define.
10355 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10357         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10358         * elf/dl-minimal.c: For readability, reorder some definitions and
10359         introduce more page breaks.  Include <stdio.h>.
10360         (__libc_fatal): New function.
10362         * include/unistd.h: Add rtld_hidden_proto for _exit.
10363         * posix/_exit.c: Add rtld_hidden_def.
10364         * sysdeps/mach/hurd/_exit.c: Likewise.
10365         * sysdeps/nacl/_exit.c: Likewise.
10366         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10367         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10369 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10371         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10372         bndmov encoding with zero displacement.
10374 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10375             H.J. Lu  <hongjiu.lu@intel.com>
10377         [BZ #18134]
10378         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10379         * sysdeps/i386/configure: Regenerated.
10380         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10381         (_dl_runtime_profile): Save and restore Intel MPX return bound
10382         registers when calling _dl_call_pltexit.  Add
10383         PRESERVE_BND_REGS_PREFIX before return.
10384         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10385         (LRV_BND1_OFFSET): Likewise.
10386         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10387         lrv_bnd1.
10388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10389         typo in bndmov encoding.
10390         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10391         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10392         branch instructions to preserve bounds.
10394 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10397         [GLIBC_2.22]: Add fmemopen.
10399 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10401         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10402         returns an error, also try to use host port from __mach_host_self for
10403         the __vm_wire call.
10404         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10406 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10408         [BZ #18400]
10409         [BZ #18648]
10410         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10411         Fix pr_uid and pr_gid members.
10412         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10413         definition to elf_greg_t.
10415 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10417         [BZ #18383]
10418         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10419         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10420         * sysdeps/arm/configure: Regenerated.
10421         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10422         (test-xfail-tst-tlsalign-static): Variable removed.
10424         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10425         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10426         rather than explicit 'ln -s'.
10428         * resolv/rpc/netdb.h: New file.
10429         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10431 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10433         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10434         length buffers.
10435         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10436         test-skeleton.c.
10438         [BZ #6544]
10439         [BZ #11216]
10440         [BZ #12836]
10441         [BZ #13151]
10442         [BZ #13152]
10443         [BZ #14292]
10444         * include/stdio.h (fmemopen): Remove hidden prototype.
10445         (__fmemopen): Add new hidden prototype.
10446         * libio/Makefile: Add oldfmemopen object.
10447         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10448         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10449         compliance.
10450         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10451         symbol compatibility.
10452         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10453         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10454         fmemopen.
10455         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10456         on append and read mode.
10457         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10458         fmemopen.
10459         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10460         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10461         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10462         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10463         Likewise.
10464         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10465         [GLIBC_2.22]: Likewise.
10466         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10471         [GLIBC_2.22]: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10473         [GLIBC_2.22]: Likewise.
10474         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10475         [GLIBC_2.22]: Likewise.
10476         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10477         [GLIBC_2.22]: Likewise.
10478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10479         [GLIBC_2.22]: Likewise.
10480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10481         [GLIBC_2.22]: Likewise.
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10483         [GLIBC_2.22]: Likewise.
10484         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10485         Likewise.
10486         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10487         Likewise.
10488         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10489         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10490         [GLIBC_2.22]: Likewise.
10491         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10492         [GLIBC_2.22]: Likewise.
10493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10494         [GLIBC_2.22]: Likewise.
10495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10496         [GLIBC_2.22]: Likewise.
10497         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10498         Likewise.
10499         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10502         Likewise.
10503         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10504         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10506 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10508         [BZ #18643]
10509         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10510         IPV6_PATHMTU, and IPV6_DONTFRAG.
10512 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10514         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10515         and _IO_UNBUFFERED.
10516         * libio/oldfileops.c: Likewise.
10517         * libio/wfileops.c: Likewise.
10519 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10521         * nscd/selinux.c: Delete selinux/flask.h include.
10523 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10525         [BZ #18641]
10526         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10527         (putpwent): Likewise.
10528         (getpwnam): Likewise.
10529         (getpwent_r): Likewise.
10530         (getpwuid_r): Likewise.
10531         (getpwnam_r): Likewise.
10532         (fgetpwent_r): Likewise.
10534 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10536         [BZ #18557]
10537         * inet/rcmd.c (__validuser2_sa): Check user first to
10538         short-circuit host check.
10540 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10541             Mikhail Ilin  <m.ilin@samsung.com>
10543         [BZ #17833]
10544         * elf/Makefile (tests): Add tst-nodelete.
10545         (modules-names): Add tst-nodelete-uniquemod.
10546         (tst-nodelete-uniquemod.so-no-z-defs): New.
10547         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10548         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10549         ($(objpfx)tst-nodelete): Likewise.
10550         ($(objpfx)tst-nodelete.out): Likewise.
10551         (LDFLAGS-tst-nodelete): Likewise.
10552         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10553         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10554         implement forced object deletion.
10555         (_dl_close): Pass false to _dl_close_worker.
10556         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10557         * elf/tst-nodelete.cc: New file.
10558         * elf/tst-nodeletelib.cc: Likewise.
10559         * elf/tst-znodeletelib.cc: Likewise.
10560         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10562 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10564         [BZ #18508]
10565         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10566         Depend on $(libdl).
10567         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10568         is not called infinitely times.
10569         (backtrace_helper): New function.
10570         (trace_arg): New struct.
10571         (st1): Enlarge stack size.
10572         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10573         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10574         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10575         Likewise.
10577 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10579         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10581 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10583         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10584         Include sys/types.h instead of bits/types.h.
10585         Remove inclusion of bits/wordsize.h.
10587 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10589         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10590         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10591         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10592         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10593         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10594         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10596 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10598         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10599         link-defines.sym.
10600         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10601         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10602         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10603         and LR_SIZE.
10604         * sysdeps/i386/link-defines.sym: New file.
10606 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10608         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10609         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10610         ($(objpfx)tst-audit3): New rule.
10611         ($(objpfx)tst-audit3.out): Likewise.
10612         * sysdeps/i386/tst-audit3.c: New file.
10613         * sysdeps/i386/tst-audit3.h: Likewise.
10614         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10615         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10617 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10619         [BZ #18633]
10620         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10621         pointer in C code.
10622         (__strcat_c): Likewise.
10623         (__strcat_g): Likewise.
10625 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10627         [BZ #18592]
10628         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10630 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10632         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10633         New function.  (__ieee754_sqrtf): New function.
10634         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10635         New function.
10636         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10637         New function.
10639 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10641         * sysdeps/ieee754/support.c: Remove unused file.
10643 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10645         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10646         registers instead of d ones so the layout is kernel abi compatible.
10647         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10648         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10649         Likewise.
10651 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10653         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10655 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10657         [BZ #18619]
10658         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10659         and return argument in case of subnormal argument.
10661 2015-07-01  Martin Sebor  <msebor@redhat.com>
10663         [BZ #18435]
10664         * nptl/Makefile: Add tst-once5.cc.
10665         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10666         Remove macro redefinitions.
10667         * nptl/tst-once5.cc: New test.
10669 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10671         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10673         * sysdeps/arm/libm-test-ulps: Regenerated.
10675         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10678 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10680         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10681         lll_lock_wait_private and lll_futex_wake probes.
10683         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10685         Likewise.
10686         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10687         atomic_spin_nop.
10688         * sysdeps/x86_64/bits/atomic.h: Likewise.
10689         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10690         to atomic_spin_nop and move ...
10691         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10692         ... here and ...
10693         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10694         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10695         atomic_spin_nop instead of BUSY_WAIT_NOP.
10696         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10697         Likewise.
10698         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10699         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10700         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10701         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10702         instead of atomic_delay.
10704 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #18613]
10707         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10708         X_ADJ not X when adjusting exponent.
10709         (__ieee754_gamma_r): Do intermediate computations in
10710         round-to-nearest then adjust overflowing and underflowing results
10711         as needed.
10712         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10713         of X_ADJ not X when adjusting exponent.
10714         (__ieee754_gammaf_r): Do intermediate computations in
10715         round-to-nearest then adjust overflowing and underflowing results
10716         as needed.
10717         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10718         log of X_ADJ not X when adjusting exponent.
10719         (__ieee754_gammal_r): Do intermediate computations in
10720         round-to-nearest then adjust overflowing and underflowing results
10721         as needed.  Use 1.0L not 1.0f as numerator of division.
10722         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10723         log of X_ADJ not X when adjusting exponent.
10724         (__ieee754_gammal_r): Do intermediate computations in
10725         round-to-nearest then adjust overflowing and underflowing results
10726         as needed.  Use 1.0L not 1.0f as numerator of division.
10727         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10728         of X_ADJ not X when adjusting exponent.
10729         (__ieee754_gammal_r): Do intermediate computations in
10730         round-to-nearest then adjust overflowing and underflowing results
10731         as needed.  Use 1.0L not 1.0f as numerator of division.
10732         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10733         to auto-libm-test-in.
10734         (tgamma_test): Use ALL_RM_TEST.
10735         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10736         tests of tgamma with spurious-overflow.
10737         * math/auto-libm-test-out: Regenerated.
10738         * math/gen-libm-have-vector-test.sh: Do not check for START.
10739         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742         [BZ #18612]
10743         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10744         arguments, just return 0.5 times the argument, with underflow
10745         forced as needed.
10746         * math/auto-libm-test-in: Add more tests of j1.
10747         * math/auto-libm-test-out: Regenerated.
10749         [BZ #16559]
10750         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10751         (__ieee754_j1): Force underflow exception for small results.
10752         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10753         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10754         (__ieee754_j1f): Force underflow exception for small results.
10755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10756         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10758         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10759         (__ieee754_j1l): Force underflow exception for small results.
10760         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10761         * math/auto-libm-test-in: Add more tests of j1 and jn.
10762         * math/auto-libm-test-out: Regenerated.
10764         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10765         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10766         (PF_MPLS): Likewise.
10767         (AF_IB): Likewise.
10768         (AF_MPLS): Likewise.
10769         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10770         value and macro.
10771         (MS_RMT_MASK): Include MS_LAZYTIME.
10773 2015-06-26  Mel Gorman  <mgorman@suse.de>
10775         [BZ #18502]
10776         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10777         already minimal.
10779 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10781         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10782         (DT_MIPS_NUM): Update.
10783         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10784         DT_MIPS_RLD_MAP_REL.
10786 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10788         [BZ #16559]
10789         [BZ #18602]
10790         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10791         round-to-nearest internally then recompute results that
10792         underflowed to zero in the original rounding mode.
10793         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10794         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10796         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10797         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10798         * sysdeps/i386/fpu/libm-test-ulps: Update.
10799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10801 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10803         * NEWS: Fixed description of link with vector math library.
10805 2015-06-25  Andreas Schwab  <schwab@suse.de>
10807         [BZ #18549]
10808         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10809         * libio/test-fmemopen.c (do_test): Add test for it.
10811 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10813         [BZ #17841]
10814         * Makeconfig (no-pie-ldflag): New.
10815         (+link): Set to $(+link-pie) if default to PIE.
10816         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10817         * config.make.in (build-pie-default): New.
10818         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10819         is default.  AC_SUBST.
10820         * configure: Regenerated.
10821         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10823 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10825         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10826         to 'unsigned int'.
10828         * resolv/gai_misc.h (struct waitlist): Change type of field
10829         counterp to 'volatile unsigned int *'.
10830         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10831         FUTEXADDR and OLDVAL.
10832         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10833         Give local variable TOTAL type 'volatile unsigned int'.
10834         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10835         * resolv/gai_suspend.c (gai_suspend):
10836         Give local variable CNTR type 'unsigned int'.
10838         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10839         counterp to 'volatile unsigned int *'.
10840         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10841         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10842         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10843         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10844         Give local variable TOTAL type 'volatile unsigned int'.
10845         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10847 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10849         [BZ #18383]
10850         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10851         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10852         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10853         comment for i386/x86-64.
10854         (test-xfail-tst-tlsalign-extern-static): Removed.
10856 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10858         * math/test-double.h: New file.
10859         * math/test-float.h: Likewise.
10860         * math/test-ldouble.h: Likewise.
10861         * math/test-math-inline.h: Likewise.
10862         * math/test-math-no-inline.h: Likewise.
10863         * math/test-math-scalar.h: Likewise.
10864         * math/test-math-vector.h: Likewise.
10865         * math/test-vec-loop.h: Remove file.  Contents moved into
10866         test-math-vector.h.
10867         * math/libm-test.inc (MATHCONST): Do not document macro.
10868         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10869         and test-math-scalar.h.
10870         (FUNC): Remove macro.
10871         (FUNC_TEST): Likewise.
10872         (FLOAT): Likewise.
10873         (MATHCONST): Likewise.
10874         (PRINTF_EXPR): Likewise.
10875         (PRINTF_XEXPR): Likewise.
10876         (PRINTF_NEXPR): Likewise.
10877         (TEST_DOUBLE): Likewise.
10878         (TEST_MATHVEC): Likewise.
10879         (__NO_MATH_INLINES): Likewise.
10880         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10881         and test-math-scalar.h.
10882         (FUNC): Remove macro.
10883         (FUNC_TEST): Likewise.
10884         (FLOAT): Likewise.
10885         (MATHCONST): Likewise.
10886         (PRINTF_EXPR): Likewise.
10887         (PRINTF_XEXPR): Likewise.
10888         (PRINTF_NEXPR): Likewise.
10889         (TEST_FLOAT): Likewise.
10890         (TEST_MATHVEC): Likewise.
10891         (__NO_MATH_INLINES): Likewise.
10892         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10893         and test-math-scalar.h.
10894         (FUNC): Remove macro.
10895         (FUNC_TEST): Likewise.
10896         (FLOAT): Likewise.
10897         (MATHCONST): Likewise.
10898         (PRINTF_EXPR): Likewise.
10899         (PRINTF_XEXPR): Likewise.
10900         (PRINTF_NEXPR): Likewise.
10901         (TEST_DOUBLE): Likewise.
10902         (TEST_MATHVEC): Likewise.
10903         (TEST_INLINE): Likewise.
10904         (__NO_MATH_INLINES): Likewise.
10905         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10906         test-math-scalar.h.
10907         (FUNC): Remove macro.
10908         (FUNC_TEST): Likewise.
10909         (FLOAT): Likewise.
10910         (MATHCONST): Likewise.
10911         (PRINTF_EXPR): Likewise.
10912         (PRINTF_XEXPR): Likewise.
10913         (PRINTF_NEXPR): Likewise.
10914         (TEST_FLOAT): Likewise.
10915         (TEST_MATHVEC): Likewise.
10916         (TEST_INLINE): Likewise.
10917         (__NO_MATH_INLINES): Likewise.
10918         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10919         and test-math-scalar.h.
10920         (FUNC): Remove macro.
10921         (FUNC_TEST): Likewise.
10922         (FLOAT): Likewise.
10923         (MATHCONST): Likewise.
10924         (PRINTF_EXPR): Likewise.
10925         (PRINTF_XEXPR): Likewise.
10926         (PRINTF_NEXPR): Likewise.
10927         (TEST_LDOUBLE): Likewise.
10928         (TEST_MATHVEC): Likewise.
10929         (TEST_INLINE): Likewise.
10930         (__NO_MATH_INLINES): Likewise.
10931         * math/test-ldouble.c: Include test-ldouble.h,
10932         test-math-no-inline.h and test-math-scalar.h.
10933         (FUNC): Remove macro.
10934         (FUNC_TEST): Likewise.
10935         (FLOAT): Likewise.
10936         (MATHCONST): Likewise.
10937         (PRINTF_EXPR): Likewise.
10938         (PRINTF_XEXPR): Likewise.
10939         (PRINTF_NEXPR): Likewise.
10940         (TEST_LDOUBLE): Likewise.
10941         (TEST_MATHVEC): Likewise.
10942         (__NO_MATH_INLINES): Likewise.
10943         * math/test-double-vlen2.h: Include test-double.h,
10944         test-math-no-inline.h and test-math-vector.h.
10945         (FLOAT): Remove macro.
10946         (FUNC): Likewise.
10947         (MATHCONST): Likewise.
10948         (PRINTF_EXPR): Likewise.
10949         (PRINTF_XEXPR): Likewise.
10950         (PRINTF_NEXPR): Likewise.
10951         (TEST_DOUBLE): Likewise.
10952         (TEST_MATHVEC): Likewise.
10953         (__NO_MATH_INLINES): Likewise.
10954         (CNCT): Likewise.
10955         (CONCAT): Likewise.
10956         (WRAPPER_NAME): Likewise.
10957         (WRAPPER_DECL): Likewise.
10958         (WRAPPER_DECL_ff): Likewise.
10959         (WRAPPER_DECL_fFF): Likewise.
10960         (VECTOR_WRAPPER): Likewise.
10961         (VECTOR_WRAPPER_ff): Likewise.
10962         (VECTOR_WRAPPER_fFF): Likewise.
10963         (VEC_LEN): New macro.
10964         * math/test-double-vlen4.h: Include test-double.h,
10965         test-math-no-inline.h and test-math-vector.h.
10966         (FLOAT): Remove macro.
10967         (FUNC): Likewise.
10968         (MATHCONST): Likewise.
10969         (PRINTF_EXPR): Likewise.
10970         (PRINTF_XEXPR): Likewise.
10971         (PRINTF_NEXPR): Likewise.
10972         (TEST_DOUBLE): Likewise.
10973         (TEST_MATHVEC): Likewise.
10974         (__NO_MATH_INLINES): Likewise.
10975         (CNCT): Likewise.
10976         (CONCAT): Likewise.
10977         (WRAPPER_NAME): Likewise.
10978         (WRAPPER_DECL): Likewise.
10979         (WRAPPER_DECL_ff): Likewise.
10980         (WRAPPER_DECL_fFF): Likewise.
10981         (VECTOR_WRAPPER): Likewise.
10982         (VECTOR_WRAPPER_ff): Likewise.
10983         (VECTOR_WRAPPER_fFF): Likewise.
10984         (VEC_LEN): New macro.
10985         * math/test-double-vlen8.h: Include test-double.h,
10986         test-math-no-inline.h and test-math-vector.h.
10987         (FLOAT): Remove macro.
10988         (FUNC): Likewise.
10989         (MATHCONST): Likewise.
10990         (PRINTF_EXPR): Likewise.
10991         (PRINTF_XEXPR): Likewise.
10992         (PRINTF_NEXPR): Likewise.
10993         (TEST_DOUBLE): Likewise.
10994         (TEST_MATHVEC): Likewise.
10995         (__NO_MATH_INLINES): Likewise.
10996         (CNCT): Likewise.
10997         (CONCAT): Likewise.
10998         (WRAPPER_NAME): Likewise.
10999         (WRAPPER_DECL): Likewise.
11000         (WRAPPER_DECL_ff): Likewise.
11001         (WRAPPER_DECL_fFF): Likewise.
11002         (VECTOR_WRAPPER): Likewise.
11003         (VECTOR_WRAPPER_ff): Likewise.
11004         (VECTOR_WRAPPER_fFF): Likewise.
11005         (VEC_LEN): New macro.
11006         * math/test-float-vlen4.h: Include test-float.h,
11007         test-math-no-inline.h and test-math-vector.h.
11008         (FLOAT): Remove macro.
11009         (FUNC): Likewise.
11010         (MATHCONST): Likewise.
11011         (PRINTF_EXPR): Likewise.
11012         (PRINTF_XEXPR): Likewise.
11013         (PRINTF_NEXPR): Likewise.
11014         (TEST_FLOAT): Likewise.
11015         (TEST_MATHVEC): Likewise.
11016         (__NO_MATH_INLINES): Likewise.
11017         (CNCT): Likewise.
11018         (CONCAT): Likewise.
11019         (WRAPPER_NAME): Likewise.
11020         (WRAPPER_DECL): Likewise.
11021         (WRAPPER_DECL_ff): Likewise.
11022         (WRAPPER_DECL_fFF): Likewise.
11023         (VECTOR_WRAPPER): Likewise.
11024         (VECTOR_WRAPPER_ff): Likewise.
11025         (VECTOR_WRAPPER_fFF): Likewise.
11026         (VEC_LEN): New macro.
11027         * math/test-float-vlen8.h: Include test-float.h,
11028         test-math-no-inline.h and test-math-vector.h.
11029         (FLOAT): Remove macro.
11030         (FUNC): Likewise.
11031         (MATHCONST): Likewise.
11032         (PRINTF_EXPR): Likewise.
11033         (PRINTF_XEXPR): Likewise.
11034         (PRINTF_NEXPR): Likewise.
11035         (TEST_FLOAT): Likewise.
11036         (TEST_MATHVEC): Likewise.
11037         (__NO_MATH_INLINES): Likewise.
11038         (CNCT): Likewise.
11039         (CONCAT): Likewise.
11040         (WRAPPER_NAME): Likewise.
11041         (WRAPPER_DECL): Likewise.
11042         (WRAPPER_DECL_ff): Likewise.
11043         (WRAPPER_DECL_fFF): Likewise.
11044         (VECTOR_WRAPPER): Likewise.
11045         (VECTOR_WRAPPER_ff): Likewise.
11046         (VECTOR_WRAPPER_fFF): Likewise.
11047         (VEC_LEN): New macro.
11048         * math/test-float-vlen16.h: Include test-float.h,
11049         test-math-no-inline.h and test-math-vector.h.
11050         (FLOAT): Remove macro.
11051         (FUNC): Likewise.
11052         (MATHCONST): Likewise.
11053         (PRINTF_EXPR): Likewise.
11054         (PRINTF_XEXPR): Likewise.
11055         (PRINTF_NEXPR): Likewise.
11056         (TEST_FLOAT): Likewise.
11057         (TEST_MATHVEC): Likewise.
11058         (__NO_MATH_INLINES): Likewise.
11059         (CNCT): Likewise.
11060         (CONCAT): Likewise.
11061         (WRAPPER_NAME): Likewise.
11062         (WRAPPER_DECL): Likewise.
11063         (WRAPPER_DECL_ff): Likewise.
11064         (WRAPPER_DECL_fFF): Likewise.
11065         (VECTOR_WRAPPER): Likewise.
11066         (VECTOR_WRAPPER_ff): Likewise.
11067         (VECTOR_WRAPPER_fFF): Likewise.
11068         (VEC_LEN): New macro.
11069         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11070         test-vec-loop.h.
11071         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11072         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11073         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11074         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11075         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11077         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11079 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11081         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11082         (__getlogin_r): ... this.
11084 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11086         [BZ #18594]
11087         * math/s_ccosh.c (__ccosh): Compare with least normal value
11088         instead of comparing class with FP_SUBNORMAL.
11089         * math/s_ccoshf.c (__ccoshf): Likewise.
11090         * math/s_ccoshl.c (__ccoshl): Likewise.
11091         * math/s_cexp.c (__cexp): Likewise.
11092         * math/s_cexpf.c (__cexpf): Likewise.
11093         * math/s_cexpl.c (__cexpl): Likewise.
11094         * math/s_csin.c (__csin): Likewise.
11095         * math/s_csinf.c (__csinf): Likewise.
11096         * math/s_csinh.c (__csinh): Likewise.
11097         * math/s_csinhf.c (__csinhf): Likewise.
11098         * math/s_csinhl.c (__csinhl): Likewise.
11099         * math/s_csinl.c (__csinl): Likewise.
11100         * math/s_ctan.c (__ctan): Likewise.
11101         * math/s_ctanf.c (__ctanf): Likewise.
11102         * math/s_ctanh.c (__ctanh): Likewise.
11103         * math/s_ctanhf.c (__ctanhf): Likewise.
11104         * math/s_ctanhl.c (__ctanhl): Likewise.
11105         * math/s_ctanl.c (__ctanl): Likewise.
11106         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11107         csin, csinh, ctan and ctanh.
11108         * math/auto-libm-test-out: Regenerated.
11109         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11110         * sysdeps/i386/fpu/libm-test-ulps: Update.
11111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11115         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11116         return value is wrong, print the expected value too.
11118 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11120         [BZ #18585]
11121         * elf/readlib.c (is_gdb_python_file): New.
11122         (process_file): Don't issue errors on filenames with -gdb.py
11123         suffix.
11125 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11127         * math/auto-libm-test-in: Add more tests of csin and csinh.
11128         * math/auto-libm-test-out: Regenerated.
11129         * math/libm-test.inc (csin_test_data): Remove tests moved to
11130         auto-libm-test-in.
11131         (csinh_test_data): Likewise.
11133         [BZ #18593]
11134         * math/s_csin.c (__csin): Negate before rather than after possibly
11135         overflowing multiplication.
11136         * math/s_csinf.c (__csinf): Likewise.
11137         * math/s_csinh.c (__csinh): Likewise.
11138         * math/s_csinhf.c (__csinhf): Likewise.
11139         * math/s_csinhl.c (__csinhl): Likewise.
11140         * math/s_csinl.c (__csinl): Likewise.
11141         * math/auto-libm-test-in: Add some tests of csin and csinh.
11142         * math/auto-libm-test-out: Regenerated.
11143         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11144         (csinh_test_data): Likewise.
11145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11147         [BZ #18586]
11148         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11149         underflow exception for small results.
11151 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11155         variable and included header.
11156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11157         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11160         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11164         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11165         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11166         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11167         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11168         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11169         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11170         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11171         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11173 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11175         [BZ #16526]
11176         [BZ #16538]
11177         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11178         (__sin): Force underflow exception for arguments with small
11179         absolute value.
11180         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11181         (__kernel_sinf): Force underflow exception for arguments with
11182         small absolute value.
11183         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11184         (__kernel_sincosl): Force underflow exception for arguments with
11185         small absolute value.
11186         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11187         (__kernel_sinl): Force underflow exception for arguments with
11188         small absolute value.
11189         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11190         (__kernel_sincosl): Force underflow exception for arguments with
11191         small absolute value.
11192         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11193         (__kernel_sinl): Force underflow exception for arguments with
11194         small absolute value.
11195         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11196         (__kernel_sinl): Force underflow exception for arguments with
11197         small absolute value.
11198         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11199         (__kernel_sinf): Force underflow exception for arguments with
11200         small absolute value.
11201         * math/auto-libm-test-in: Add more tests of sin and sincos.
11202         * math/auto-libm-test-out: Regenerated.
11204         [BZ #18245]
11205         [BZ #18583]
11206         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11207         (__kernel_standard_l): Use feholdexcept and fesetenv around
11208         conversion to double instead of special-casing overflow and
11209         underflow.
11210         * math/libm-test.inc (fmod_test_data): Add more tests.
11211         (remainder_test_data): Likewise.
11212         (sqrt_test_data): Likewise.
11214 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11216         [BZ #17403]
11217         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11218         atomic_read_barrier, atomic_write_barrier): Define.
11219         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11220         atomic_read_barrier, atomic_write_barrier): Define.
11222 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11224         * math/Makefile [$(PERL) != no]
11225         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11226         dependency on libm-test.stmp below the inclusion of Rules.
11228 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11230         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11232         and included header.
11233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11237         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11241         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11242         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11243         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11244         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11245         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11246         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11247         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11248         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11249         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11250         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11251         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11253 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11255         [BZ #18371]
11256         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11257         intermediate but not final result might underflow.
11258         * math/s_csqrtf.c (__csqrtf): Likewise.
11259         * math/s_csqrtl.c (__csqrtl): Likewise.
11260         * math/auto-libm-test-in: Add more tests of csqrt.
11261         * math/auto-libm-test-out: Regenerated.
11262         * sysdeps/i386/fpu/libm-test-ulps: Update.
11264         [BZ #18219]
11265         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11266         threshold on absolute value of exponent for which scaling is used.
11267         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11268         * math/auto-libm-test-in: Add more tests of exp2.
11269         * math/auto-libm-test-out: Regenerated.
11271 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11273         [BZ #17977]
11274         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11275         when initializing interface list, based on the bug analysis
11276         and the patch proposed by Eric Newton.
11277         * resolv/tst-res_hconf_reorder.c: New test.
11278         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11279         tst-res_hconf_reorder.
11280         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11281         and $(shared-thread-library).
11282         (tst-res_hconf_reorder-ENV): New variable.
11284         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11285         in comment.
11287 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11289         [BZ #16353]
11290         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11291         (__expm1): Force underflow exception for arguments with small
11292         absolute value.
11293         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11294         (__expm1f): Force underflow exception for arguments with small
11295         absolute value.
11296         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11297         (__expm1): Force underflow exception for arguments with small
11298         absolute value.
11299         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11300         (__expm1f): Force underflow exception for arguments with small
11301         absolute value.
11302         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11303         Check for small arguments before calling __expm1.
11304         * math/auto-libm-test-in: Do not mark underflow exceptions as
11305         possibly missing for bug 16353.
11306         * math/auto-libm-test-out: Regenerated.
11308 2015-06-22  Andreas Schwab  <schwab@suse.de>
11310         [BZ #18513]
11311         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11312         PTR queries.
11314 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11316         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11318         * string/strcoll_l.c: Remove unused struct element idxnow.
11320 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11322         [BZ #18569]
11323         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11324         underflow and return argument in case of subnormal argument.
11325         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11326         Likewise.
11327         * math/auto-libm-test-in: Add more tests of expm1.
11328         * math/auto-libm-test-out: Regenerated.
11330         [BZ #16361]
11331         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11332         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11333         tiny results.
11334         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11335         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11336         tiny results.
11337         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11338         mark underflow exceptions as possibly missing for bug 16361.
11339         * math/auto-libm-test-out: Regenerated.
11341 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11343         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11344         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11345         Remove variable.
11346         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11347         (test-xfail-XOPEN2K8/utmpx.h/conform).
11349         * conform/conformtest.pl ($xerrors): New variable.
11350         (note_error): New function.
11351         (compiletest): New argument $xfail.  Use not_error.
11352         (runtest): Likewise.
11353         (top level): Handle xfail- lines.  Update calls to compiletest and
11354         runtest.  Handle xfail- and optional- in headers listed with
11355         allow-header.
11356         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11357         (O_EXEC): Likewise.
11358         (O_SEARCH): Likewise.
11359         * conform/data/stropts.h-data (ioctl): Likewise.
11360         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11361         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11362         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11363         (msghdr.msg_controllen): Likewise.
11364         (cmsghdr.cmsg_len): Likewise.
11365         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11366         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11367         variable.
11368         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11369         (test-xfail-XPG4/stropts.h/conform): Likewise.
11370         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11371         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11372         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11373         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11374         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11375         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11376         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11377         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11378         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11379         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11380         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11381         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11382         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11383         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11384         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11385         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11386         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11387         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11388         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11390 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11392         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11393         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11394         definitions for proper unfolding of __MATHDECL_VEC.
11396 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11398         * benchtests/bench-strcoll.c:
11399         Include string.h.
11400         (main): Remove unused variable res.
11402 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11404         * timezone/Makefile (%/UTC %/Universal):
11405         Generate test-result files for UTC and Universal.
11407 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11409         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11411 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11413         [BZ #16350]
11414         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11415         for arguments with small absolute value.
11416         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11417         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11418         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11419         (__asinh): Force underflow exception for arguments with small
11420         absolute value.
11421         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11422         (__asinhf): Force underflow exception for arguments with small
11423         absolute value.
11424         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11425         (__asinhl): Force underflow exception for arguments with small
11426         absolute value.
11427         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11428         (__asinhl): Force underflow exception for arguments with small
11429         absolute value.
11430         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11431         (__asinhl): Force underflow exception for arguments with small
11432         absolute value.
11433         * math/auto-libm-test-in: Do not mark underflow exceptions as
11434         possibly missing for bug 16350.
11435         * math/auto-libm-test-out: Regenerated.
11437         * include/bits/ipc.h: Remove file.
11438         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11439         variable.
11440         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11441         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11442         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11443         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11444         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11445         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11446         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11447         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11448         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11450         * math/auto-libm-test-in: Remove spurious underflow allowance for
11451         tests of cexp.
11452         * math/auto-libm-test-out: Regenerated.
11454         [BZ #18558]
11455         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11456         unconditional definition.
11457         (MCAST_BLOCK_SOURCE): Likewise.
11458         (MCAST_UNBLOCK_SOURCE): Likewise.
11459         (MCAST_LEAVE_GROUP): Likewise.
11460         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11461         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11462         (MCAST_MSFILTER): Likewise.
11463         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11464         Remove variable.
11465         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11466         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11467         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11468         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11469         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11471 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11473         * NEWS: Mention addition of x86_64 vector sincosf.
11474         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11475         * math/test-float-vlen4.h: Likewise.
11476         * math/test-float-vlen8.h: Likewise.
11477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11478         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11480         * sysdeps/x86_64/fpu/Versions: New versions added.
11481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11483         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11484         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11490         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11491         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11492         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11493         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11494         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11495         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11496         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11497         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11498         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11499         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11500         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11503         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11504         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11506         * NEWS: Mention addition of x86_64 vector sincos.
11507         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11508         * math/math.h (__MATHDECL_VEC): New macro.
11509         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11510         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11511         declaration under condition.
11512         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11513         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11514         TEST_VEC_LOOP change.
11515         * math/test-double-vlen4.h: Likewise.
11516         * math/test-double-vlen8.h: Likewise.
11517         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11518         * math/test-float-vlen4.h: Likewise.
11519         * math/test-float-vlen8.h: Likewise.
11520         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11521         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11523         * sysdeps/x86_64/fpu/Versions: New versions added.
11524         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11525         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11526         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11533         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11534         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11535         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11536         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11537         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11538         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11539         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11540         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11541         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11543         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11544         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11545         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11546         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11547         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11549         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11550         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11551         redirections for powf.
11552         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11553         * sysdeps/x86_64/fpu/Versions: New versions added.
11554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11555         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11556         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11557         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11561         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11562         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11563         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11564         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11565         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11566         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11567         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11568         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11569         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11570         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11571         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11572         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11573         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11576         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11577         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11578         * math/test-float-vlen16.h: Fixed 2 argument macro.
11579         * math/test-float-vlen4.h: Likewise.
11580         * math/test-float-vlen8.h: Likewise.
11581         * NEWS: Mention addition of x86_64 vector powf.
11583 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11585         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11586         and redefine.
11587         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11588         and redefine.
11589         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11590         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11593         [BZ #18553]
11594         * resource/getpriority.c (getpriority): Rename to __getpriority
11595         and define as weak alias of __getpriority.
11596         * resource/setpriority.c (setpriority): Rename to __setpriority
11597         and define as weak alias of __setpriority.
11598         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11599         __getpriority and define as weak alias of __getpriority.
11600         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11601         __setpriority and define as weak alias of __setpriority.
11602         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11603         strong name.
11604         (setpriority): Use __setpriority as strong name.
11605         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11606         __getpriority and define as weak alias of __getpriority.
11607         * include/sys/resource.h (__getpriority): Declare.  Use
11608         libc_hidden_proto.
11609         (__setpriority): Likewise.
11610         (getpriority): Don't use libc_hidden_proto.
11611         (setpriority): Likewise.
11612         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11613         getpriority.  Call __setpriority instead of setpriority.
11614         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11615         Remove variable.
11617         [BZ #18547]
11618         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11619         as weak alias of __getttynam.  Use prototype function definition.
11620         Call __setttyent, __getttyent and __endttyent instead of
11621         setttyent, getttyent and endttyent.
11622         (getttyent): Rename to __getttyent and define as weak alias of
11623         __getttyent.  Call __setttyent instead of setttyent.  Call
11624         __fgets_unlocked instead of fgets_unlocked.
11625         (setttyent): Rename to __setttyent and define as weak alias of
11626         __setttyent.
11627         (endttyent): Rename to __endttyent and define as weak alias of
11628         __endttyent.
11629         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11630         (__setttyent): Likewise.
11631         (__endttyent): Likewise.
11632         (getttyent): Don't use libc_hidden_proto.
11633         (setttyent): Likewise.
11634         (endttyent): Likewise.
11635         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11636         __endttyent instead of setttyent, getttyent and endttyent.
11637         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11638         Remove variable.
11640         [BZ #18546]
11641         * socket/recv.c (__recv): Use libc_hidden_def.
11642         * socket/socket.c (__socket): Likewise.
11643         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11644         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11645         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11646         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11647         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11648         libc_hidden_def.
11649         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11650         libc_hidden_weak.
11651         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11652         Use libc_hidden_proto.
11653         (__recv): Likewise.
11654         * socket/Versions (libc): Export __recv and __socket at version
11655         GLIBC_PRIVATE.
11656         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11657         instead of recv.
11658         (init_mq_netlink): Call __socket instead of socket.
11659         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11660         Remove variable.
11662         [BZ #18545]
11663         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11664         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11665         hidden_weak.
11666         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11667         define as alias of __mq_timedsend.  Use hidden_weak.
11668         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11669         __mq_timedsend as strong name.
11670         (mq_timedreceive): Use __mq_timedreceive as strong name.
11671         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11672         (__mq_timedreceive): Likewise.
11673         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11674         __mq_timedreceive instead of mq_timedreceive.
11675         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11676         instead of mq_timedsend.
11677         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11678         Remove variable.
11680         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11681         hidden_def and hidden_weak instead of libc_hidden_def and
11682         libc_hidden_weak.
11683         (top level): Refer to hidden_def in comment.
11684         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11685         macro.  Use it instead of libc_hidden_def.
11686         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11687         specify __GI_* name explicitly.
11688         (mq_timedreceive): Likewise.
11689         (mq_setattr): Likewise.
11691         [BZ #18544]
11692         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11693         __pthread_barrier_init and define as weak alias of
11694         __pthread_barrier_init.
11695         * sysdeps/sparc/nptl/pthread_barrier_init.c
11696         (pthread_barrier_init): Likewise.
11697         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11698         __pthread_barrier_wait and define as weak alias of
11699         __pthread_barrier_wait.
11700         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11701         (pthread_barrier_wait): Likewise.
11702         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11703         (pthread_barrier_wait): Likewise.
11704         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11705         (pthread_barrier_wait): Likewise.
11706         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11707         (pthread_barrier_wait): Likewise.
11708         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11709         __pthread_barrier_wait at version GLIBC_PRIVATE.
11710         * include/pthread.h (__pthread_barrier_init): Declare.
11711         (__pthread_barrier_wait): Likewise.
11712         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11713         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11714         (helper_thread): Likewise.
11715         (init_mq_netlink): Call __pthread_barrier_init instead of
11716         pthread_barrier_init.
11718         [BZ #18542]
11719         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11720         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11721         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11722         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11723         vswscanf.
11724         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11725         Remove variable.
11727         [BZ #18540]
11728         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11729         strong alias of _IO_fflush.  Use libc_hidden_def.
11730         * libio/iofflush_u.c (fflush_unlocked): Rename to
11731         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11732         Use libc_hidden_weak.
11733         * include/stdio.h (__fflush_unlocked): Declare.  Use
11734         libc_hidden_proto.
11735         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11736         fflush_unlocked.
11737         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11738         Remove variable.
11740         [BZ #18539]
11741         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11742         define as weak alias of __addseverity.
11743         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11744         Remove variable.
11745         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11746         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11747         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11749         [BZ #18536]
11750         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11751         (__tfind): Likewise.
11752         (__tdelete): Likewise.
11753         (__twalk): Likewise.
11754         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11755         __twalk to GLIBC_PRIVATE.
11756         * include/search.h (__tsearch): Use libc_hidden_proto.
11757         (__tfind): Likewise.
11758         (__tdelete): Likewise.
11759         (__twalk): Likewise.
11760         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11761         Call __tdelete instead of tdelete.
11762         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11763         tfind.  Call __tsearch instead of tsearch.
11764         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11765         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11766         Remove variable.
11767         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11769         [BZ #18534]
11770         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11771         (dprintf): Define as a weak alias of __dprintf, not a strong
11772         alias.
11773         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11774         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11775         dprintf.
11776         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11777         Remove variable.
11778         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11779         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11781         [BZ #18533]
11782         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11783         not a strong alias.
11784         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11785         Remove variable.
11787         [BZ #18532]
11788         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11789         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11790         (in6addr_loopback): Rename to __in6addr_loopback and define as
11791         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11792         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11793         libc_hidden_proto.
11794         (__in6addr_any): Likewise.
11795         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11796         in6addr_any.
11797         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11798         variable.
11799         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11801 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11803         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11804         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11806         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11807         redirections for pow.
11808         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11809         * sysdeps/x86_64/fpu/Versions: New versions added.
11810         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11811         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11812         build of SSE, AVX2 and AVX512 IFUNC versions.
11813         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11817         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11818         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11819         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11820         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11821         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11822         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11823         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11824         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11825         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11826         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11827         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11829         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11830         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11831         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11832         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11833         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11834         * NEWS: Mention addition of x86_64 vector pow.
11836         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11837         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11838         redirections for expf.
11839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11840         * sysdeps/x86_64/fpu/Versions: New versions added.
11841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11843         build of SSE, AVX2 and AVX512 IFUNC versions.
11844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11847         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11848         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11849         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11850         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11851         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11852         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11853         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11854         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11855         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11856         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11857         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11858         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11859         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11862         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11863         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11864         * NEWS: Mention addition of x86_64 vector expf.
11866         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11867         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11868         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11869         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11870         redirections for exp.
11871         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11872         * sysdeps/x86_64/fpu/Versions: New versions added.
11873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11874         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11875         build of SSE, AVX2 and AVX512 IFUNC versions.
11876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11877         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11878         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11879         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11880         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11882         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11883         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11884         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11885         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11886         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11887         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11889         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11892         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11893         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11894         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11895         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11896         * NEWS: Mention addition of x86_64 vector exp.
11898         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11899         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11900         redirections for logf.
11901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11902         * sysdeps/x86_64/fpu/Versions: New versions added.
11903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11905         build of SSE, AVX2 and AVX512 IFUNC versions.
11906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11912         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11913         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11914         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11915         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11916         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11917         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11918         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11919         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11920         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11921         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11922         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11923         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11924         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11925         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11926         * NEWS: Mention addition of x86_64 vector logf.
11928         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11929         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11931         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11932         redirections for log.
11933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11934         * sysdeps/x86_64/fpu/Versions: New versions added.
11935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11937         build of SSE, AVX2 and AVX512 IFUNC versions.
11938         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11939         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11940         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11941         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11942         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11943         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11944         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11945         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11946         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11947         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11948         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11949         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11951         test.
11952         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11956         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11958         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11959         * NEWS: Mention addition of x86_64 vector log.
11961 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11963         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11964         cfi_adjust_cfa_offset argument.
11965         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11966         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11968         [BZ #18034]
11969         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11970         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11971         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11972         ordering using ldar.
11973         (_dl_tlsdesc_dynamic): Likewise.
11974         (_dl_tlsdesc_return_lazy): Likewise.
11975         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11976         relaxed atomics instead of volatile and synchronize with release store.
11977         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11978         volatile.
11979         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11981 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11985         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11986         * sysdeps/x86_64/fpu/Versions: New versions added.
11987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11988         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11989         build of SSE, AVX2 and AVX512 IFUNC versions.
11990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11996         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11997         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11998         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11999         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12000         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12001         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12002         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12003         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12004         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12005         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12008         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12009         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12010         * NEWS: Mention addition of x86_64 vector sinf.
12012 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12014         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12015         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12016         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12017         Remove variable.
12018         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12019         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12021 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12023         [BZ #18530]
12024         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12025         strong alias of _IO_fputs.  Use libc_hidden_def.
12026         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12027         and define as weak alias of __fputs_unlocked.  Use
12028         libc_hidden_weak.
12029         * include/stdio.h (__fputs_unlocked): Declare.  Use
12030         libc_hidden_proto.
12031         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12032         fputs_unlocked.
12034         [BZ #18529]
12035         * resolv/netdb.h [__USE_POSIX]: Change condition to
12036         [__USE_XOPEN2K].
12037         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12038         not expect.
12039         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12040         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12041         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12042         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12043         [XPG4 || UNIX98] (AI_ALL): Likewise.
12044         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12045         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12046         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12047         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12048         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12049         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12050         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12051         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12052         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12053         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12054         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12055         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12056         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12057         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12058         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12059         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12060         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12061         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12062         [XPG4 || UNIX98] (gai_strerror): Likewise.
12063         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12064         [XPG4 || UNIX98] (getnameinfo): Likewise.
12066         [BZ #18528]
12067         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12068         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12069         __USE_XOPEN2K8].
12070         (getgrent): Likewise.
12071         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12072         expect.
12073         [XPG3 || POSIX2008] (endgrent): Likewise.
12074         [XPG3] (setgrent): Likewise.
12075         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12076         variable.
12077         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12079         [BZ #18527]
12080         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12081         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12082         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12083         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12084         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12085         * include/unistd.h (__getlogin_r): Declare.  Use
12086         libc_hidden_proto.
12087         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12088         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12089         variable.
12090         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12091         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12092         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12094 2015-06-12  Martin Sebor  <msebor@redhat.com>
12096         [BZ #18512]
12097         * Makerules (check-install-supported): New target.
12098         (install): Add check-install-supported as a dependency.
12099         * manual/install.texi (Installing the C Library): Document
12100         that overriding prefix and exec_prefix is not supported.
12101         Mention DESTDIR.
12102         * INSTALL: Regenerate from the above.
12104 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12106         [BZ #18519]
12107         * posix/Versions (libc): Export __libc_pread at version
12108         GLIBC_PRIVATE.
12109         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12110         instead of pread.
12111         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12112         variable.
12114         [BZ #18522]
12115         * misc/efgcvt_r.c
12116         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12117         (cvt_symbol): Use weak_alias instead of strong_alias.
12118         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12119         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12120         Remove variable.
12121         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12122         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12124         [BZ #18520]
12125         * inet/herrno.c (h_errno): Rename to __h_errno.
12126         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12127         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12128         to __h_errno instead of h_errno.
12129         * nptl/herrno.c (h_errno): Rename to __h_errno.
12130         (__h_errno_location): Refer to __h_errno not h_errno.
12131         * resolv/Versions (h_errno): Rename to __h_errno.
12132         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12133         Remove variable.
12134         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12136 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12138         * configure.ac: More strict check for AVX512 assembler support.
12139         * configure: Regenerated.
12141         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12142         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12143         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12144         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12145         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12146         * sysdeps/x86_64/fpu/Versions: New versions added.
12147         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12148         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12149         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12156         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12157         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12158         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12159         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12160         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12161         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12162         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12163         test.
12164         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12166         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12167         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12168         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12169         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12170         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12171         * NEWS: Mention addition of x86_64 vector sin.
12173 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12175         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12176         comment.
12178 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12180         [BZ #18479]
12181         * nptl/pt-interp.c: New file.
12182         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12183         Add pt-interp.
12184         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12185         $(common-objpfx)runtime-linker.h.
12187 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12189         * Makeconfig (+interp): Remove unused variable.
12190         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12191         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12192         $(elf-objpfx)runtime-linker.h.
12193         ($(elf-objpfx)runtime-linker.h): Rename to
12194         $(common-objpfx)runtime-linker.h and move ...
12195         * Makerules [$(build-shared) = yes]: ... here.
12196         * elf/interp.c: Include <runtime-linker.h> instead of
12197         <elf/runtime-linker.h>.
12199 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12201         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12202         (__gettimeofday_syscall): Remove vsyscall fallback.
12203         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12204         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12205         Add syscall fallback function.
12206         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12207         if vDSO is not present.
12208         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12209         fallback function.
12210         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12211         present.
12212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12213         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12215 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #18497]
12218         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12219         of wcscmp.
12220         (wcscmp): Define as weak alias of WCSCMP.
12221         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12222         wcscoll.
12223         (USE_HIDDEN_DEF): Define.
12224         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12225         __wcscoll.  Don't use libc_hidden_weak.
12226         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12227         wcscmp.
12228         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12229         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12230         __GI_wcscmp.
12231         (weak_alias): Undefine and redefine.
12232         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12233         __wcscmp and define as weak alias of __wcscmp.
12234         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12235         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12236         (__wcscoll): Likewise.
12237         (wcscmp): Don't use libc_hidden_proto.
12238         (wcscoll): Likewise.
12239         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12240         wcscoll.
12241         * posix/regexec.c (check_node_accept_bytes): Likewise.
12242         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12243         variable.
12244         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12245         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12247         [BZ #18507]
12248         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12249         __fstatvfs and define as weak alias of __fstatvfs.  Use
12250         libc_hidden_weak.
12251         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12252         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12253         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12254         Define as alias of __fstatvfs, not fstatvfs.
12255         (fstatvfs64): Likewise.
12256         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12257         Define as alias of __statvfs, not statvfs.
12258         (statvfs64): Likewise.
12259         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12260         Remove variable.
12262 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12265         (HAVE_GETCPU_VSYSCALL): Define.
12266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12267         (HAVE_GETCPU_VSYSCALL): Likewise.
12268         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12269         * sysdeps/unix/sysv/linux/sched_getcpu.c
12270         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12271         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12272         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12273         prototype.
12274         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12275         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12276         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12278         Define.
12279         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12280         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12281         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12282         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12284 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12286         * sysdeps/x86_64/fpu/Makefile: New file.
12287         * sysdeps/x86_64/fpu/Versions: New file.
12288         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12289         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12290         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12291         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12292         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12293         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12294         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12299         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12301         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12302         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12303         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12304         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12305         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12306         * sysdeps/x86_64/configure: Regenerated.
12307         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12309         * manual/install.texi (Configuring and compiling): Document
12310         --disable-mathvec.
12311         * INSTALL: Regenerated.
12312         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12314         * math/Makefile: Added rules for vector tests.
12315         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12316         declaration under condition.
12317         * math/test-double-vlen2.h: New file.
12318         * math/test-double-vlen4.h: New file.
12319         * math/test-double-vlen8.h: New file.
12320         * math/test-vec-loop.h: Added initialization macro.
12321         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12323         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12324         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12325         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12326         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12327         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12328         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12329         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12330         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12331         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12334         * sysdeps/x86_64/fpu/Versions: New versions added.
12335         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12338         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12339         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12341         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12342         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12344         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12345         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12346         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12347         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12348         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12349         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12350         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12351         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12352         * NEWS: Mention addition of x86_64 vector cosf.
12354         * math/Makefile: Added CFLAGS for new tests.
12355         * math/test-float-vlen16.h: New file.
12356         * math/test-float-vlen4.h: New file.
12357         * math/test-float-vlen8.h: New file.
12358         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12359         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12360         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12361         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12362         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12363         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12364         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12368         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12370 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12372         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12373         * locale/programs/ld-ctype.c: Likewise.
12375 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12377         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12378         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12379         bit_ZMM16_31_state): New macro.
12380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12381         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12383 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12385         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12387 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12389         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12391 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12393         [BZ #18498]
12394         * libio/memstream.c (open_memstream): Rename to __open_memstream
12395         and define as weak alias of __open_memstream.
12396         * include/stdio.h (__open_memstream): Declare.  Use
12397         libc_hidden_proto.
12398         (open_memstream): Don't use libc_hidden_proto.
12399         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12400         open_memstream.
12401         * posix/getopt.c (_getopt_internal_r): Likewise.
12402         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12403         variable.
12404         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12405         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12406         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12408         [BZ #18496]
12409         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12410         instead of wcrtomb.
12412         [BZ #18483]
12413         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12414         [__USE_XOPEN2K8].  Remove redundant #endif.
12415         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12416         Remove redundant #if.
12417         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12418         Remove variable.
12419         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12420         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12422         [BZ #18495]
12423         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12424         (__iswlower): Likewise.
12425         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12426         (__iswlower): Likewise.
12427         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12428         instead of towlower.
12429         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12430         instead of iswlower.  Call __towupper instead of towupper.
12431         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12432         instead of iswalnum.
12434 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12436         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12437         errors to stderr.
12439 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12441         [BZ #15661]
12442         [BZ #17322]
12443         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12444         Check for overflow properly.  Check for O_APPEND.  Ignore large
12445         file system block sizes.  Add comments about problems.
12446         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12447         * manual/filesys.texi (Storage Allocation): New node.
12449 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12451         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12452         cancellable syscalls.
12453         (SYS_ify): Add guard to no redefine it.
12454         (INLINE_SYSCALL): Likewise.
12455         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12456         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12457         SYSCALL_CANCEL instead.
12458         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12459         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12460         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12461         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12462         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12463         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12464         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12465         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12466         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12467         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12468         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12469         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12470         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12471         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12472         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12476         (__libc_pread64): Likewise.
12477         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12478         (__libc_preadv): Likewise.
12479         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12480         (__libc_readv64): Likewise.
12481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12482         (__libc_pwrite): Likewise.
12483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12484         (__libc_pwrite64): Likewise.
12485         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12486         (__libc_pwritev): Likewise.
12487         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12488         (__libc_pwritev64): Likewise.
12489         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12490         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12491         (sync_file_range): Likewise.
12492         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12493         Likewise.
12494         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12495         Likewise.
12496         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12497         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12498         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12499         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12500         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12501         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12502         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12503         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12505         Likewise.
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12507         (__libc_read64): Likewise.
12508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12509         Likewise.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12513         Likewise.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12517         (__libc_pread64): Likewise.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12519         Likewise.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12521         (__libc_pwrite64): Likewise.
12522         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12523         (sync_file_range): Likewise.
12524         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12525         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12526         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12527         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12528         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12529         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12530         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12531         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12532         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12533         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12534         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12535         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12536         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12537         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12538         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12539         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12540         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12541         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12542         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12543         Likewise.
12544         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12547         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12550         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12551         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12552         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12553         Likewise.
12554         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12555         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12556         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12557         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12558         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12560 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12562         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12563         Include dl-vdso.
12564         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12565         Use VDSO routines for gettimeofday, clock_gettime if
12566         available.
12567         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12568         Declare VDSO symbols.
12569         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12570         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12571         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12572         * sysdeps/unix/sysv/linux/arm/Versions: Add
12573         __vdso_clock_gettime.
12575 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12577         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12578         be an inline implementation regardless of library is built within.
12579         (open_not_cancel_2): Likewise.
12580         (__read_nocancel): Likewise.
12581         (__write_nocancel): Likewise.
12582         (openat_not_cancel): Likewise.
12583         (openat_not_cancel_3): Likewise.
12584         (openat64_not_cancel): Likewise.
12585         (openat64_not_cancel_3): Likewise.
12586         (__close_nocancel): Likewise.
12587         (pause_not_cancel): Likewise.
12588         (nanosleep_not_cancel): Likewise.
12589         (sigsuspend_not_cancel): Likewise.
12591 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12593         [BZ #14958]
12594         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12595         wake-up.
12596         (__pthread_rwlock_rdlock_slow): Likewise.
12597         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12598         Likewise.
12599         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12600         Likewise.
12601         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12602         * nptl/tst-rwlock16.c: New file.
12603         * nptl/Makefile (tests): Add new test.
12605 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12607         [BZ #18324]
12608         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12609         missing wake-up of readers.
12610         * nptl/tst-rwlock15.c: New file.
12611         * nptl/Makefile (tests): Add new test.
12613 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12615         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12616         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12617         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12618         and __nacl_supply_interface_rtld.
12619         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12620         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12621         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12622         Add __nacl_supply_interface_rtld.
12623         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12625 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12627         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12628         isfinite.
12629         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12630         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12632 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12634         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12635         __signbit* with standard C99 macros.
12636         * math/e_exp10l.c: Likewise.
12637         * math/e_exp2l.c: Likewise.
12638         * math/e_scalb.c: Likewise.
12639         * math/e_scalbf.c: Likewise.
12640         * math/e_scalbl.c: Likewise.
12641         * math/s_ldexp.c: Likewise.
12642         * math/s_ldexpf.c: Likewise.
12643         * math/s_ldexpl.c: Likewise.
12644         * math/w_atan2.c: Likewise.
12645         * math/w_atan2f.c: Likewise.
12646         * math/w_atan2l.c: Likewise.
12647         * math/w_cosh.c: Likewise.
12648         * math/w_coshf.c: Likewise.
12649         * math/w_coshl.c: Likewise.
12650         * math/w_exp10.c: Likewise.
12651         * math/w_exp10f.c: Likewise.
12652         * math/w_exp10l.c: Likewise.
12653         * math/w_exp2.c: Likewise.
12654         * math/w_exp2f.c: Likewise.
12655         * math/w_exp2l.c: Likewise.
12656         * math/w_fmod.c: Likewise.
12657         * math/w_fmodf.c: Likewise.
12658         * math/w_fmodl.c: Likewise.
12659         * math/w_hypot.c: Likewise.
12660         * math/w_hypotf.c: Likewise.
12661         * math/w_hypotl.c: Likewise.
12662         * math/w_jnl.c: Likewise.
12663         * math/w_lgamma.c: Likewise.
12664         * math/w_lgamma_r.c: Likewise.
12665         * math/w_lgammaf.c: Likewise.
12666         * math/w_lgammaf_r.c: Likewise.
12667         * math/w_lgammal.c: Likewise.
12668         * math/w_lgammal_r.c: Likewise.
12669         * math/w_pow.c: Likewise.
12670         * math/w_powf.c: Likewise.
12671         * math/w_powl.c: Likewise.
12672         * math/w_remainder.c: Likewise.
12673         * math/w_remainderf.c: Likewise.
12674         * math/w_remainderl.c: Likewise.
12675         * math/w_scalb.c: Likewise.
12676         * math/w_scalbf.c: Likewise.
12677         * math/w_scalbl.c: Likewise.
12678         * math/w_scalbln.c: Likewise.
12679         * math/w_scalblnf.c: Likewise.
12680         * math/w_scalblnl.c: Likewise.
12681         * math/w_sinh.c: Likewise.
12682         * math/w_sinhf.c: Likewise.
12683         * math/w_sinhl.c: Likewise.
12684         * math/w_tgamma.c: Likewise.
12685         * math/w_tgammaf.c: Likewise.
12686         * math/w_tgammal.c: Likewise.
12687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12688         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12689         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12690         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12691         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12693         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12694         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12695         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12696         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12697         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12698         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12699         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12700         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12701         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12703         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12704         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12705         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12708         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12711         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12712         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12713         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12714         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12715         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12716         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12717         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12718         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12719         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12720         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12721         * stdio-common/printf_fp.c: Likewise.
12722         * stdio-common/printf_fphex.c: Likewise.
12723         * stdio-common/printf_size.c: Likewise.
12725 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12727         [BZ #18470]
12728         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12729         strnlen.
12730         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12731         Remove variable.
12732         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12733         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12734         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12735         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12736         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12737         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12738         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12739         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12740         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12741         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12743         [BZ #18468]
12744         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12745         weak alias of __wmemchr.  Use libc_hidden_weak.
12746         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12747         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12748         instead of wmemchr.
12750 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12752         [BZ #18383]
12753         * elf/tst-tlsalign-extern.c: New file.
12754         * elf/tst-tlsalign-extern-static.c: New file.
12755         * elf/tst-tlsalign-vars.c: New file.
12756         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12757         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12758         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12759         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12760         (test-xfail-tst-tlsalign-extern-static): New variable.
12762 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12764         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12765         Use variable name _sc_err instead of err.
12766         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12767         instead of ret.
12768         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12769         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12770         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12771         (INLINE_SYSCALL): Likewise.
12773         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12774         * include/string.h (__strnlen): Use libc_hidden_proto.
12775         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12776         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12777         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12778         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12779         (libc_hidden_def): Undefine and redefine.
12780         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12781         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12782         __GI_strnlen.
12783         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12784         libc_hidden_def.
12785         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12787         [BZ #18469]
12788         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12789         weak alias of __towlower.  Use libc_hidden_weak.
12790         (towupper): Rename to __towupper and define as weak alias of
12791         __towupper.  Use libc_hidden_weak.
12792         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12793         (__towupper): Likewise.
12794         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12795         __towlower instead of towlower.
12797 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12799         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12800         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12802 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12804         * sysdeps/aarch64/libm-test-ulps: Update.
12806 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12808         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12809         Define.
12810         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12812         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12813         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12814         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12815         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12816         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12818 2015-06-01  Martin Sebor  <msebor@redhat.com>
12820         [BZ #18116]
12821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12822         (__setcontext): Use extended four-operand version of mtsf whenever
12823         possible.
12824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12825         (__novec_swapcontext): Likewise.
12827 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12829         * benchtests/scripts/compare_bench.py: New file.
12830         * benchtests/scripts/import_bench.py (mean): New function.
12831         (split_list): Likewise.
12832         (do_for_all_timings): Likewise.
12833         (compress_timings): Likewise.
12835         * benchtests/scripts/import_bench.py: New file.
12836         * benchtests/scripts/validate_benchout.py: Import import_bench
12837         instead of jsonschema.
12838         (validate_bench): Remove function.
12839         (main): Use import_bench.
12841 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12844         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12846 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12850 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12852         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12853         set THREAD_SELF->tid to a magic value and futex-wake it.
12854         Pass its address to the thread_exit system call.
12855         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12856         bit is clear.
12857         * sysdeps/nacl/lowlevellock.h: New file.
12858         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12860         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12861         Add TIMEOUT to current time, don't subtract it.
12863 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12865         [BZ #2981]
12866         [BZ #18422]
12867         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12868         ($(objpfx)tst-audit2.out): Also depend on
12869         $(objpfx)tst-auditmod9b.so.
12870         * elf/tst-audit2.c: Include <dlfcn.h>.
12871         (calloc_called): New.
12872         (calloc): Allow to be called more than once.
12873         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12875 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12877         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12878         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12880 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12882         * stdlib/monetary.h: Fix comment.
12884 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12886         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12887         Avoid using variables in #defines that might cause shadowing.
12888         (INTERNAL_VSYSCALL_CALL): Likewise.
12890 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12892         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12894         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12895         * nptl/lll_timedlock_wait.c: ... to this new file.
12896         * nptl/Makefile (libpthread-routines): Add it.
12897         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12898         * nptl/lll_timedwait_tid.c: ... to this new file.
12899         * nptl/Makefile (libpthread-routines): Add it.
12900         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12901         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12902         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12903         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12904         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12905         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12906         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12907         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12908         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12909         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12911 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12913         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12914         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12915         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12917         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12919         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12921         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12922         * sysdeps/unix/sysv/linux/tile/sysdep.h
12923         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12924         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12925         using vDSO syscall macro.
12927 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12929         [BZ #17293]
12930         * uk_UA: Fix sorting order for Ukrainian locale
12932 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12934         * stdlib/monetary.h: Fix comment.
12936 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12938         [BZ #18234]
12939         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12940         st_mtim and st_ctim members.
12941         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12942         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12943         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12944         (struct stat64): Likewise.
12945         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12946         (struct stat64): Likewise.
12947         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12948         (struct stat64): Likewise.
12950 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12952         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12953         Define and include sysdep-vdso.h.
12954         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12955         Likewise.
12956         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12957         Likewise.
12958         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12959         Define with VDSO_SYMBOL and use PTR_MANGLE.
12960         (__vdso_clock_gettime): Likewise.
12961         (__vdso_clock_getres): Likewise.
12962         (_libc_vdso_platform_setup): Likewise.
12963         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12964         Likewise.
12965         (_libc_vdso_platform_setup): Likewise.
12966         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12967         Likewise.
12968         (__vdso_clock_gettime): Likewise.
12969         (__vdso_clock_getres): Likewise.
12970         (__vdso_get_tbfreq): Likewise.
12971         (__vdso_getcpu): Likewise.
12972         (__vdso_time): Likewise.
12973         (__vdso_sigtramp_rt64): Likewise.
12974         (__vdso_signtramp32): Likewise.
12975         (__vdso_sigtramp_rt32): Likewise.
12976         (_libc_vdso_platform_setup): Likewise.
12977         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12978         Likewise.
12979         (__vdso_clock_gettime): Likewise.
12980         (__vdso_clock_getres): Likewise.
12981         (_libc_vdso_platform_setup): Likewise.
12982         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12983         Likewise.
12984         (__vdso_clock_gettime): Likewise.
12985         (_libc_vdso_platform_setup): Likewise.
12986         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12987         Likewise.
12988         (__vdso_getcpu): Likewise.
12989         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12990         Use VDSO_SYMBOL macro to define.
12991         (__vdso_clock_gettime): Likewise.
12992         (__vdso_clock_getres): Likewise.
12993         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12994         Likewise.
12995         (__vdso_clock_gettime): Likewise.
12996         (__vdso_clock_getres): Likewise.
12997         (__vdso_get_tbfreq): Likewise.
12998         (__vdso_getcpu): Likewise.
12999         (__vdso_time): Likewise.
13000         (__vdso_sigtramp_rt64): Likewise.
13001         (__vdso_signtramp32): Likewise.
13002         (__vdso_sigtramp_rt32): Likewise.
13003         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13004         Likewise.
13005         (__vdso_clock_gettime): Likewise.
13006         (__vdso_clock_getres): Likewise.
13007         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13008         Likewise.
13009         (__vdso_clock_gettime): Likewise.
13010         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13013         macro.
13014         (INTERNAL_VSYSCALL): Likewise.
13015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13016         Remove macro.
13017         (INTERNAL_VSYSCALL): Likewise.
13018         (INTERNAL_VSYSCALL_NCS): Likewise.
13019         (INTERNAL_VSYSCALL_CALL): New macro.
13020         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13022         Likewise.
13023         (INTERNAL_VSYSCALL): Likewise.
13024         (INTERNAL_VSYSCALL_NCS): Likewise.
13025         (INTERNAL_VSYSCALL_CALL): New macro.
13026         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13028         (INLINE_VSYSCALL): Remove macro.
13029         (INTERNAL_VSYSCALL): Remove macro.
13030         (INTERNAL_VSYSCALL_NCS): Remove macro.
13031         (INTERNAL_VSYSCALL_CALL): New macro.
13032         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13033         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13034         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13035         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13036         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13038         (INLINE_VSYSCALL): Remove macro.
13039         (INTERNAL_VSYSCALL): Likewise.
13040         (INTERNAL_VSYSCALL_NCS): Likewise.
13041         (INTERNAL_VSYSCALL_CALL): New macro.
13042         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13043         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13044         PTR_DEMANGLE on vDSO pointer.
13045         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13046         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13047         macro.
13048         (INTERNAL_SYSCALL): Likewise.
13049         (INTERNAL_VSYSCALL_NCS): Remove macro.
13050         (INTERNAL_VSYSCALL_CALL): New macro.
13051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13052         Remove macro.
13053         (INTERNAL_VSYSCALL): Likewise.
13054         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13055         sysdep-vdso.h instead of libc-vdso.h.
13056         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13057         definition.
13058         (INLINE_VSYSCALL): Likewise.
13059         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13060         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13061         definition.
13062         (INLINE_VSYSCALL): Likewise.
13063         (INTERNAL_VSYSCALL): Likewise.
13064         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13065         * sysdeps/unix/sysv/linux/timespec_get.c
13066         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13067         (timespec_get): Use ANSI prototype.
13068         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13069         and definition for Linux.
13071 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13073         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13074         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13076 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13078         [BZ #2981]
13079         [BZ #18410]
13080         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13081         for missing DT_PLTRELSZ.
13083 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13085         Remove obsolete aliases that broke 'locale -a'
13086         [BZ #18412]
13087         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13088         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13089         breaking some applications that use 'locale -a' output.
13090         Change the encoding of this file from Latin-1 to ASCII to avoid
13091         other potential problems with people grepping this file.
13093 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13095         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13096         -fasynchronous-unwind-tables.
13097         (CFLAGS-sendto.c): Likewise.
13098         (CFLAGS-sendmsg.c): Likewise.
13099         (CFLAGS-connect.c): Likewise.
13100         (CFLAGS-recvmsg.c): Likewise.
13101         (CFLAGS-recvfrom.c): Likewise.
13102         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13103         (SOCKETCALL): New macro: non-cancellable socketcall.
13104         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13105         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13106         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13107         * sysdeps/unix/sysv/linux/accept.c: New file.
13108         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13109         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13110         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13111         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13112         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13113         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13114         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13115         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13116         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13117         * sysdeps/unix/sysv/linux/send.c: Likewise.
13118         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13119         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13120         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13121         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13122         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13123         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13124         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13125         prototype.
13126         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13127         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13128         instead of __internal_xxx function.
13129         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13130         prototype.
13131         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13132         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13133         instead of __internal_xxx function.
13134         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13135         prototype.
13136         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13137         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13138         instead of __internal_xxx function.
13139         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13140         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13141         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13142         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13143         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13144         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13145         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13146         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13147         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13148         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13149         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13150         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13151         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13152         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13153         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13154         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13155         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13156         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13157         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13158         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13161         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13162         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13163         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13164         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13165         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13166         * sysdeps/unix/sysv/linux/send.S: Likewise.
13167         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13168         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13169         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13170         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13171         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13172         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13174         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13175         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13176         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13177         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13178         socketcall is implemented in GLIBC.
13180 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13182         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13183         (__fma): Ignore uninitialized warnings around packing.
13184         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13185         (__fmaf): Ignore uninitialized warnings around packing.
13186         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13187         (__fmal): Ignore uninitialized warnings around packing.
13189         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13190         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13191         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13192         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13194         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13195         switch statement into default case.
13196         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13198         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13199         a conditional in forcing "inexact".
13200         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13201         Likewise.
13203 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13205         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13206         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13207         for each INTERNAL_SYSCALL use.
13209 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13211         [BZ #438]
13212         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13213         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13214         variable.
13216         [BZ #18444]
13217         * string/basename.c (basename): Rename to __basename and define as
13218         weak alias of __basename.  Use libc_hidden_weak.
13219         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13220         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13221         __basename instead of basename.
13222         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13223         Remove variable.
13224         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13226 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13228         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13229         (_IO_JUMPS_FILE_plus): New.
13230         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13231         _IO_CAST_FIELD_ACCESS.
13232         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13233         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13234         * libio/freopen.c (freopen): Likewise.
13235         * libio/freopen64.c (freopen64): Likewise.
13236         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13237         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13238         * libio/iofwide.c (_IO_fwide): Likewise.
13239         * libio/memstream.c (open_memstream): Likewise.
13240         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13241         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13242         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13244 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13246         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13247         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13248         NADJ.
13249         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13250         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13251         NADJ.
13252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13253         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13254         NADJ.
13256         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13257         (p == 4) case.
13259         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13260         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13261         Remove variable.
13262         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13263         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13264         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13266 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13268         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13269         Adjust jump table label generation macros.
13271 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13273         * stdio-common/vfprintf.c (vfprintf): Move local variables
13274         args_malloced, specs, specs_malloced, and the code after
13275         do_positional to the printf_positional function.
13276         (printf_positional): New function.
13278 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13280         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13281         function.
13282         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13283         STEP4_TABLE, process_arg): Move macro definitions
13284         out of the vfprintf function.  (Cosmetic change only.)
13286 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13288         * benchtests/Makefile (stdio-common-bench): Define.
13289         (benchset): Add stdio-common-bench.
13290         * sprintf-inputs: New file.
13291         * sprintf-source.c: New file.
13293 2015-05-21  Andreas Schwab  <schwab@suse.de>
13295         [BZ #13028]
13296         [BZ #17053]
13297         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13298         of struct __res_state.
13299         * resolv/res_send.c (__libc_res_nsend): Likewise.
13300         (get_nsaddr): New function.
13301         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13302         statp directly.
13304 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13306         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13307         -D_POSIX_C_SOURCE=199506L.
13309         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13311         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13312         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13313         Do not mention otherwise.
13314         [POSIX] (_XOPEN_VERSION): Do not expect.
13315         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13316         [POSIX] (_POSIX2_C_BIND): Likewise.
13317         [POSIX] (_POSIX2_VERSION): Likewise.
13318         [POSIX] (_XOPEN_XPG2): Likewise.
13319         [POSIX] (_XOPEN_XPG3): Likewise.
13320         [POSIX] (_XOPEN_XPG4): Likewise.
13321         [POSIX] (_XOPEN_UNIX): Likewise.
13322         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13323         [POSIX] (_POSIX_BARRIERS): Likewise.
13324         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13325         [POSIX] (_POSIX_CPUTIME): Likewise.
13326         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13327         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13328         [POSIX] (_POSIX_SHELL): Likewise.
13329         [POSIX] (_POSIX_SPAWN): Likewise.
13330         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13331         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13332         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13333         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13334         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13335         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13336         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13337         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13338         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13339         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13340         [POSIX] (_POSIX2_PBS): Likewise.
13341         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13342         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13343         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13344         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13345         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13346         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13347         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13348         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13349         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13350         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13351         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13352         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13353         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13354         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13355         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13356         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13357         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13358         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13359         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13360         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13361         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13362         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13363         [POSIX] (_SC_2_C_BIND): Likewise.
13364         [POSIX] (_SC_2_C_VERSION): Likewise.
13365         [POSIX] (_SC_2_PBS): Likewise.
13366         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13367         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13368         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13369         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13370         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13371         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13372         [POSIX] (_SC_BARRIERS): Likewise.
13373         [POSIX] (_SC_BASE): Likewise.
13374         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13375         [POSIX] (_SC_DEVICE_IO): Likewise.
13376         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13377         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13378         [POSIX] (_SC_FD_MGMT): Likewise.
13379         [POSIX] (_SC_FIFO): Likewise.
13380         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13381         [POSIX] (_SC_FILE_LOCKING): Likewise.
13382         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13383         [POSIX] (_SC_IOV_MAX): Likewise.
13384         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13385         [POSIX] (_SC_NETWORKING): Likewise.
13386         [POSIX] (_SC_PAGE_SIZE): Likewise.
13387         [POSIX] (_SC_PASS_MAX): Likewise.
13388         [POSIX] (_SC_PIPE): Likewise.
13389         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13390         [POSIX] (_SC_REGEXP): Likewise.
13391         [POSIX] (_SC_SHELL): Likewise.
13392         [POSIX] (_SC_SIGNALS): Likewise.
13393         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13394         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13395         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13396         [POSIX] (_SC_USER_GROUPS): Likewise.
13397         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13398         [POSIX] (_SC_STREAMS): Likewise.
13399         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13400         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13401         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13402         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13403         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13404         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13405         [POSIX] (_PC_FILESIZEBITS): Likewise.
13406         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13407         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13408         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13409         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13410         [POSIX] (uid_t): Likewise.
13411         [POSIX] (gid_t): Likewise.
13412         [POSIX] (off_t): Likewise.
13413         [POSIX] (pid_t): Likewise.
13414         [POSIX] (cuserid): Allow.
13415         (_SC_2_CHAR_TERM): Require constant.
13416         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13417         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13418         variable.
13420 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13422         * sysdeps/nacl/pthread-pids.h: New file.
13423         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13424         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13426         * nptl/pthread-pids.h: New file.
13427         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13428         * nptl/nptl-init.c: Include <pthread-pids.h>.
13429         (__pthread_initialize_minimal_internal):
13430         Call __pthread_initialize_pids instead of set_tid_address syscall.
13432         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13433         * sysdeps/posix/usleep.c: ... here.
13435 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13437         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13438         call_pselect6 object.
13439         [$(subdir) = io]: Remove call_sync_file_range object.
13440         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13441         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13442         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13443         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13445 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13447         * math/s_cproj.c: Add include "math_private.h".
13448         * math/s_cprojf.c: Likewise.
13449         * math/s_cprojl.c: Likewise.
13451 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #18244]
13454         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13455         high mantissa bit when testing whether P is a NaN.
13456         * math/libm-test.inc (remainder_test_data): Add more tests.
13457         (remquo_test_data): Likewise.
13459         [BZ #18049]
13460         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13461         below -32, return the argument, with underflow if subnormal.
13462         * math/auto-libm-test-in: Add more tests of atanh.
13463         * math/auto-libm-test-out: Regenerated.
13465 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13467         [BZ #18434]
13468         * nptl/tst-sem15.c: New file.
13469         * nptl/Makefile (tests): Add it.
13470         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13471         s/<</>>/ to fix typo in EOVERFLOW check.
13472         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13474 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13476         * manual/strings.texi (envz_remove): Fix typo in safety
13477         annotations.
13479 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13480             Steve Ellcey  <sellcey@imgtec.com>
13482         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13483         in order to avoid strict alias warnings.
13484         (iruserok_af): Ditto for ra.
13486 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13488         [BZ #17581]
13489         * malloc/hooks.c
13490         (magicbyte): Convert to a function and avoid returning 0x01.
13491         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13492         (mem2chunk_check): Fix unsigned comparisons to zero.
13493         Hoist defs of sz and magic.
13495 2015-05-19  Richard Henderson  <rth@redhat.com>
13497         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13499         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13501 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13503         [BZ #16159]
13504         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13505         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13506         (reused_arena): Find a non-corrupt arena.
13507         (heap_trim): Pass arena to unlink.
13508         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13509         malloc_printerr.
13510         (top_check): Likewise.
13511         (free_check): Likewise.
13512         (realloc_check): Likewise.
13513         * malloc/malloc.c (malloc_printerr): Add arena argument.
13514         (unlink): Likewise.
13515         (munmap_chunk): Adjust.
13516         (ARENA_CORRUPTION_BIT): New macro.
13517         (arena_is_corrupt): Likewise.
13518         (set_arena_corrupt): Likewise.
13519         (sysmalloc): Use mmap if there are no usable arenas.
13520         (_int_malloc): Likewise.
13521         (__libc_malloc): Don't fail if arena_get returns NULL.
13522         (_mid_memalign): Likewise.
13523         (__libc_calloc): Likewise.
13524         (__libc_realloc): Adjust for additional argument to
13525         malloc_printerr.
13526         (_int_free): Likewise.
13527         (malloc_consolidate): Likewise.
13528         (_int_realloc): Likewise.
13529         (_int_memalign): Don't touch corrupt arenas.
13530         * malloc/tst-malloc-backtrace.c: New test case.
13532         * Makefile (summarize-tests): Fix return value on success.
13534         * manual/string.texi (Envz Functions): Add envz_remove.
13536 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13538         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13539         (invalid_name): New function, broken out of ...
13540         (__opendirat): ... here.  Call it.
13541         (need_isdir_precheck): New function, broken out of ...
13542         (__opendirat): ... here.  Call it.
13543         Use __fxstatat64, not __xstatat64.
13544         (opendir_oflags): New function, broken out of ...
13545         (__opendirat): ... here.  Call it.
13546         (opendir_tail): New function, broken out of ...
13547         (__opendirat): ... here.  Call it.
13548         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13549         opendir_tail, rather than punting to __opendirat.
13550         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13552 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13554         * .gitignore: Ignore generated *.pyc.
13556 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13558         * include/stdio.h: Define __need_wint_t.
13559         * test-skeleton.c: Avoid `for' loop initial declaration.
13560         * nptl/tst-initializers1.c: Use test-skeleton.c.
13562 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13564         [BZ #18418]
13565         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13567 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13569         [BZ #16352]
13570         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13571         (__ieee754_atanh): Force underflow exception for results with
13572         small absolute value.
13573         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13574         (__ieee754_atanhf): Force underflow exception for results with
13575         small absolute value.
13576         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13577         (__ieee754_atanh): Force underflow exception for results with
13578         small absolute value.
13579         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13580         (__ieee754_atanhf): Force underflow exception for results with
13581         small absolute value.
13582         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13583         (__ieee754_atanhl): Force underflow exception for results with
13584         small absolute value.
13585         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13586         (__ieee754_atanhl): Force underflow exception for results with
13587         small absolute value.
13588         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13589         (__ieee754_atanhl): Force underflow exception for results with
13590         small absolute value.
13591         * math/auto-libm-test-in: Do not allow missing underflow
13592         exceptions from atanh.
13593         * math/auto-libm-test-out: Regenerated.
13595         [BZ #18221]
13596         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13597         2**-28 as threshold for returning x or +/- 1/x.
13598         * math/auto-libm-test-in: Add more tests of tan.
13599         * math/auto-libm-test-out: Regenerated.
13601         [BZ #18220]
13602         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13603         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13604         * math/auto-libm-test-in: Add another test of lgamma.
13605         * math/auto-libm-test-out: Regenerated.
13607 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13609         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13610         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13611         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13612         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13613         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13614         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13615         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13616         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13618         (log1): Use fabs.  (my_log2): Use fabs.
13619         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13620         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13622         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13624         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13625         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13626         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13627         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13628         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13629         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13631 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13633         [BZ #18217]
13634         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13635         as threshold for returning 1 - x.
13636         * math/auto-libm-test-in: Add more tests of erfc.
13637         * math/auto-libm-test-out: Regenerated.
13639 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13641         [BZ #18196]
13642         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13643         threshold for large arguments.
13644         * math/auto-libm-test-in: Add another test of atan.
13645         * math/auto-libm-test-out: Regenerated.
13647         [BZ #16339]
13648         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13649         (__log1p): Force underflow exception for results with small
13650         absolute value.
13651         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13652         (__log1pf): Force underflow exception for results with small
13653         absolute value.
13654         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13655         (__log1p): Force underflow exception for results with small
13656         absolute value.
13657         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13658         (__log1pf): Force underflow exception for results with small
13659         absolute value.
13660         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13661         (__log1pl): Force underflow exception for results with small
13662         absolute value.
13663         * math/auto-libm-test-in: Do not allow missing underflow
13664         exceptions from log1p.
13665         * math/auto-libm-test-out: Regenerated.
13667 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13668             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13670         [BZ #16704]
13671         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13673 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13675         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13676         (libmvec): New variable.
13677         * configure.ac: Added option for mathvec build.
13678         * configure: Regenerated.
13679         * mathvec/Depend: New file.
13680         * mathvec/Makefile: New file.
13681         * shlib-versions: Added libmvec.
13682         * math/Makefile: Added rule for libm.so installation.
13684         * bits/math-vector.h: New file.
13685         * bits/libm-simd-decl-stubs.h: New header.
13686         * math/Makefile (headers): Added new header
13687         libm-simd-decl-stubs.h.
13688         * math/math.h (__MATHCALL_VEC): New macro.
13690         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13691         for conditions in testing functions.
13692         * math/Makefile: Added call of libm-have-vector-test.sh.
13693         * math/libm-test.inc (HAVE_VECTOR): New macros.
13695         * math/libm-test.inc: START refactored.
13696         * math/test-double.c (TEST_MATHVEC): Add define.
13697         * math/test-float.c: Likewise.
13698         * math/test-idouble.c: Likewise.
13699         * math/test-ifloat.c: Likewise.
13700         * math/test-ildoubl.c: Likewise.
13701         * math/test-ldouble.c: Likewise.
13702         * sysdeps/generic/math-tests-arch.h
13703         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13704         architecture check.
13706         * math/test-double.c (FUNC_TEST): New macro.
13707         * math/test-float.c: Likewise.
13708         * math/test-idouble.c: Likewise.
13709         * math/test-ifloat.c: Likewise.
13710         * math/test-ildoubl.c: Likewise.
13711         * math/test-ldouble.c: Likewise.
13712         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13714 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13716         * sysdeps/nacl/fdopendir.c: New file.
13718         * dirent/scandir-tail.c: New file.
13719         * dirent/scandir64-tail.c: New file.
13720         * dirent/Makefile (routines): Add them.
13721         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13722         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13723         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13724         [!SCANDIR] (SCANDIR_TAIL): New macro.
13725         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13726         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13727         (SCANDIRAT): Macro removed.
13728         (SCANDIR_TAIL): New macro.
13729         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13730         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13731         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13732         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13733         (READDIR): Macro removed.
13734         (SCANDIR_TAIL): New macro.
13735         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13736         (SCANDIR_TAIL): New macro.
13738         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13739         * dirent/scandir-cancel.c: ... to this new file.
13740         * dirent/Makefile (routines): Add it.
13741         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13742         * sysdeps/unix/sysv/linux/i386/scandir64.c
13743         (SKIP_SCANDIR_CANCEL): Macro removed.
13744         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13746         * dirent/tst-scandir.c: New file.
13747         * dirent/tst-scandir64.c: New file.
13748         * dirent/Makefile (tests): Add them.
13750 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13752         [BZ #18409]
13753         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13755 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13757         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13758         list.
13760 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13762         * benchtests/bench-strcoll.c: New benchmark.
13763         * benchtests/Makefile: Generate locales and run benchmark.
13764         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13765         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13766         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13767         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13768         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13769         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13770         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13771         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13772         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13773         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13774         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13775         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13776         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13777         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13778         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13779         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13780         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13781         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13782         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13783         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13784         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13785         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13786         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13787         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13789 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13791         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13792         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13794 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13796         * posix/uname-values.h: New file.
13797         * posix/uname.c: Include that instead of <config-name.h>.
13798         * sysdeps/nacl/uname-values.h: New file.
13799         * sysdeps/arm/nacl/uname-values.h: New file.
13801 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13803         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13804         splitting into fields.
13806 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13808         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13809         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13810         * locale/localeinfo.h: Add enum collation_encoding_type.
13811         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13812         * programs/ld-collate.c (collate_output): Add encoding type info.
13813         * string/strcoll_l.c (STRDIFF): New function.
13814         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13815         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13817 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13819         [BZ #18397]
13820         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13821         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13822         <fpu_control.h> instead of <math/fpu_control.c>.
13823         * sysdeps/mips/mips32/fpu/Makefile: New file.
13825 2015-05-11  Andreas Schwab  <schwab@suse.de>
13827         [BZ #18007]
13828         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13829         nss_endgrent.
13830         (_nss_compat_endgrent): Call nss_endgrent.
13831         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13832         nss_endpwent.
13833         (_nss_compat_endpwent): Call nss_endpwent.
13834         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13835         needent, call nss_setspent only if non-zero.
13836         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13837         (internal_endspent): Don't call nss_endspent.
13838         (_nss_compat_endspent): Call nss_endspent.
13839         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13840         Remove.  All uses removed.
13841         (internal_setent): Remove parameter stayopen, add parameter
13842         stream.  Use it instead of global variable.
13843         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13844         (internal_endent, internal_getent): Add parameter stream.  Use it
13845         instead of global variable.
13846         (CONCAT(_nss_files_end,ENTNAME))
13847         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13848         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13849         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13850         uses removed.
13851         (internal_setent, internal_endent): Add parameter stream.  Use it
13852         instead of global variable.
13853         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13854         stream.
13855         (get_next_alias): Add parameter stream.
13856         (_nss_files_getaliasent_r): Pass global stream.
13857         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13858         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13859         (_nss_files_gethostbyname4_r): Pass local stream to
13860         internal_setent, internal_getent and internal_endent.  Remove
13861         locking.
13863 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13865         * tst-strfmon1.c (tests): Update expected currency symbol.
13867 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13869         * sysdeps/nacl/gethostname.c: New file.
13871 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13873         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13874         and sinh.
13875         * math/auto-libm-test-out: Regenerated.
13876         * sysdeps/i386/fpu/libm-test-ulps: Update.
13877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13879 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13881         [BZ #18125]
13882         * stdlib/tst-setcontext3.c: New file.
13883         * stdlib/tst-setcontext3.sh: New file.
13884         * stdlib/Makefile (tests): Add tst-setcontext3.
13885         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13886         to verify test program created output file.
13887         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13888         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13889         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13890         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13892 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13894         [BZ #18383]
13895         * elf/tst-tlsalign.c: New file.
13896         * elf/tst-tlsalign-static.c: New file.
13897         * elf/tst-tlsalign-lib.c: New file.
13898         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13899         (tests-static): Add tst-tlsalign-static.
13900         (modules-names): Add tst-tlsalign-lib.
13901         (test-xfail-tst-tlsalign): New variable.
13902         (test-xfail-tst-tlsalign-static): New variable.
13904         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13905         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13907 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13909         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13910         csqrt, erfc, sin and sincos.
13911         * math/auto-libm-test-out: Regenerated.
13912         * sysdeps/i386/fpu/libm-test-ulps: Update.
13913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13915 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13917         * sysdeps/aarch64/libm-test-ulps: Update.
13919 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13921         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13922         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13923         * math/auto-libm-test-out: Regenerated.
13924         * sysdeps/i386/fpu/libm-test-ulps: Update.
13925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13929         [BZ #18265]
13930         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13931         (wcsncpy): Likewise.
13933 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13935         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13936         Assume __ASSUME_FALLOCATE is always true.
13937         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13938         (__posix_fallocate64_l64): Likweise.
13939         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13940         (posix_fallocate): Likewise.
13941         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13942         (__posix_fallocate64_l64): Likewise.
13943         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13944         [!__ASSUME_FALLOCATE]: Add comment.
13946 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13948         * sysdeps/unix/sysv/linux/i386/Makefile
13949         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13950         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13951         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13952         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13953         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13954         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13955         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13957 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13959         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13960         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13961         tgamma.
13962         * math/auto-libm-test-out: Regenerated.
13963         * sysdeps/i386/fpu/libm-test-ulps: Update.
13964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13966 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13968         * math/auto-libm-test-in: Add more tests of tgamma.
13969         * math/auto-libm-test-out: Regenerated.
13970         * sysdeps/i386/fpu/libm-test-ulps: Update.
13971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13973         * math/auto-libm-test-in: Add more tests of tanh.
13974         * math/auto-libm-test-out: Regenerated.
13975         * sysdeps/i386/fpu/libm-test-ulps: Update.
13976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13978         * math/auto-libm-test-in: Add more tests of tan.
13979         * math/auto-libm-test-out: Regenerated.
13980         * sysdeps/i386/fpu/libm-test-ulps: Update.
13981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13983         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13984         * math/auto-libm-test-out: Regenerated.
13985         * sysdeps/i386/fpu/libm-test-ulps: Update.
13986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13988         * math/auto-libm-test-in: Add another test of pow.
13989         * math/auto-libm-test-out: Regenerated.
13990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13992         * math/auto-libm-test-in: Add more tests of lgamma.
13993         * math/auto-libm-test-out: Regenerated.
13994         * sysdeps/i386/fpu/libm-test-ulps: Update.
13995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13998         log1p.
13999         * math/auto-libm-test-out: Regenerated.
14000         * sysdeps/i386/fpu/libm-test-ulps: Update.
14001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14003 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14005         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14006         Elf64_Chdr structs and ELFCOMPRESS constants.
14008 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14010         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14011         expm1.
14012         * math/auto-libm-test-out: Regenerated.
14013         * sysdeps/i386/fpu/libm-test-ulps: Update.
14014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14016         * math/auto-libm-test-in: Add more tests of erf and erfc.
14017         * math/auto-libm-test-out: Regenerated.
14018         * sysdeps/i386/fpu/libm-test-ulps: Update.
14019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14021 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14023         * config.h.in (HAVE_AARCH64_BE): Add.
14025 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14027         * math/auto-libm-test-in: Add more tests of csqrt.
14028         * math/auto-libm-test-out: Regenerated.
14029         * sysdeps/i386/fpu/libm-test-ulps: Update.
14030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14032         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14033         * math/auto-libm-test-out: Regenerated.
14034         * sysdeps/i386/fpu/libm-test-ulps: Update.
14035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14039 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14041         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14042         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14044         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14045         (euidaccess, eaccess): Define as weak aliases.
14047         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14048         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14049         but __suseconds_t is often 'long int' so some sources assume that
14050         type is being used (e.g. they use %ld to print tv_usec).
14052 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14054         [BZ #18007]
14055         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14056         (CVE-2014-8121)
14057         * nss/tst-nss-getpwent.c: New file.
14058         * nss/Makefile (tests): Add new test.
14060 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14062         [BZ #18346]
14063         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14064         exponents less than 48 as cases where high part of mantissa needs
14065         examining to determine whether argument is integral.
14066         * math/libm-test.inc (round_test_data): Add more tests.
14068 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14070         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14072 2015-04-27  David S. Miller  <davem@davemloft.net>
14074         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14075         __tls_get_addr.
14076         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14078 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14080         [BZ#18333]
14081         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14083 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14085         [BZ#18333]
14086         * time/tzset.c (parse_tzname): Return error on memory allocation
14087         failure.
14088         * test-skeleton.c (struct temp_name_list): Change type of name
14089         member to non-const.
14090         (add_temp_file): Create a copy of the file name.
14091         (delete_temp_files): Deallocate memory.
14092         (create_temp_file): Add comment.
14094 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14096         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14097         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14099 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14101         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14102         * sysdeps/arm/configure: Regenerated.
14104 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14106         [BZ #17715]
14107         * time/tzfile.c (__tzfile_read): Check for large values of
14108         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14109         * time/tzset.c (__tzstring_len): New function, based on the old
14110         __tzstring function.
14111         (__tzstring): Call __tzstring_len.
14112         (parse_tzname): New helper function extracted from
14113         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14114         the input string.
14115         (parse_offset): New helper function extracted from
14116         __tzset_parse_tz.  Replace switch with fallthrough with
14117         initialization before sscanf.
14118         (parse_rule): Likewise.
14119         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14120         new-style function definition.
14121         * timezone/Makefile (tests): Add tst-tzset.
14122         (tst-tzset.out): Dependencies on time zone files.
14123         (tst-tzset-ENV): Set TZDIR.
14124         (testdata/XT%): Copy crafted time zone files.
14125         * timezone/README: Mention crafted time zone files.
14126         * timezone/testdata/XT1, timezone/testdata/XT2,
14127         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14128         files.
14129         * timezone/tst-tzset.c: New test.
14131 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14133         * Makeconfig (+gccwarn): Remove -Winline.
14135 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14137         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14139 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14141         * NEWS: Mention sysconf() cache information support for s390.
14142         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14144 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14146         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14147         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14148         (__nearbyint): Likewise.
14149         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14150         (copysignl): Likewise.
14152 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14154         [BZ #18287]
14155         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14156         based on padding.  (CVE-2015-1781)
14158 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14160         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14161         libc-vdso.h.
14162         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14163         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14164         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14165         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14166         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14167         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14170         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14172         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14173         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14174         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14175         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14176         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14177         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14178         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14179         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14180         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14181         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14182         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14183         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14184         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14186 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14188         * stdlib/setenv.c (__add_to_environ):
14189         Dump core quickly if setenv (..., NULL, ...) is called.
14190         This time, do it the right way, and pacify GCC with a pragma.
14192 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14194         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14195         IMAP->l_prev cannot be null, and #if out the code for the contrary
14196         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14197         believe that NS (&_dl_ns[NSID]) could point outside the array.
14199         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14200         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14201         before using NSID as an index.
14203 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14205         [BZ #17825]
14206         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14207         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14208         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14210 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14212         Add preliminary port to Google Native Client on ARM.
14213         * abi-tags (.*-.*-nacl.*): New entry.
14214         * sysdeps/arm/nacl: New directory.
14215         * sysdeps/nacl: New directory.
14217 2015-04-16  David S. Miller  <davem@davemloft.net>
14219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14220         lowlevellock-futex.h
14222 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14224         * sysdeps/tile/configure.ac: New file.
14225         * sysdeps/tile/configure: Regenerated.
14227 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14229         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14230         conditionals for weak_alias and libc_hidden_weak.
14231         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14232         libc_hidden_weak and weak_alias.
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14234         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14235         and weak_alias for static one.
14237 2015-04-15  David S. Miller  <davem@davemloft.net>
14239         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14241 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14243         [BZ #18206]
14244         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14245           Use signed comparision instead of substraction to avoid
14246           overflow bug.
14247         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14248           Take the sign of ret.
14249         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14250           Do not expect precise return values. Only the sign matters.
14251         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14252         * wcsmbs/test-wcsncmp.c: New File.
14253         * string/test-strncmp.c: Add wcsncmp support.
14255 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14257         [BZ #6792]
14258         * math/w_log1p.c: New file.
14259         * math/w_log1pf.c: Likewise.
14260         * math/w_log1pl.c: Likewise.
14261         * math/Makefile (libm-calls): Add w_log1p.
14262         * math/s_log1pl.c (log1pl): Remove weak_alias.
14263         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14264         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14265         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14266         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14267         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14268         [NO_LONG_DOUBLE] (log1pl): Likewise.
14269         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14270         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14271         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14272         (log1p): Remove long_double_symbol.
14273         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14274         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14275         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14276         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14277         remove weak_alias for corresponding log1p function.
14278         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14279         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14280         * sysdeps/ia64/fpu/w_log1p.c: New file.
14281         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14282         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14283         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14285 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14287         [BZ #18247]
14288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14289         decimal exponent by 1.
14290         * stdlib/tst-strtod-round-data: Add more tests.
14291         * stdlib/tst-strtod-round.c (tests): Regenerated.
14293 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14295         * math/auto-libm-test-in: Add more tests of clog and clog10.
14296         * math/auto-libm-test-out: Regenerated.
14297         * sysdeps/i386/fpu/libm-test-ulps: Update.
14298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14300 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14302         * Makeconfig (module-cppflags): Exclude all .v.i files.
14303         (skip-module-cppflags): Variable removed.
14305         * configure.ac (libc_config_ok): Initialize before reading
14306         preconfigure scripts, not after.
14307         * configure: Regenerated.
14309         * test-skeleton.c (TIMEOUT): Move #define to top level.
14310         (main): Grok environment variable TEST_DIRECT.  If set, print
14311         test expectation details into that file and then behave as if
14312         given --direct.
14314 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14316         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14317         warning on 32-bit.
14319 2015-04-08  David S. Miller  <davem@davemloft.net>
14321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14323 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14325         * math/auto-libm-test-in: Add more tests of atanh.
14326         * math/auto-libm-test-out: Regenerated.
14327         * sysdeps/i386/fpu/libm-test-ulps: Update.
14328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14330         * math/auto-libm-test-in: Add more tests of atan.
14331         * math/auto-libm-test-out: Regenerated.
14332         * sysdeps/i386/fpu/libm-test-ulps: Update.
14333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14335 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14337         * elf/pldd.c (main): Rewrite to use struct
14338         scratch_buffer instead of extend_alloca.
14339         * elf/pldd-xx.c (find_maps): Likewise.
14340         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14341         <alloca.h>.
14342         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14343         scratch_buffer instead of extend_alloca.
14344         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14345         grp/compat-initgroups.c.
14346         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14347         Rewrite to use struct scratch_buffer instead of extend_alloca.
14348         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14349         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14351 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14353         * math/auto-libm-test-in: Add more tests of cbrt.
14354         * math/auto-libm-test-out: Regenerated.
14355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14357         * math/auto-libm-test-in: Add more tests of cabs.
14358         * math/auto-libm-test-out: Regenerated.
14359         * sysdeps/i386/fpu/libm-test-ulps: Update.
14360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14362         [BZ #18210]
14363         [BZ #18211]
14364         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14365         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14366         computations.
14367         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14368         clog10.
14369         * math/auto-libm-test-out: Regenerated.
14370         * sysdeps/i386/fpu/libm-test-ulps: Update.
14371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14373         [BZ #18197]
14374         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14375         (atan): Set FE_TONEAREST mode for internal computations.
14376         * math/auto-libm-test-in: Add more tests of atan.
14377         * math/auto-libm-test-out: Regenerated.
14379 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14381         [BZ #17930]
14382         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14384 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14386         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14388 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14390         * include/scratch_buffer.h: New file.
14391         * malloc/scratch_buffer_grow.c: Likewise.
14392         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14393         * malloc/scratch_buffer_set_array_size.c: Likewise.
14394         * malloc/tst-scratch_buffer.c: Likewise.
14395         * malloc/Makefile (routines): Add scratch_buffer_grow.
14396         (tests): Add test case.
14397         * malloc/Versions (GLIBC_PRIVATE): Export
14398         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14399         __libc_scratch_buffer_set_array_size.
14401 2015-04-06  Richard Henderson  <rth@redhat.com>
14403         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14404         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14406         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14407         unsigned int before printing.
14409 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14411         [BZ #17596]
14412         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14413         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14415 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14417         * include/libc-internal.h (libc_max_align_t): Define.
14419 2015-04-02  Andreas Schwab  <schwab@suse.de>
14421         [BZ #16850]
14422         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14424 2015-04-02  Mel Gorman  <mgorman@suse.de>
14426         [BZ #17195]
14427         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14428         as well as the main arena.
14430 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14432         [BZ #18185]
14433         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14434         sharing L2 cache to 2 for Silvermont/Knights Landing.
14436 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14438         [BZ #17711]
14439         * config.make.in (have-protected-data): New.
14440         * configure.ac: Check linker support for protected data symbol.
14441         * configure: Regenerated.
14442         * elf/Makefile (modules-names): Add tst-protected1moda and
14443         tst-protected1modb if $(have-protected-data) is yes.
14444         (tests): Add tst-protected1a and tst-protected1b if
14445         $(have-protected-data) is yes.
14446         ($(objpfx)tst-protected1a): New.
14447         ($(objpfx)tst-protected1b): Likewise.
14448         (tst-protected1modb.so-no-z-defs): Likewise.
14449         * elf/tst-protected1a.c: New file.
14450         * elf/tst-protected1b.c: Likewise.
14451         * elf/tst-protected1mod.h: Likewise.
14452         * elf/tst-protected1moda.c: Likewise.
14453         * elf/tst-protected1modb.c: Likewise.
14455 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14457         [BZ #17711]
14458         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14459         indicates it is called from do_lookup_x on relocation against
14460         protected data, skip the data definion in the executable from
14461         copy reloc.
14462         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14463         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14464         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14465         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14466         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14467         otherwise to 0.
14468         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14469         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14470         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14471         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14472         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14473         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14475 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14477         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14478         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14480 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14482         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14483         THREAD_SETMEM_NC.
14484         * sysdeps/x86_64/nptl/tls.h: Ditto.
14486 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14488         * dlfcn/tststatic.c (main): Converted to ...
14489         (do_test): ... this.
14490         (TEST_FUNCTION): New macro.
14491         Include test-skeleton.c.
14493 2015-03-26  Alan Modra  <amodra@gmail.com>
14495         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14496         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14497         zero for undefined weak.
14498         (elf_machine_plt_conflict): Similarly.
14500 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14502         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14503         atanh.
14504         * math/auto-libm-test-out: Regenerated.
14505         * sysdeps/i386/fpu/libm-test-ulps: Update.
14506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508         * math/auto-libm-test-in: Add another test of asin.
14509         * math/auto-libm-test-out: Regenerated.
14510         * sysdeps/i386/fpu/libm-test-ulps: Update.
14511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14514         Remove macro.
14515         (LLL_EBX_REG): Likewise.
14516         (LLL_ENTER_KERNEL): Likewise.
14518         * math/auto-libm-test-in: Add more tests of asin.
14519         * math/auto-libm-test-out: Regenerated.
14520         * sysdeps/i386/fpu/libm-test-ulps: Update.
14521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523         [BZ #18138]
14524         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14525         libc_do_syscall_args): New structure.
14526         (INTERNAL_SYSCALL_MAIN_0): New macro.
14527         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14528         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14529         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14530         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14531         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14532         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14533         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14534         Replace conditional definitions by conditional definitions of ....
14535         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14536         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14537         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14538         (libpthread-sysdep_routines): Add libc-do-syscall.
14539         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14541         to __NR_futex not 240.
14543 2015-03-25  Alan Modra  <amodra@gmail.com>
14545         * NEWS: Advertise TLS optimization.
14546         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14547         (DT_PPC_NUM): Increment.
14548         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14549         (CHECK_STATIC_TLS): Use here.
14550         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14551         TLS descriptors.
14552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14553         * sysdeps/powerpc/dl-tls.c: New file.
14554         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14555         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14556         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14557         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14562 2015-03-25  Alan Modra  <amodra@gmail.com>
14564         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14565         for overlapping .opd entries" to "support...".
14566         * sysdeps/powerpc/powerpc64/configure: Regenerate
14568 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14570         * math/auto-libm-test-in: Add more tests of acos.
14571         * math/auto-libm-test-out: Regenerated.
14572         * sysdeps/i386/fpu/libm-test-ulps: Update.
14573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14575         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14582         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14583         * math/auto-libm-test-out: Regenerated.
14584         * sysdeps/i386/fpu/libm-test-ulps: Update.
14585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14587         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14590         * math/auto-libm-test-in: Add more tests of log2.
14591         * math/auto-libm-test-out: Regenerated.
14592         * sysdeps/i386/fpu/libm-test-ulps: Update.
14593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14597         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14598         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14599         _IO_IS_APPENDING bit in READ_WRITE instead.
14601 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14603         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14604         (__determine_cpumask_size): Replace extend_alloca with a
14605         variable-length array.  Do not treat res == 0 as an error.
14607 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14609         [BZ #18100]
14610         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14611         and integer overflow.
14612         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14613         (main): Add integer overflow tests.
14614         * manual/pattern.texi (Calling Wordexp): Document additional use
14615         for WRDE_SYNTAX.
14617 2015-03-23  Alan Modra  <amodra@gmail.com>
14619         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14620         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14621         and false branch of conditional.
14622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14623         Likewise.
14625 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14627         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14628         libc-modules.h
14629         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14630         unused declaration of _hurd_intr_rpc_msg_in_trap.
14631         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14632         defined instead of whether it is non-zero.
14633         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14634         input constraint instead of both input and output constraint.  Use ecx
14635         clobber instead of %ecx.
14636         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14637         mutex_unlock): Use a statement expression instead of an expression list.
14638         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14639         type to vm_size_t instead of vm_address_t.
14640         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14641         defined instead of whether it is non-zero.
14642         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14643         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14644         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14645         comparisons with mapaddr.
14646         * nscd/nscd-client.h: Include <time.h>.
14647         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14648         9th parameter to __vm_region instead of int.
14649         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14650         * scripts/check-local-headers.sh (exclude): Add device/,
14651         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14652         cthreads.h.
14654 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14656         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14657         to account for alignment padding.
14658         * sysdeps/arm/memmove.S: Likewise.
14660 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14662         * sysdeps/unix/sysv/linux/generic/README: New file.
14664 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14666         [BZ #18138]
14667         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14668         (futex_abstimed_wait)
14669         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14670         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14671         of lll_futex_timed_wait.
14673 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14675         [BZ #17542]
14676         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14678 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14680         [BZ #17090]
14681         [BZ #17620]
14682         [BZ #17621]
14683         [BZ #17628]
14684         * NEWS: Update.
14685         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14686         entries with Static TLS too.  Skip entries past the end of the
14687         allocated DTV, from Alan Modra.
14688         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14689         Static TLS DTV entry set up from...
14690         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14691         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14692         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14693         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14694         for Static TLS.
14695         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14696         that the slot we find is associated with the given map before
14697         using its generation count.
14698         * nptl_db/db_info.c: Include ldsodefs.h.
14699         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14700         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14701         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14702         (link_map::l_tls_offset): New struct field.
14703         (dtv_t::counter): Likewise.
14704         (rtld_global): New struct.
14705         (_rtld_global): New rtld variable.
14706         (dl_tls_dtv_slotinfo_list): New rtld global field.
14707         (dtv_slotinfo_list): New struct.
14708         (dtv_slotinfo): Likewise.
14709         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14710         (td_lookup): Rename to...
14711         (td_mod_lookup): ... this.  Use new mod parameter instead of
14712         LIBPTHREAD_SO.
14713         * nptl_db/td_thr_tlsbase.c: Include link.h.
14714         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14715         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14716         addresses even if the DTV is out of date or missing them.
14717         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14718         index zero-length arrays.
14719         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14720         (td_lookup): Make it a macro implemented in terms of...
14721         (td_mod_lookup): ... this declaration.
14722         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14723         (DB_MAIN_VARIABLE): Likewise.
14725 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14727         [BZ #18134]
14728         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14730 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14732         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14734 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14736         [BZ #18128]
14737         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14738         (atomic_add, atomic_increment_and_test)
14739         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14741 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14743         * stdlib/setenv.c (__add_to_environ):
14744         Dump core quickly if setenv (..., NULL, ...) is called.
14746 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14748         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14749         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14750         all the necessary asm magic in one place.
14751         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14752         using those.
14754 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14756         [BZ #14906]
14757         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14758         traced file mtime. Use consistent log message.
14759         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14760         (register_traced_file): Call install_watches. Always set mtime.
14761         (invalidate_cache): Iterate over all trace files. Call install_watches.
14762         (inotify_check_files): Don't inline. Handle watching parent
14763         directories and configuration file movement in and out.
14764         (handle_inotify_events): New function.
14765         (main_loop_poll): Call handle_inotify_events.
14766         (main_loop_epoll): Likewise.
14767         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14768         (struct traced_file): Use array of inotify fds. Add parent directory,
14769         and basename.
14770         (struct database_dyn): Remove unused file_mtime.
14771         (init_traced_file): New inline function.
14772         (define_traced_file): New macro.
14773         * nss/nss_db/db-init.c: Use define_traced_file.
14774         (_nss_db_init): Use init_traced_file.
14775         * nss/nss_files/files-init.c: Use define_traced_file.
14776         (_nss_files_init): Use init_traced_file.
14778 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14780         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14781         [_LIBC]: Do not include <stdlib.h>.
14782         [!_LIBC] (abort): Remove declaration.
14783         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14784         _FP_STATIC_ASSERT instead of conditionally calling abort.
14785         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14786         (_FP_EXTEND_CNAN): Likewise.
14787         (FP_TRUNC): Likewise.
14788         (__FP_CLZ): Likewise.
14789         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14791 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14793         * manual/string.texi (XPG basename): Fix prototype.
14795 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14797         [BZ #18080]
14798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14799         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14800         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14801         (__setcontext): Likewise.
14802         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14803         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14804         Call rt_sigprocmask syscall one time to set new signal mask
14805         and retrieve the current signal mask instead of two calls.
14806         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14807         (__swapcontext): Likewise.
14808         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14809         * stdlib/tst-setcontext2.c: New file.
14811 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14813         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14815 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14817         [BZ #18093]
14818         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14819         the wrong size.
14821 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14823         [BZ #18043]
14824         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14826 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14828         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14829         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14830         Remove define.
14831         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14832         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14833         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14834         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14835         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14836         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14837         define.
14838         * nptl_db/td_symbol_list.c (td_lookup): Remove
14839         HAVE_ASM_GLOBAL_DOT_NAME code.
14840         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14841         HAVE_ASM_GLOBAL_DOT_NAME check.
14842         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14843         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14844         (DOT_LABEL): Remove define.
14845         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14846         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14847         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14848         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14849         (__TLS_GET_ADDR): Likewise.
14850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14851         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14853 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14855         [BZ #18111]
14856         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14857         (_FPU_SETCW): Initialize cw from fpsr before storing.
14858         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14859         (fesetexceptflag): Rewrite using fpu_control.h.
14860         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14862 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14864         [BZ #18110]
14865         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14866         asms.
14867         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14869 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14871         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14872         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14873         abort.
14874         (_FP_FMA): Likewise.
14875         (_FP_DIV): Likewise.
14877 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14879         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14880         with 0 in that case.
14881         * Makefile (summarize-tests): New canned sequence, factored out of
14882         commands for targets tests and xtests.  Display summary lines that
14883         don't start with PASS: or XFAIL: rather than ones that do start with
14884         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14885         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14886         do start with ERROR: or FAIL:.
14887         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14888         (except for [$(build-shared) = yes]).
14889         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14890         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14891         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14892         * nptl/Makefile: Revert 2015-03-04 changes.
14893         [$(CXX) empty] (tests-unsupported): New variable.
14894         * debug/Makefile: Likewise.
14896         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14897         gnulib file.  Replace __attribute with __attribute__ throughout.
14899 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14901         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14903 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14905         [BZ #18104]
14906         * math/auto-libm-test-in: Add another test of pow.
14907         * math/auto-libm-test-out: Regenerated.
14909 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14911         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14912         $(config-cflags-nofma).
14914 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14916         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14917         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14918         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14919         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14920         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14921         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14922         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14923         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14924         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14925         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14926         Add comment on closing #endif.
14928 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14930         * posix/wordexp.c (CHAR_IN_SET): New macro.
14931         (parse_param): Use it.
14933 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14935         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14937 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14939         [BZ #18043]
14940         * posix/wordexp.c (parse_param): Fix buffer overflow.
14941         * posix/wordexp-test.c (test_case): Add test case.
14943 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14945         [BZ #18042]
14946         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14947         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14949 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14951         [BZ #18043]
14952         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14953         (do_bz18043): Delete.
14954         (at_page_end): New.
14955         (testit): Refactor to have words at the edge of unreadable page.
14957 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14959         [BZ #16734]
14960         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14961         Cleanup read-only streams as well.
14962         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14964 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14966         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14967         <bits/libc-lockP.h>
14969 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14971         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14972         on [__KERNEL__].
14973         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14974         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14975         * soft-fp/op-common.h (_FP_DECL): Likewise.
14977 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14979         * elf/ifuncdep2.c (global): Replace
14980         __attribute__((visibility("protected"))) with
14981         asm (".protected global").
14982         * elf/ifuncmod1.c (global): Likewise.
14983         * elf/ifuncmod5.c (global): Likewise.
14985 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14987         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14988         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14990 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14992         * manual/install.texi (Configuring and compiling):
14993         Document test-wrapper-env-only.
14994         * INSTALL: Regenerated.
14996 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14998         [BZ #18043]
14999         * posix/wordexp.c (parse_param): Fix buffer overflow.
15000         * posix/wordexp-test.c (do_bz18043): Add test case.
15002 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15004         * time/tst-strptime2.c (do_test): Ensure failing tests are
15005         reported correctly.
15006         * time/tst-strptime3.c (do_test): Likewise.
15008 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15010         Fix aio_error thread-safety.
15011         * sysdeps/pthread/aio_error.c: New file
15012         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15013         synchronization.
15015 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15017         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15018         (group_number, vfprintf): Use it.
15019         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15020         (JUMP, REF): Use it.
15021         (WORK_BUFFER_SIZE): New enum constant.
15022         (process_arg, vfprintf): Use it.
15024 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15026         * manual/errno.texi (Error Messages): Complete example function
15027         by adding missing #define.
15028         (program_invocation_name): Add statement indicating GNU
15029         extension and reference which header file declares the variable.
15030         (program_invocation_short_name): Likewise.
15032 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15034         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15035         compatibility note.
15037 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15039         * Makeconfig (test-wrapper-env-only): New variable.
15040         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15041         then use that with $(test-wrapper-env-only) rather than using
15042         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15044 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15046         [BZ #18082]
15047         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15048         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15049         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15050         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15051         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15052         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15053         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15054         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15055         Likewise.
15056         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15057         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15058         Likewise.
15059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15060         Likewise.
15061         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15062         Likewise.
15063         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15064         Likewise.
15065         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15066         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15067         Likewise.
15068         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15069         Likewise.
15070         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15071         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15073 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15075         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15076         (ETH_ALEN): New macro.
15077         (struct ether_addr): Use it for length of ether_addr_octet.
15079         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15080         (setdb): Don't call __nss_configure_lookup for "rpc".
15081         (do_test): Don't call test_rpc.
15082         (output_rpcent, test_rpc): Functions moved ...
15083         * sunrpc/test-rpcent.c: ... to this new file.
15084         * sunrpc/Makefile (tests): Add it.
15086         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15087         __xpg_sigpause.
15088         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15089         * nptl/tst-signal6.c: Likewise.
15090         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15091         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15093         * configure.ac (libc_cv_cxx_link_ok): New check.
15094         Reset CXX to empty if it fails to link.
15095         * configure: Regenerated.
15096         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15097         bug-atexit3-lib only if $(CXX) is nonempty.
15098         * nptl/Makefile (tests): Likewise for tst-cancel24.
15099         (tests, tests-static): Likewise for tst-cancel24-static.
15100         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15101         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15102         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15103         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15105 2015-03-04  Andreas Schwab  <schwab@suse.de>
15107         [BZ #17631]
15108         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15109         for non-GCC compilers.
15110         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15111         Likewise.
15113 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15115         [BZ #17776]
15116         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15117         integer before bitwise and assembly operations.
15118         (feclearexcept): Likewise.
15119         * math/test-fenvinline.c: New file.
15120         * math/Makefile: Add test-fenvinline test.
15122 2015-03-03  Alan Modra  <amodra@gmail.com>
15124         [BZ #16512]
15125         * scripts/localplt.awk: Strip off symbol version.
15126         * NEWS: Mention bug fix.
15128 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15130         * sysdeps/pthread/timer_routines.c
15131         (timer_free_list, thread_free_list, thread_active_list): Make static.
15133 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15135         [BZ #17779]
15136         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15137         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15138         Undefine.
15139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15140         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15143         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15144         Likewise.
15146 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15148         [BZ #18036]
15149         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15150         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15152 2015-03-02  Andreas Schwab  <schwab@suse.de>
15154         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15155         variable name.
15157 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15159         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15160         Return error status.
15162 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15164         [BZ #15969]
15165         * locale/findlocale.c (_nl_find_locale): Introduce const
15166         version of loc_name and drop unsafe type casts.
15168 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15170         * dlfcn/tststatic2.c (main): Converted to ...
15171         (do_test): ... this.
15172         (TEST_FUNCTION): New macro.
15173         Include test-skeleton.c.
15175 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15177         [BZ #17711]
15178         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15179         (tests-pie): Add vismain.
15180         (CFLAGS-vismain.c): New.
15181         * elf/vismain.c: Add comments for PIE requirement.
15183 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15185         [BZ #18046]
15186         [BZ #18047]
15187         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15188         0x1p-56L as threshold for just returning the argument.
15189         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15190         0x1p-32L as threshold for just returning the argument.
15191         * math/auto-libm-test-in: Add more tests of atanh.
15192         * math/auto-libm-test-out: Regenerated.
15193         * sysdeps/i386/fpu/libm-test-ulps: Update.
15194         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15196 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15198         * string/bcopy.c (bcopy): Call memmove for performance.
15200 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15202         * string/bzero.c (__bzero): Call memset for performance.
15204 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15206         [BZ #18068]
15207         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15208         to 00100000.
15210 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15212         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15214 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15216         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15217         (__kernel_standard): Use CSTR macro when setting exc.name.
15218         * sysdeps/ieee754/Makefile [$(subdir) = math]
15219         (CFLAGS-k_standard.c): Remove variable.
15221         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15222         setting p and q from "else if" to "else".
15223         (qzero): Likewise.
15224         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15225         (qone): Likewise.
15226         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15227         (qzerof): Likewise.
15228         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15229         (qonef): Likewise.
15230         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15231         (qzero): Likewise.
15232         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15233         (qone): Likewise.
15235         [BZ #18038]
15236         [BZ #18039]
15237         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15238         return pi/2 for arguments below 0x1p-113L.
15239         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15240         return pi/2 for arguments below 0x1p-106L.
15241         * math/auto-libm-test-in: Add more tests of acos.
15242         * math/auto-libm-test-out: Regenerated.
15244         [BZ #16351]
15245         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15246         (MO): New macro.
15247         (__ieee754_asin): Force underflow exception for results with small
15248         absolute value.
15249         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15250         (MO): New macro.
15251         (__ieee754_asinf): Force underflow exception for results with
15252         small absolute value.
15253         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15254         (__ieee754_asin): Force underflow exception for results with small
15255         absolute value.
15256         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15257         (__ieee754_asinf): Force underflow exception for results with
15258         small absolute value.
15259         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15260         (__ieee754_asinl): Force underflow exception for results with
15261         small absolute value.
15262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15263         (__ieee754_asinl): Force underflow exception for results with
15264         small absolute value.
15265         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15266         (__ieee754_asinl): Force underflow exception for results with
15267         small absolute value.
15268         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15269         Include <math.h>.
15270         * math/auto-libm-test-in: Do not mark underflow exceptions as
15271         possibly missing for bug 16351.
15272         * math/auto-libm-test-out: Regenerated.
15274         [BZ #18030]
15275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15276         of power of 2 down when low part has opposite sign.
15277         * math/libm-test.inc (logb_test_data): Add more tests.
15279 2015-02-26  Andreas Schwab  <schwab@suse.de>
15281         [BZ #18032]
15282         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15283         over collating symbol inside a bracket expression.  Minor cleanup.
15284         * posix/tst-fnmatch3.c (do_test): Add test case.
15286 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15288         [BZ #18029]
15289         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15290         Adjust exponent of power of 2 down when low part has opposite
15291         sign.
15292         * math/libm-test.inc (ilogb_test_data): Add more tests.
15294 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15296         [BZ #15969]
15297         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15298         the previous change.
15300         [BZ #15969]
15301         * locale/findlocale.c (_nl_find_locale): Retry archive search
15302         after alias expansion.
15304 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15306         * iconv/tst-iconv3.c (main): Converted to ...
15307         (do_test): ... this.
15308         (TEST_FUNCTION): New macro.
15309         Include test-skeleton.c.
15311         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15312         (convert): Make function static.
15313         (test_unalign): Likewise.  Add const to argument pointee types.
15314         (main): Replace with static function do_test.
15315         Print "Succeeded." only if RET is zero.
15316         (TEST_FUNCTION): New macro.
15317         Include test-skeleton.c.
15319         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15320         returns a null pointer.
15322 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15324         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15325         to __memcpy_ppc only for static builds.
15327 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15329         [BZ #18020]
15330         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15331         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15332         * math/auto-libm-test-in: Add more tests of asinh.
15333         * math/auto-libm-test-out: Regenerated.
15334         * sysdeps/i386/fpu/libm-test-ulps: Update.
15335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15339         [BZ #15850]
15340         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15341         and ip6_mtuinfo definitions here.
15342         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15343         in this define too.  Update comment.
15345 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15347         * elf/sprof.c (load_shobj): Tweak error message to match others.
15349 2015-02-24  Kevin Easton  <kevin@guarana.org>
15351         [BZ #16145] (partial fix)
15352         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15353         to reduce lock contention.
15355 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15357         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15358         (struct timex): Update time comment.
15359         (ADJ_SETOFFSET): Define.
15361 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15363         [BZ #18019]
15364         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15365         2**56 not 2**28 as threshold for log (2x) formula.
15366         * math/auto-libm-test-in: Add more tests of acosh.
15367         * math/auto-libm-test-out: Regenerated.
15368         * sysdeps/i386/fpu/libm-test-ulps: Update.
15369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15371 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15373         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15374         parenthesis around the buf assignment.
15375         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15377 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15379         [BZ #16783]
15380         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15381         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15382         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15383         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15384         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15385         * math/libm-test.inc (scalb_test_data): Add more tests.
15387 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15389         [BZ #17916]
15390         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15391         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15393 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15395         [BZ #17523]
15396         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15397         * io/bits/fcntl2.h (open): Use it.
15398         (openat): Likewise.
15399         * io/open.c (__libc_open): Likewise.
15400         * io/open64.c (__libc_open64): Likewise.
15401         * io/open64_2.c (__open64_2): Likewise.
15402         * io/open_2.c (__open_2): Likewise.
15403         * io/openat.c (__openat): Likewise.
15404         * io/openat64.c (__openat64): Likewise.
15405         * io/openat64_2.c (__openat64_2): Likewise.
15406         * io/openat_2.c (__openat_2): Likewise.
15407         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15408         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15409         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15410         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15411         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15412         (__open_nocancel): Likewise.
15413         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15414         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15415         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15417 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15419         [BZ #14841]
15420         * resolv/gethnamaddr.c (getanswer): Skip logging if
15421         RES_USE_DNSSEC is set.
15422         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15424 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15426         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15428 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15430         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15431         201304L, for Unicode 7.
15433 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15435         [BZ #17836]
15436         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15437         shared library.  Add gmon-start.os otherwise.
15438         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15439         $(objpfx)gmon-start.os if builing shared library.
15440         ($(objpfx)g$(static-start-installed-name)): Likewise.
15442 2015-02-23  Andreas Schwab  <schwab@suse.de>
15444         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15446 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15448         [BZ #17269]
15449         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15450         (enlarge_userbuf): Likewise.
15452 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15454         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15455         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15456         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15457         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15459 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15461         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15462         expression inside statement expression.
15464 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15466         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15467         <sysdeps/nptl/lowlevellock.h> and remove macros and
15468         functions that are now defined there.
15469         (SYS_futex): Remove.
15470         (lll_compare_and_swap): Remove.
15471         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15473 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #17999]
15476         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15477         instead of scandirat.
15478         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15479         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15480         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15481         __scandirat.
15482         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15483         (__scandirat): Declare.  Use libc_hidden_proto.
15484         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15485         Remove variable.
15486         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15488 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15490         [BZ #15319]
15491         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15492         (MO): New macro.
15493         (__ieee754_atan2): For results with small absolute value, force
15494         underflow exception and remove excess range and precision from
15495         return value.
15496         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15497         (MO): New macro.
15498         (__ieee754_atan2f): For results with small absolute value, force
15499         underflow exception and remove excess range and precision from
15500         return value.
15501         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15502         (MO): New macro.
15503         (__atan): For results with small absolute value, force underflow
15504         exception and remove excess range and precision from return value.
15505         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15506         (MO): New macro.
15507         (__atanf): For results with small absolute value, force underflow
15508         exception and remove excess range and precision from return value.
15509         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15510         <math.h>.
15511         (__ieee754_atan2): Force underflow exception for results with
15512         small absolute value.
15513         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15514         <math_private.h>.
15515         (atan): Force underflow exception for results with small absolute
15516         value.
15517         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15518         (__atanf): Force underflow exception for results with small
15519         absolute value.
15520         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15521         <math.h>.
15522         (__atanl): Force underflow exception for results with small
15523         absolute value.
15524         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15525         (__atanl): Force underflow exception for results with small
15526         absolute value.
15527         * sysdeps/x86/fpu/bits/mathinline.h
15528         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15529         (__ieee754_atan2): Only define inline for long double.
15530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15531         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15532         * math/auto-libm-test-in: Do not mark underflow exceptions as
15533         possibly missing for bug 15319.  Add more tests of atan2.
15534         * math/auto-libm-test-out: Regenerated.
15535         * math/libm-test.inc (casin_test_data): Do not mark underflow
15536         exceptions as possibly missing for bug 15319.
15537         (casinh_test_data): Likewise.
15538         * sysdeps/i386/fpu/libm-test-ulps: Update.
15540 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15542         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15543         * sysdeps/mips/bits/endian.h: Fix comments.
15545 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15547         [BZ #17996]
15548         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15549         (hdestroy_r): Likewise.
15550         (hsearch_r): Likewise.
15551         (__hcreate_r): Declare and use libc_hidden_proto.
15552         (__hdestroy_r): Likewise.
15553         (__hsearch_r): Likewise.
15554         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15555         (hcreate): Call __hcreate_r instead of hcreate_r.
15556         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15557         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15558         as weak alias of __hcreate_r.
15559         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15560         __hdestroy_r.
15561         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15562         __hsearch_r.
15563         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15564         Remove variable.
15565         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15566         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15567         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15568         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15570 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15572         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15573         arena_lock into a single arena_get.
15575 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15577         * dl-reloc.c: Inlucde libc-internal.h.
15578         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15579         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15580         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15581         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15582         (grow_heap): Likewise.
15583         * malloc/malloc.c: Include libc-internal.h.
15584         (do_check_malloc): Call powerof2.
15585         (sysmalloc): Use pagesize. Call ALIGN_UP.
15586         (systrim): Use pagesize.
15587         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15588         (__libc_valloc): Use pagesize.
15589         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15591 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15593         [BZ #17991]
15594         * include/sys/resource.h (__getrlimit64): Declare.  Use
15595         libc_hidden_proto.
15596         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15597         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15598         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15599         getrlimit64.
15600         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15601         __getrlimit64.
15602         [!getrlimit64] (getrlimit64): Define as weak alias of
15603         __getrlimit64.  Use libc_hidden_weak.
15604         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15605         using __getrlimit64 not __new_getrlimit64.
15606         (__GI_getrlimit64): Likewise.
15607         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15608         Likewise.
15609         (__GI_getrlimit64): Likewise.
15610         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15612         (getrlimit): Add __getrlimit64 alias.
15613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15614         Likewise.
15615         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15616         Remove variable.
15617         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15618         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15620 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15622         * libio/fileops.c: Add missing sys/mman.h
15623         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15625 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15627         * manual/math.texi (Errors in Math Functions): Clarify goals
15628         regarding inexact and underflow exceptions.
15630 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15632         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15633         * sysdeps/mips/memset.S: Ditto.
15635 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15637         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15639 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15641         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15642         (__v1longjmp): Remove versioned symbol.
15643         (__v1siglongjmp): Remove alias and versioned symbol.
15644         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15645         (__v2siglongjmp): Likewise.
15647 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15649         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15651 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15653         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15655 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15657         [BZ #17987]
15658         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15659         zero result does not depend on the sign resulting from
15660         subtraction.
15661         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15662         Likewise.
15663         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15664         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15665         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15666         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15667         * math/libm-test.inc (remquo_test_data): Add more tests.
15669 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15671         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15672         Problem reported by J William Piggott.
15674 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15676         [BZ #17978]
15677         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15678         products 4 * y and 2 * y where those would overflow.
15679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15680         Likewise.
15681         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15682         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15683         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15684         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15685         * math/libm-test.inc (remquo_test_data): Add more tests.
15687         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15689         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15690         [defined _COMPILING_NEWLIB].
15691         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15692         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15694         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15695         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15697 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15699         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15700         acquired.
15702 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15704         [BZ #17792]
15705         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15706         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15707         HOST_STACK_END_ADDR): Likewise.
15709 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15711         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15712         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15713         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15715 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15717         * sysdeps/generic/c++-types.data: New file.
15718         * sysdeps/generic/ld.abilist: New file.
15719         * sysdeps/generic/libBrokenLocale.abilist: New file.
15720         * sysdeps/generic/libanl.abilist: New file.
15721         * sysdeps/generic/libc.abilist: New file.
15722         * sysdeps/generic/libcrypt.abilist: New file.
15723         * sysdeps/generic/libdl.abilist: New file.
15724         * sysdeps/generic/libm.abilist: New file.
15725         * sysdeps/generic/libpthread.abilist: New file.
15726         * sysdeps/generic/libresolv.abilist: New file.
15727         * sysdeps/generic/librt.abilist: New file.
15729 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15731         [BZ #17569]
15732         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15733         Compute absolute value of x as modified by fmod, not original
15734         value of x.
15735         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15736         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15737         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15738         RUN_TEST_ffI_f1_mod8.
15739         (remquo_test_data): Add more tests.
15741 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15743         * sysdeps/init_array/pt-crti.S: New file.
15745 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15747         [BZ #17967]
15748         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15749         __builtin_fmaf instead of relying on contraction of a * b + c.
15751 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15753         [BZ #17969]
15754         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15755         node.
15757 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15759         [BZ #17964]
15760         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15761         __builtin_fma instead of relying on contraction of a * b + c.
15763 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15765         * Makeconfig (ASFLAGS): Add -Werror=undef.
15766         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15767         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15768         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15770         * Makeconfig (after-link): New variable.
15771         (+link-pie, +link-pie-tests): Use it.
15772         (+link-static, +link-static-tests): Likewise.
15773         (+link, +link-tests): Likewise.
15774         * Makerules (build-module, build-module-asneeded): Likewise.
15775         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15776         Likewise.
15777         * elf/Makefile ($(objpfx)ld.so): Likewise.
15779 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15781         [BZ #17965]
15782         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15783         both struct timeval and struct timespec.
15785 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15787         [BZ #16560]
15788         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15789         and redefine.
15790         (__ieee754_exp2l): Do not multiply small fractional parts by
15791         M_LN2l.
15792         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15793         small argument.
15794         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15795         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15796         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15797         * math/auto-libm-test-in: Add more tests of exp2.
15798         * math/auto-libm-test-out: Regenerated.
15800 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15802         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15803         unaligned path.
15805 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15807         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15808         little endian.
15810 2015-02-12  Andreas Schwab  <schwab@suse.de>
15812         [BZ #15790]
15813         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15814         Filter out elision flags from value returned in kind.
15815         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15816         * nptl/tst-pthread-mutexattr.c: New file.
15818 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15820         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15821         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15822         into gnu-gnu, and update comment to refer to abi-tags.
15824 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15826         [BZ #15467]
15827         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15828         (__sincos): Set errno to EDOM for infinite argument.
15829         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15830         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15831         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15832         (__sincosl): Set errno to EDOM for infinite argument.
15833         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15834         (__sincosl): Set errno to EDOM for infinite argument.
15835         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15836         (__sincosl): Set errno to EDOM for infinite argument.
15837         * math/libm-test.inc (sincos_test_data): Test errno setting.
15839 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15841         * string/strxfrm_l.c: Remove #define STRCMP.
15842         * string/strcoll_l.c: Remove #define STRLEN.
15843         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15844         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15846 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15848         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15849         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15850         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15851         * sysdeps/mips/mips64/Makefile: ... here.
15852         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15853         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15854         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15855         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15856         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15857         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15858         * sysdeps/mips/mips64/n64/Implies: Likewise.
15860 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15862         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15863         <sys/time.h>, <string.h>, and <errno.h>.
15864         (dest_offset, dest_address, value, zero): Remove unused variables.
15865         (ldouble): Remove typedef.
15866         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15867         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15868         1).  Fix code style.
15869         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15870         (check): Function removed.
15871         (CHECK): New macro.
15872         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15873         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15874         Don't call set_sigaction_FP and remove_sigaction_FP here.
15875         (ldouble_test): Just use 'long double' as macro argument, no need for
15876         the 'ldouble' typedef.
15877         (do_test): Set up SIGFPE handler at start, using plain signal rather
15878         than sigaction.  Fix code style.
15880 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15882         [BZ #17949]
15883         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15884         jump label.
15886 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15888         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15889         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15891         * sysdeps/powerpc/configure.ac: Remove file.
15892         * sysdeps/powerpc/configure: Likewise.
15894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15895         [sysdep_routines]: Remove wordcopy-power6 object.
15896         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15897         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15898         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15899         (__memmove_ppc32): Likewise.
15900         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15901         file.
15902         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15903         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15904         Remove preprocessor.
15906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15907         [sysdep_routines]: Remove wide chars objects.
15908         [wcsmbs]: New rule for wide char objects.
15910         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15911         Remove wordcopy-power6 obejct.
15912         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15913         Use local call for wordcopy and memcpy symbols.
15914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15916         implementation for loader.
15917         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15919         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15920         Remove wordcopy-power7 object.
15921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15922         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15923         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15924         (_wordcopy_fwd_dest_aligned): Likewise.
15925         (_wordcopy_bwd_aligned): Likewise.
15926         (_wordcopy_bwd_dest_aligned): Likewise.
15928         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15929         Rewrite to call __memmove_ppc instead of include default
15930         implementation.
15932         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15933         Remove wide chars objects.
15934         [wcsmbs]: New rule for wide char objects.
15936 2015-02-09  Andreas Schwab  <schwab@suse.de>
15938         [BZ #17912]
15939         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15940         in terms of __O_DIRECTORY.
15942 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15944         * time/getdate.c: Include <stdbool.h>.
15945         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15946         call PTR_MANGLE.
15947         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15948         PTR_DEMANGLE.
15950 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15952         Add ersatz _Static_assert on older C hosts
15953         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15954         pre-C11 C platform that is not known to support _Static_assert.
15956 2015-02-07  Richard Braun  <rbraun@sceen.net>
15958         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15959         sigstate.
15960         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15962 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15964         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15965         priority against unexistent AIO_PRIO_DELTA_MAX.
15966         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15967         instead of int.
15968         * misc/fchflags.c (fchflags): Likewise.
15969         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15970         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15971         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15972         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15973         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15974         Declare macros.
15975         [__USE_MISC] (chflags, fchflags): Declare functions.
15976         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15977         EINVAL when nfds is greater than FD_SETSIZE.
15978         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15979         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15980         45.
15981         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15982         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15983         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15984         MACH_RCV_TIMED_OUT.
15985         * hurd/hurd/signal.h (_hurd_self_sigstate,
15986         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15987         Explicit casts from void *.
15988         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15989         * abi-tags: Rename gnu-gnu os into gnu.
15991         [BZ #4719]
15992         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15993         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15994         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15995         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15996         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15997         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15999         [BZ #17944]
16000         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16001         duplicates ADDR->sun_path with sockaddr LEN limitation.
16002         * sysdeps/mach/hurd/connect.c: Include <string.h>
16003         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16004         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16005         * sysdeps/mach/hurd/sendto.c: Likewise.
16006         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16007         implementing it by hand.
16009 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16011         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16012         Use sfi_breg on ldr.
16013         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16014         Likewise.
16016         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16017         it's defined.
16018         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16019         Test SIGSETXID only if it's defined.
16021         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16023         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16024         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16026         * nptl/tst-align2.c: Moved ...
16027         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16028         * nptl/Makefile (tests): Remove tst-align2.
16029         * sysdeps/unix/sysv/linux/Makefile
16030         [$(subdir) = nptl] (tests): Add tst-align-clone.
16031         * nptl/tst-getpid1.c: Moved ...
16032         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16033         * nptl/tst-getpid2.c: Moved ...
16034         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16035         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16036         * sysdeps/unix/sysv/linux/Makefile
16037         [$(subdir) = nptl] (tests): ... here.
16038         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16039         * sysdeps/unix/sysv/linux/Makefile
16040         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16042         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16043         Drop trailing \n from perror argument.  Use return rather than exit.
16045         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16046         on [SA_SIGINFO].
16047         * nptl/tst-cancel21.c (do_test): Likewise.
16048         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16049         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16050         [!SA_SIGINFO]: Make it a stub test.
16052         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16053         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16055         * posix/tst-getlogin.c: Move to ...
16056         * login/tst-getlogin.c: ... here.
16057         * posix/Makefile (tests): Move tst-getlogin to ...
16058         * login/Makefile (tests): ... here.
16060         * libio/tst-atime.c (do_test): Move local variables SV and E
16061         inside [ST_NOATIME] conditional.
16063         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16065         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16067         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16068         (wait_code): New function replaces macro.
16069         Call nanosleep rather than syscall.
16071         * nptl/pt-system.c: Rewritten.  Put everything under
16072         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16073         Use IFUNC to redirect when possible.
16075         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16076         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16077         Use IFUNC to redirect when possible.
16079         * nptl/pt-fork.c: Rewritten.  Put everything under
16080         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16081         Use IFUNC to redirect when possible.
16082         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16085         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16086         unconditionally nowadays.  This included the only reference to
16087         __vdso_clock_gettime that appears outside libc proper.
16088         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16089         Remove version set (containing only __vdso_clock_gettime).
16090         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16091         Add attribute_hidden.
16092         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16093         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16094         libc_hidden_data_def.
16095         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16096         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16098         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16099         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16100         setrpcent, and getrpcport to ...
16101         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16102         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16103         getrpcbynumber_r, and getrpcent_r to ...
16104         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16105         * inet/getrpcbyname.c: Moved ...
16106         * sunrpc/getrpcbyname.c: ... here.
16107         * inet/getrpcbyname_r.c: Moved ...
16108         * sunrpc/getrpcbyname_r.c: ... here.
16109         * inet/getrpcbynumber.c: Moved ...
16110         * sunrpc/getrpcbynumber.c: ... here.
16111         * inet/getrpcbynumber_r.c: Moved ...
16112         * sunrpc/getrpcbynumber_r.c: ... here.
16113         * inet/getrpcent.c: Moved ...
16114         * sunrpc/getrpcent.c: ... here.
16115         * inet/getrpcent_r.c: Moved ...
16116         * sunrpc/getrpcent_r.c: ... here.
16117         * inet/Makefile (routines): Move those to ...
16118         * sunrpc/Makefile (routines): ... here.
16119         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16120         the $(subdirs) list.
16121         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16122         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16123         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16124         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16126         * elf/Makefile (routines): Include $(all-dl-routines), not just
16127         $(dl-routines).
16128         (rtld-routines): Likewise.  Use = rather than :=.
16129         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16130         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16131         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16132         * sysdeps/arm/Makefile: Likewise.
16133         * sysdeps/i386/Makefile: Likewise.
16134         * sysdeps/x86_64/Makefile: Likewise.
16135         * sysdeps/hppa/Makefile [$(subdir) = elf]
16136         (sysdep_routines, sysdep-rtld-routines): Don't add
16137         $(sysdep-dl-routines) to these.
16138         * sysdeps/ia64/Makefile: Likewise.
16139         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16140         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16141         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16142         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16143         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16144         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16145         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16146         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16147         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16148         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16149         these; sysdep-dl-routines alone is enough.
16151 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16153         [BZ #17932]
16154         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16155         where multiplication results in zero and third argument is finite
16156         and nonzero.
16157         * math/auto-libm-test-in: Add more tests of fma.
16158         * math/auto-libm-test-out: Regenerated.
16160         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16161         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16162         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16163         (_FP_CMP_EQ): Likewise.
16164         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16166         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16167         extra argument CHECK_NAN.  Redefine as wrapper around
16168         _FP_EXTEND_CNAN.
16170 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16172         * version.h (RELEASE): Set to "stable".
16173         (VERSION): Set to "2.21"
16174         * include/features.h (__GLIBC_MINOR__): Set to 21.
16176         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16178 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16179             Paul Eggert  <eggert@cs.ucla.edu>
16181         [BZ #16618]
16182         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16184         size in bytes. Store needed elements in wpmax. Use needed size
16185         in bytes for extend_alloca.
16187 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16189         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16190         binutls 2.25, and texinfo 5.2.
16191         * INSTALL: Regenerate.
16192         * sysdeps/nios2/configure: Regenerate.
16193         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16194         * manual/contrib.texi: Update.
16195         * po/be.po: Update.
16196         * po/bg.po: Update.
16197         * po/ca.po: Update.
16198         * po/cs.po: Update.
16199         * po/da.po: Update.
16200         * po/de.po: Update.
16201         * po/el.po: Update.
16202         * po/eo.po: Update.
16203         * po/es.po: Update.
16204         * po/fi.po: Update.
16205         * po/fr.po: Update.
16206         * po/gl.po: Update.
16207         * po/hr.po: Update.
16208         * po/hu.po: Update.
16209         * po/ia.po: Update.
16210         * po/id.po: Update.
16211         * po/it.po: Update.
16212         * po/ja.po: Update.
16213         * po/ko.po: Update.
16214         * po/lt.po: Update.
16215         * po/nb.po: Update.
16216         * po/nl.po: Update.
16217         * po/pl.po: Update.
16218         * po/pt_BR.po: Update.
16219         * po/ru.po: Update.
16220         * po/rw.po: Update.
16221         * po/sk.po: Update.
16222         * po/sl.po: Update.
16223         * po/sv.po: Update.
16224         * po/tr.po: Update.
16225         * po/uk.po: Update.
16226         * po/vi.po: Update.
16227         * po/zh_CN.po: Update.
16228         * po/zh_TW.po: Update.
16230         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16231         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16232         * sysdeps/hppa/dl-irel.h: Remove #warning.
16233         * sysdeps/hppa/entry.h: Provide prototype for
16234         __canonicalize_funcptr_for_compare and cast argument.
16235         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16236         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16237         * sysdeps/hppa/sotruss-lib.c: New file.
16238         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16239         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16240         (atomic_compare_and_exchange_bool_acq): Likewise.
16241         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16242         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16244         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16245         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16246         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16248 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16250         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16251         called function in non-PIC case.
16253 2015-01-31  David S. Miller  <davem@davemloft.net>
16255         * sysdeps/sparc/sparc32/bits/atomic.h
16256         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16257         unlock not after it.
16258         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16259         volatile register usage warnings from the compiler.
16261         * sysdeps/sparc/nptl/sem_init.c: Delete.
16262         * sysdeps/sparc/nptl/sem_post.c: Delete.
16263         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16264         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16265         * sysdeps/sparc/sparc32/sem_init.c: New file.
16266         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16267         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16268         padding explicitly initialized.
16269         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16270         padding for in-semaphore spinlock.
16271         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16272         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16273         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16274         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16275         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16276         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16277         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16278         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16279         version.
16280         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16281         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16283 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16285         [BZ #17801]
16286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16287         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16288         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16289         New.
16290         (index_AVX_Fast_Unaligned_Load): Likewise.
16291         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16292         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16293         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16294         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16295         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16296         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16297         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16298         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16299         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16301 2015-01-29  Andreas Schwab  <schwab@suse.de>
16303         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16305 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16307         [BZ #17892]
16308         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16310 2015-01-28  Martin Sebor  <msebor@redhat.com>
16312         * math/README.libm-test: Clarify. Add "How to read the test output."
16314 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16316         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16317         Define to 0.
16319 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16321         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16322         (__HAVE_64B_ATOMICS): Define to 0.
16324 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16326         [BZ #17885]
16327         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16328         value to set as new flag.
16330         [BZ #16576]
16331         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16332         and use _ARCH_PPCSQ instead.
16333         (__ieee754_sqrt): Likewise.
16334         (__ieee754_sqrtf): Likewise.
16335         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16336         _ARCH_PPCSQ is defined.
16337         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16338         fsqrt instruction.
16339         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16340         _ARCH_PPCSQ is defined.
16341         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16342         fsqrts instruction.
16343         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16345 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16347         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16348         bug (GCC BZ #64739).
16350 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16352         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16353         Mark _retval as used.
16354         (lll_futex_wake_unlock): Likewise.
16355         (lll_futex_timed_wait_requeue_pi): Likewise.
16357         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16358         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16359         register variables.
16361         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16362         libm_hidden_def.
16364         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16365         (__bswap_64): Mark as __always_inline.
16367 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16369         [BZ #15378]
16370         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16371         when none of the search directories exist.
16373 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16375         [BZ #17869]
16376         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16377         power8 in .machine directive.
16379         [BZ #17868]
16380         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16381         set dependency from opd value.
16383 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16386         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16387         architecture.
16389 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16391         [BZ #17870]
16392         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16393         with uint64_t.
16394         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16395         (uint64_t) 1.
16396         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16397         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16398         Replace 1UL with (uint64_t) 1.
16399         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16400         int with uint64_t.
16402 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16404         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16405         (if_freenameindex): Likewise.
16407         * resource/getrlimit64.c: Add missing libc_hidden_def.
16409 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16411         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16412         __label__.
16413         (_FP_FMA): Likewise.
16414         (_FP_TO_INT_ROUND): Likewise.
16415         (_FP_FROM_INT): Likewise.
16417 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16419         [BZ #16418]
16420         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16421         Make code racy and cancel safe.
16423 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16425         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16426         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16427         attribution.
16429         * pwd/tst-getpw.c: Rewrite.
16431         [BZ #17702]
16432         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16433         (modules-names): Add moddummy1 and moddummy2.
16434         ($(objpfx)tst-rec-dlopen): Define.
16435         * dlfcn/moddummy1.c: New file.
16436         * dlfcn/moddummy2.c: New file.
16437         * dlfcn/tst-rec-dlopen.c: New file.
16438         * elf/dl-cache.c (_dl_load_cache_lookup):
16439         Return char*. Copy result with alloca/strcpy/strdup.
16440         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16441         returns char*. Free cached. If not saving realname
16442         free cached.
16443         * elf/dl-open.c (dl_open_worker): Do not assert that
16444         _r_debug->r_state is RT_CONSISTENT.
16445         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16446         returns char*.
16448 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16449             Carlos O'Donell  <carlos@redhat.com>
16451         [BZ #12674]
16452         * nptl/sem_waitcommon.c: New file.
16453         * nptl/sem_wait.c: Include sem_waitcommon.c.
16454         (__sem_wait_cleanup, do_futex_wait): Remove.
16455         (__new_sem_wait): Adapt.
16456         (__new_sem_trywait): New function.
16457         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16458         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16459         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16460         (sem_timedwait): Adapt.
16461         * nptl/sem_post.c (__new_sem_post): Adapt.
16462         (futex_wake): New function.
16463         (__old_sem_post): Add release MO fence.
16464         * nptl/sem_open.c (sem_open): Adapt.
16465         * nptl/sem_init.c (__new_sem_init): Adapt.
16466         (futex_private_if_supported): New function.
16467         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16468         (__old_sem_getvalue): Add using previous code.
16469         * sysdeps/nptl/internaltypes.h: Adapt.
16470         * nptl/tst-sem13.c (do_test): Adapt.
16471         * nptl/tst-sem11.c (main): Adapt.
16472         * nptl/sem_trywait.c: Remove.
16473         * nptl/DESIGN-sem.txt: Remove.
16474         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16475         (gen-as-const-headers): Remove structsem.sym.
16476         * nptl/structsem.sym: Remove.
16477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16478         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16479         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16480         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16481         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16482         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16483         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16484         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16485         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16486         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16487         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16488         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16489         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16490         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16491         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16492         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16493         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16494         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16495         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16496         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16497         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16498         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16500 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16502         * INSTALL: Regenerated.
16504         * po/libc.pot: Regenerated.
16506 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16507             Sandra Loosemore  <sandra@codesourcery.com>
16508             Andrew Jenner  <andrew@codesourcery.com>
16509             Joseph Myers  <joseph@codesourcery.com>
16510             Nathan Sidwell  <nathan@codesourcery.com>
16512         * NEWS: Mention new Nios II port.
16513         * sysdeps/nios2/Implies: New file.
16514         * sysdeps/nios2/Makefile: New file.
16515         * sysdeps/nios2/Subdirs: New file.
16516         * sysdeps/nios2/Versions: New file.
16517         * sysdeps/nios2/__longjmp.S: New file.
16518         * sysdeps/nios2/abort-instr.h: New file.
16519         * sysdeps/nios2/backtrace.c: New file.
16520         * sysdeps/nios2/bits/endian.h: New file.
16521         * sysdeps/nios2/bits/fenv.h: New file.
16522         * sysdeps/nios2/bits/link.h: New file.
16523         * sysdeps/nios2/bits/setjmp.h: New file.
16524         * sysdeps/nios2/bsd-_setjmp.S: New file.
16525         * sysdeps/nios2/bsd-setjmp.S: New file.
16526         * sysdeps/nios2/configure: New generated file.
16527         * sysdeps/nios2/configure.ac: New file.
16528         * sysdeps/nios2/crti.S: New file.
16529         * sysdeps/nios2/crtn.S: New file.
16530         * sysdeps/nios2/dl-init.c: New file.
16531         * sysdeps/nios2/dl-machine.h: New file.
16532         * sysdeps/nios2/dl-sysdep.h: New file.
16533         * sysdeps/nios2/dl-tls.h: New file.
16534         * sysdeps/nios2/dl-trampoline.S: New file.
16535         * sysdeps/nios2/gccframe.h: New file.
16536         * sysdeps/nios2/gmp-mparam.h: New file.
16537         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16538         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16539         * sysdeps/nios2/ldsodefs.h: New file.
16540         * sysdeps/nios2/libc-tls.c: New file.
16541         * sysdeps/nios2/libm-test-ulps: New file.
16542         * sysdeps/nios2/machine-gmon.h: New file.
16543         * sysdeps/nios2/math-tests.h: New file.
16544         * sysdeps/nios2/math_private.h: New file.
16545         * sysdeps/nios2/memusage.h: New file.
16546         * sysdeps/nios2/nptl/Makefile: New file.
16547         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16548         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16549         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16550         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16551         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16552         * sysdeps/nios2/nptl/tls.h: New file.
16553         * sysdeps/nios2/preconfigure: New file.
16554         * sysdeps/nios2/s_fma.c: New file.
16555         * sysdeps/nios2/s_fmaf.c: New file.
16556         * sysdeps/nios2/setjmp.S: New file.
16557         * sysdeps/nios2/sfp-machine.h: New file.
16558         * sysdeps/nios2/sotruss-lib.c: New file.
16559         * sysdeps/nios2/stackguard-macros.h: New file.
16560         * sysdeps/nios2/stackinfo.h: New file.
16561         * sysdeps/nios2/start.S: New file.
16562         * sysdeps/nios2/sysdep.h: New file.
16563         * sysdeps/nios2/tls-macros.h: New file.
16564         * sysdeps/nios2/tst-audit.h: New file.
16565         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16566         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16567         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16568         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16569         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16570         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16571         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16572         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16573         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16574         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16575         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16576         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16577         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16578         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16579         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16580         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16581         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16582         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16583         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16584         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16585         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16586         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16587         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16588         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16589         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16590         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16591         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16592         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16593         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16594         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16595         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16596         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16597         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16598         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16599         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16600         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16601         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16602         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16603         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16604         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16605         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16606         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16607         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16608         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16610 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16612         [BZ #17844]
16613         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16614         (getutent): Use weak_alias in non SHARED case
16615         and default_symbol_version in SHARED case.
16616         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16617         (getutent_r, pututline): Likewise.
16618         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16619         (getutid): Likewise.
16620         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16621         (getutid_r): Likewise.
16622         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16623         (getutline): Likewise.
16624         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16625         (getutline_r): Likewise.
16626         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16627         (updwtmp): Likewise.
16629 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16631         [BZ #17848]
16632         * sysdeps/s390/s390-32/memcmp.S
16633         (memcmp_g5): Rename to __memcmp_g5.
16634         * sysdeps/s390/s390-32/memcpy.S
16635         (memcpy_g5): Rename to __memcpy_g5.
16636         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16637         (memcpy_mvcle) Rename to __memcpy_mvcle.
16638         * sysdeps/s390/s390-32/memset.S
16639         (memset_g5): Rename to __memset_g5.
16640         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16641         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16642         and use prefixed functions.
16643         * sysdeps/s390/s390-32/multiarch/memcmp.S
16644         (memcmp_z196): Rename to __memcmp_z196.
16645         (memcmp_z10): Rename to __memcmp_z10.
16646         (memcmp): Set alias to __memcmp_g5.
16647         (bcmp): Set alias to __memcmp_g5.
16648         * sysdeps/s390/s390-32/multiarch/memcpy.S
16649         (memcpy_z196): Rename to __memcpy_z196.
16650         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16651         (memcpy_z10): Rename to __memcpy_z10.
16652         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16653         (memcpy): Set alias to __memcpy_g5.
16654         * sysdeps/s390/s390-32/multiarch/memset.S
16655         (memset_z196): Rename to __memset_z196.
16656         Jump to __memset_mvcle instead of memset_mvcle.
16657         (memset_z10): Rename to __memset_z10.
16658         Jump to __memset_mvcle instead of memset_mvcle.
16659         (memset_mvcle) Rename to __memset_mvcle.
16660         (memset): Set alias to __memset_g5.
16661         * sysdeps/s390/s390-64/memcmp.S
16662         (memcmp_z900): Rename to __memcmp_z900.
16663         * sysdeps/s390/s390-64/memcpy.S
16664         (memcpy_z900): Rename to __memcpy_z900.
16665         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16666         (memcpy_mvcle) Rename to __memcpy_mvcle.
16667         * sysdeps/s390/s390-64/memset.S
16668         (memset_z900): Rename to __memset_z900.
16669         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16670         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16671         and use prefixed functions.
16672         * sysdeps/s390/s390-64/multiarch/memcmp.S
16673         (memcmp_z196): Rename to __memcmp_z196.
16674         (memcmp_z10): Rename to __memcmp_z10.
16675         (memcmp): Set alias to __memcmp_z900.
16676         (bcmp): Set alias to __memcmp_z900.
16677         * sysdeps/s390/s390-64/multiarch/memcpy.S
16678         (memcpy_z196): Rename to __memcpy_z196.
16679         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16680         (memcpy_z10): Rename to __memcpy_z10.
16681         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16682         (memcpy): Set alias to __memcpy_z900.
16683         * sysdeps/s390/s390-64/multiarch/memset.S
16684         (memset_z196): Rename to __memset_z196.
16685         Jump to __memset_mvcle instead of memset_mvcle.
16686         (memset_z10): Rename to __memset_z10.
16687         Jump to __memset_mvcle instead of memset_mvcle.
16688         (memset_mvcle) Rename to __memset_mvcle.
16689         (memset): Set alias to __memset_z900.
16691 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16693         [BZ #17748]
16694         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16695         __fesetenv instead of fesetenv.
16697 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16699         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16700         macro.
16702 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16704         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16705         regression on LE.
16707         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16708         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16710         strncmp-power8 object.
16711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16712         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16713         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16714         * NEWS: Update.
16716 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16717             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16719         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16720         trailing byte check.
16722 2015-01-13  David S. Miller  <davem@davemloft.net>
16724         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16726 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16728         * login/logout.c (logout): Use memset rather than bzero.
16729         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16730         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16731         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16732         (_gethtbyaddr): Likewise.
16733         * locale/programs/simple-hash.c (bcopy): Macro removed.
16735 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16738         Add strcmp-power8 object.
16739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16740         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16741         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16742         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16743         __strcmp_power8 implementation.
16744         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16745         * NEWS: Update.
16747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16748         Add strncpy-power8 and stpncpy-power8 objects.
16749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16750         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16751         implementations.
16752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16754         __stpncpy_power8 implementation.
16755         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16756         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16757         __strncpy_power8 implementation.
16758         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16759         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16760         * NEWS: Update.
16762         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16763         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16764         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16766         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16767         strncat-power8 object.
16768         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16769         __strcat_power8 implementation.
16770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16771         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16772         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16773         optimized strcat for power8.
16775         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16776         strcpy-power8 and stpcpy-power8 objects.
16777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16778         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16779         implementations.
16780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16781         multiarch stpcpy implementation for POWER8.
16782         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16783         multiarch strcpy implementation for POWER8.
16784         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16785         __strcpy_power8 function.
16786         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16787         stpcpy for POWER8.
16788         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16789         strcpy for POWER8.
16790         * NEWS: Update.
16792 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16794         [BZ #16009]
16795         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16796         weights and rules. Use do_xfrm_cached if data fits in cache,
16797         do_xfrm otherwise.  Moved former main loop to...
16798         * (do_xfrm_cached): New function.
16799         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16800         find_idx, find_position and stack_push.
16801         * (find_idx): New function.
16802         * (find_position): Likewise.
16803         * localedata/sort-test.sh: Added test run for do_xfrm.
16804         * localedata/xfrm-test.c (main): Added command line option
16805         -nocache to run the test with strings that are too large for
16806         the STRXFRM cache.
16808 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16810         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16811         variable to lll_futex_wake call, not the value itself.
16813 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16815         [BZ #17803]
16816         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16817         twom64.  Adjust value to 0x1p-64L.
16818         (__scalblnl): Only return standard underflowing result for K <=
16819         -64 not K <= -63; adjust exponent for underflowing result by 64
16820         not 63.
16821         * math/libm-test.inc (scalbn_test_data): Add more tests.
16822         (scalbln_test_data): Likewise.
16824         [BZ #17834]
16825         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16826         0x1p63L.
16827         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16828         not HX.
16829         * math/libm-test.inc (scalbn_test_data): Add more tests.
16830         (scalbln_test_data): Likewise.
16832 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16833             Stefani Seibold  <stefani@seibold.net>
16835         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16836         (sysdep_routines): Add dl-vdso here, ...
16837         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16838         (sysdep_routines): ... not here.
16839         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16840         fallback when vDSO is not presented.
16841         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16842         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16843         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16844         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16845         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16846         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16847         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16848         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16849         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16851         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16852         fallback configurable symbol when vDSO is not available.
16853         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16854         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16855         be able to redefine fallback symbol when vDSO is not available.
16856         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16857         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16859 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16861         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16862         (TLS_INIT_TP): Add tm_capable initialization.
16863         (TLS_DEFINE_INIT_TP): Likewise.
16864         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16865         TCB.
16866         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16867         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16868         calculation.
16869         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16870         transactoion is lock elision is built and TCB tm_capable is set.
16871         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16873         (INTERNAL_SYSCALL_NCS): Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16875         (INTERNAL_SYSCALL_NCS): Likewise.
16876         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16878         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16879         for powerpc.
16880         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16881         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16882         and remove it for 32 bits case.
16883         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16885         initialization.
16886         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16887         Disable lock elision with rdlocks if elision is not available.
16889         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16890         (sysdep_routines): Add lock elision objects.
16891         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16892         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16893         [pthread_mutex_t] (__elision): Add field.
16894         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16895         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16896         elision definitions for powerpc.
16897         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16898         implementation of lock elision for powerpc.
16899         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16900         implementation of timed lock elision for powerpc.
16901         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16902         implementation of trylock with lock elision for powerpc.
16903         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16904         implementaion of unlock for lock elision for powerpc.
16905         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16906         automatic enable lock elision for mutexes.
16907         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16908         transaction execution definitions for powerpc.
16909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16910         definitions.
16911         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16912         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16913         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16914         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16915         * NEWS: Update.
16917 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16919         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16920         for #include of <shm-directory.h>.
16922 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16924         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16925         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16927 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16929         [BZ #17791]
16930         * NEWS: Mention bug fix.
16931         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16932         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16933         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16935 2015-01-09  Torvald Riegel <triegel@redhat.com>
16937         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16939 2015-01-09  Torvald Riegel <triegel@redhat.com>
16941         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16943 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16945         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16946         pointer and cast to uintptr_t.
16948 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16950         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16951         removed.
16952         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16954 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16956         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16957         of 0.
16959 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16961         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16962         <nptl/pthreadP.h> instead.
16963         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16965         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16966         already defined.
16967         [__SIGRTMIN] (init): Function removed.
16968         [__SIGRTMIN] (initialized): Variable removed.
16969         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16970         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16971         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16972         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16973         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16974         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16975         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16976         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16977         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16978         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16979         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16980         * sysdeps/nptl/allocrtsig.c: New file.
16981         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16982         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16983         * sysdeps/generic/testrtsig.h: File removed.
16985         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16986         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16988         * nptl/nptl-init.c (pthread_functions): Conditionalize
16989         .ptr__nptl_setxid initialization on [SIGSETXID].
16991         * sysdeps/nptl/sys/procfs.h: New file.
16992         * nptl_db/Makefile (headers): Add it.
16993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16995         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16996         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16997         * nptl/pthread_attr_setaffinity.c: Include it.
16998         * nptl/pthread_setattr_default_np.c: Likewise.
16999         * nptl/check-cpuset.h: New file.
17001 2015-01-08  Richard Henderson  <rth@redhat.com>
17003         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17004         (CFLAGS-tst-execstack-prog.c): Likewise.
17005         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17007 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17008             Sandra Loosemore  <sandra@codesourcery.com>
17009             Andrew Jenner  <andrew@codesourcery.com>
17010             Joseph Myers  <joseph@codesourcery.com>
17011             Nathan Sidwell  <nathan@codesourcery.com>
17013         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17014         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17015         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17016         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17017         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17018         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17019         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17020         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17021         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17022         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17023         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17024         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17025         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17026         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17027         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17028         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17029         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17031 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17033         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17034         timespec struct member in syscall macro.
17035         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17036         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17037         first timeval struct member in syscall macro.
17038         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17040 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17042         [BZ #17748]
17043         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17044         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17045         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17046         __feupdateenv and define as weak alias of __feupdateenv.  Use
17047         libm_hidden_weak.
17048         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17049         libm_hidden_def.
17050         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17051         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17052         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17053         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17054         libm_hidden_def.
17055         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17056         __feupdateenv and define as weak alias of __feupdateenv.  Use
17057         libm_hidden_weak.
17058         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17059         libm_hidden_def.
17060         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17061         __feupdateenv and define as weak alias of __feupdateenv.  Use
17062         libm_hidden_weak.
17063         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17064         libm_hidden_def.
17065         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17066         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17067         (__feupdateenv): Likewise.
17068         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17069         __feupdateenv and define as weak alias of __feupdateenv.  Use
17070         libm_hidden_weak.
17071         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17072         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17073         libm_hidden_def.
17074         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17075         function.
17076         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17077         libm_hidden_def.
17078         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17079         __feupdateenv instead of feupdateenv.
17080         (default_libc_feupdateenv_test): Likewise.
17081         (libc_feresetround_ctx): Likewise.
17083 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17085         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17086         prototype.
17088 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17090         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17091         COLL_SYM in a couple of places to avoid uninitialized variable
17092         wanings on tilegx gcc 4.8.2.
17094 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17096         * sysdeps/aarch64/strcpy.S: New file.
17097         * sysdeps/aarch64/stpcpy.S: New file.
17098         * NEWS: Updated.
17100 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17102         * sysdeps/aarch64/strrchr.S: New file.
17103         * NEWS: Updated.
17105 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17107         [BZ #17658]
17108         * stdlib/setenv.c: Fix memory leak when setting large,
17109         duplicate string.
17111 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17113         [BZ #17273]
17114         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17115         and tabs from buffer before parsing fstab entry.
17116         * misc/tst-mntent.c (main): Add test for mount entry with
17117         trailing spaces and tabs.
17119 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17121         [BZ #17748]
17122         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17123         * math/fesetround.c (fesetround): Rename to __fesetround and
17124         define as weak alias of __fesetround.  Use libm_hidden_weak.
17125         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17126         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17127         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17128         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17129         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17130         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17131         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17132         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17133         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17134         __fesetround_inline.
17135         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17136         __fesetround_inline instead of __fesetround.
17137         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17138         __fesetround and define as weak alias of __fesetround.  Use
17139         libm_hidden_weak.  Call __fesetround_inline instead of
17140         __fesetround.
17141         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17142         __fesetround and define as weak alias of __fesetround.  Use
17143         libm_hidden_weak.
17144         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17145         Likewise.
17146         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17147         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17148         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17149         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17150         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17151         __fesetround and define as weak alias of __fesetround.  Use
17152         libm_hidden_weak.
17153         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17154         __fesetround instead of fesetround.
17155         (default_libc_feholdexcept_setround): Likewise.
17156         (libc_feholdsetround_ctx): Likewise.
17157         (libc_feholdsetround_noex_ctx): Likewise.
17159         [BZ #17748]
17160         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17161         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17162         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17163         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17164         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17165         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17166         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17167         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17168         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17169         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17170         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17171         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17172         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17173         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17174         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17175         libm_hidden_def.
17176         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17177         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17178         Likewise.
17179         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17180         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17181         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17182         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17183         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17184         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17185         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17186         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17187         __fesetenv instead of fesetenv.
17188         (libc_feresetround_noex_ctx): Likewise.
17189         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17190         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17191         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17192         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17193         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17194         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17195         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17196         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17197         (__feupdateenv): Likewise.
17198         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17199         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17200         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17201         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17203 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17205         [BZ #17806]
17206         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17207         addresses have been freed.
17209 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17211         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17212         and nservall.
17214 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17216         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17217         Clean up check_pf allocation pattern. addresses
17219 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17221         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17222         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17223         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17224         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17225         * nptl/pthread_join.c (pthread_join): Likewise.
17226         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17227         * sysdeps/posix/waitid.c (__waitid): Likewise.
17228         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17229         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17230         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17231         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17233         Likewise.
17234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17235         (__libc_pread64): Likewise.
17236         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17237         (__libc_pwrite): Likewise.
17238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17239         (__libc_pwrite64): Likewsie.
17240         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17241         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17242         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17243         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17244         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17245         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17246         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17248         Likewise.
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17250         (__libc_pread64): Likewise.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17252         Likewise.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17254         (__libc_pwrite64): Likewise.
17255         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17256         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17257         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17258         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17259         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17260         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17261         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17262         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17263         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17264         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17265         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17266         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17267         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17268         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17269         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17270         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17271         Likewise.
17273 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17275         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17276         (CFLAGS-test-double.c): Likewise.
17277         (CFLAGS-test-ldouble.c): Likewise.
17278         (CPPFLAGS-test-ifloat.c): Likewise.
17279         (CPPFLAGS-test-idouble.c): Likewise.
17280         (CPPFLAGS-test-ildoubl.c): Likewise.
17281         (CFLAGS-test-test-fenv.c): Remove variable.
17282         (CFLAGS-test-misc.c): Likewise.
17284 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17286         [BZ #17797]
17287         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17288         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17289         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17290         CLOCKS_PER_SEC == 1000000.
17291         * time/clocktest.c (main): Replace %ld with %jd and cast to
17292         intmax_t.
17294 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17296         * sysdeps/generic/unwind-resume.h: New file.
17297         * sysdeps/gnu/unwind-resume.c: Include it.
17298         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17299         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17300         argument list.
17301         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17302         global rather than static.
17303         (_Unwind_Resume): Update user.
17304         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17305         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17306         rather than static.  Add __attribute__ ((cold)).
17307         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17308         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17309         * sysdeps/arm/arm-unwind-resume.S: New file.
17310         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17311         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17312         * sysdeps/arm/Makefile [$(subdir) = csu]
17313         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17314         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17315         Add rt-arm-unwind-resume.
17316         [$(subdir) = nptl]
17317         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17318         Add pt-arm-unwind-resume.
17319         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17320         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17322 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17324         [BZ #17748]
17325         * include/fenv.h (__feholdexcept): Declare.  Use
17326         libm_hidden_proto.
17327         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17328         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17329         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17330         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17331         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17332         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17333         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17334         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17335         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17336         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17337         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17338         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17339         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17340         (feholdexcept): Likewise.
17341         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17342         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17343         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17344         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17345         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17346         __feholdexcept instead of feholdexcept.
17347         (default_libc_feholdexcept_setround): Likewise.
17349 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17351         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17352         to avoid using stl/str to align destination.
17354 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17356         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17358 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #17796]
17361         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17362         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17363         Define as weak alias not strong alias.
17365 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17367         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17368         bltzal with addiupc.
17369         (RTLD_START): Ditto.
17371 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17373         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17374         for __vdso_* functions in declarations.
17375         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17376         definitions.
17377         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17378         INTERNAL_VSYSCALL): Use struct return types to check for error.
17380         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17381         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17382         function with cast from llround().
17383         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17384         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17385         Define.
17387 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17389         [BZ #17793]
17390         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17391         Define as weak alias not strong alias.
17393         [BZ #17635]
17394         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17395         ...
17396         * ctype/ctype-extn.c: ... here.
17397         (__isblank_l): Move to ...
17398         * ctype/ctype-c99_l.c: ... here.  New file.
17399         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17400         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17401         Remove variable.
17402         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17403         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17404         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17405         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17406         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17408         [BZ #17777]
17409         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17410         (posix_fadvise64): Define as weak alias not strong alias.
17411         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17412         (posix_fallocate64): Likewise.
17413         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17414         Remove variable.
17415         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17416         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17417         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17418         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17419         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17421 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17423         [BZ #16191]
17424         * NEWS: Mention bug fix.
17425         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17426         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17427         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17428         (HOST_STACK_END_ADDR): Likewise.
17430 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17432         [BZ #17748]
17433         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17434         * math/fegetround.c (fegetround): Rename to __fegetround and
17435         define as weak alias of __fegetround.  Use libm_hidden_weak.
17436         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17437         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17438         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17439         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17440         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17441         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17442         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17443         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17444         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17445         Undefine after rather than before function definition; use
17446         parentheses around function name in definition.
17447         (__fegetround): Also undefine macro after function definition.
17448         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17449         __fegetround and define as weak alias of __fegetround.  Use
17450         libm_hidden_weak.  Do not undefine as macro.
17451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17452         Likewise.
17453         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17454         __fegetround and define as weak alias of __fegetround.  Use
17455         libm_hidden_weak.
17456         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17457         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17458         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17459         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17460         __fegetround and define as weak alias of __fegetround.  Use
17461         libm_hidden_weak.
17462         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17463         __fegetround instead of fegetround.
17465         [BZ #17782]
17466         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17467         Condition macro definition on [__USE_MISC].
17469         [BZ #17781]
17470         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17471         (struct sigaction): Change type of sa_flags field to int.
17473         [BZ #17780]
17474         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17475         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17476         __glibc_reserved0.
17478         * nptl/version.c (banner): Use single year in copyright notice.
17480         * NEWS: Update copyright dates.
17481         * catgets/gencat.c (print_version): Likewise.
17482         * csu/version.c (banner): Likewise.
17483         * debug/catchsegv.sh: Likewise.
17484         * debug/pcprofiledump.c (print_version): Likewise.
17485         * debug/xtrace.sh (do_version): Likewise.
17486         * elf/ldconfig.c (print_version): Likewise.
17487         * elf/ldd.bash.in: Likewise.
17488         * elf/pldd.c (print_version): Likewise.
17489         * elf/sotruss.sh: Likewise.
17490         * elf/sprof.c (print_version): Likewise.
17491         * iconv/iconv_prog.c (print_version): Likewise.
17492         * iconv/iconvconfig.c (print_version): Likewise.
17493         * locale/programs/locale.c (print_version): Likewise.
17494         * locale/programs/localedef.c (print_version): Likewise.
17495         * login/programs/pt_chown.c (print_version): Likewise.
17496         * malloc/memusage.sh (do_version): Likewise.
17497         * malloc/memusagestat.c (print_version): Likewise.
17498         * malloc/mtrace.pl: Likewise.
17499         * manual/libc.texinfo: Likewise.
17500         * nptl/version.c (banner): Likewise.
17501         * nscd/nscd.c (print_version): Likewise.
17502         * nss/getent.c (print_version): Likewise.
17503         * nss/makedb.c (print_version): Likewise.
17504         * posix/getconf.c (main): Likewise.
17505         * scripts/test-installation.pl: Likewise.
17506         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17508 2015-01-02  Will Newton  <will.newton@linaro.org>
17510         * sysdeps/arm/armv7/configure: Removed.
17511         * sysdeps/arm/armv7/configure.ac: Likewise.
17513 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17515         * All files with FSF copyright notices: Update copyright dates
17516         using scripts/update-copyrights.
17517         * intl/plural.c: Regenerated.
17518         * locale/programs/charmap-kw.h: Likewise.
17519         * locale/programs/locfile-kw.h: Likewise.
17521 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17523         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17525 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17527         [BZ #17748]
17528         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17529         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17530         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17531         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17532         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17533         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17534         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17535         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17536         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17537         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17538         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17539         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17540         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17541         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17542         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17543         libm_hidden_def.
17544         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17545         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17546         Likewise.
17547         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17548         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17549         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17550         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17551         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17552         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17553         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17554         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17555         __fegetenv instead of fegetenv.
17556         (libc_feholdsetround_noex_ctx): Likewise.
17558 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17560         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17561         (Elf_MIPS_ABIFlags_v0): New structure.
17562         (EF_MIPS_FP64): Define.
17563         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17564         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17565         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17566         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17567         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17568         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17569         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17570         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17571         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17572         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17573         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17574         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17575         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17576         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17577         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17578         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17579         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17580         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17581         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17582         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17583         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17584         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17585         field.
17586         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17587         EF_MIPS_FP64.
17588         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17589         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17590         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17591         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17592         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17593         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17594         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17595         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17596         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17597         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17598         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17599         record the current FP ABI extension.
17600         (mips-mode-switch): Define to show if kernel headers support mode
17601         switching.
17602         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17603         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17604         supported SYSV ABI version to 3.
17605         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17606         feature.
17608 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17609             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17611         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17612         path.
17613         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17615 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17617         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17618         __fegetround and redefine to call __fegetround.  Remove condition
17619         on [!__NO_MATH_INLINES].
17620         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17621         function.
17622         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17624         Remove macro.
17625         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17626         instead of <fenv_libc.h>.
17627         (__llrintl): Call fegetround instead of __fegetround.
17628         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17629         instead of <fenv_libc.h>.
17630         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17631         (__lrintl): Call fegetround instead of __fegetround.
17632         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17633         instead of <fenv_libc.h>.
17634         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17635         (__rintl): Call fegetround instead of __fegetround.
17637 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17639         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17640         arrays.
17642 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17644         [BZ #17775]
17645         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17646         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17647         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17649 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17651         * sysdeps/i386/tls-macros.h: Include <features.h>.
17652         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17653         (TLS_IE): Likewise.
17654         (TLS_LD): Likewise.
17655         (TLS_GD): Likewise.
17656         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17657         define for GCC >= 5.0.
17659 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17661         * math/test-fenv.c (test_single_exception, set_single_exc,
17662         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17663         feexcp_mask_test, feenable_test, fe_single_test): Add
17664         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17665         case where they are not used.
17666         * math/libm-test.inc: Likewise.
17667         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17668         unused in the absence of FP rounding/exception support.
17669         * stdio-common/tst-printf-round.c: Likewise.
17670         * stdlib/tst-strtod-round.c: Likewise.
17671         * stdlib/tst-strtod-underflow.c: Likewise.
17673 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17675         [BZ #17723]
17676         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17677         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17678         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17679         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17680         libm_hidden_weak.
17681         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17682         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17683         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17684         libm_hidden_def.
17685         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17686         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17687         libm_hidden_weak.
17688         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17689         Likewise.
17690         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17691         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17693         libm_hidden_weak.
17694         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17695         libm_hidden_def.
17696         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17697         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17698         (__feraiseexcept): Likewise.
17699         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17700         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17701         libm_hidden_weak.
17702         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17703         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17704         libm_hidden_def.
17705         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17706         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17707         Use libm_hidden_def.
17708         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17709         libm_hidden_def.
17710         (feraiseexcept): Define as weak not strong alias.  Use
17711         libm_hidden_weak.
17712         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17713         New inline function.  Factored out of ...
17714         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17715         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17716         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17717         feraiseexcept.
17718         * math/w_acos.c (__acos): Likewise.
17719         * math/w_asin.c (__asin): Likewise.
17720         * math/w_ilogb.c (__ilogb): Likewise.
17721         * math/w_j0.c (y0): Likewise.
17722         * math/w_j1.c (y1): Likewise.
17723         * math/w_jn.c (yn): Likewise.
17724         * math/w_log.c (__log): Likewise.
17725         * math/w_log10.c (__log10): Likewise.
17726         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17727         * sysdeps/aarch64/fpu/math_private.h
17728         (libc_feupdateenv_test_aarch64): Likewise.
17729         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17730         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17731         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17732         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17733         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17734         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17735         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17736         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17737         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17738         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17740 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17742         [BZ #17732]
17743         * io/test-utime.c (main): Replace %ld with %jd and cast to
17744         intmax_t.
17745         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17746         * nptl/tst-mutex5.c: Include <stdint.h>.
17747         (do_test): Replace %ld with %jd and cast to intmax_t.
17748         * posix/tst-regex.c (run_test): Likewise.
17749         (run_test_backwards): Likewise.
17750         * rt/tst-clock.c: Include <stdint.h>.
17751         (clock_test): Replace %ld with %jd and cast to intmax_t.
17752         * rt/tst-cpuclock1.c: Include <stdint.h>.
17753         (do_test): Replace %lu with %ju and cast to uintmax_t.
17754         * rt/tst-cpuclock2.c: Include <stdint.h>.
17755         (do_test): Replace %lu with %ju and cast to uintmax_t.
17756         * rt/tst-mqueue1.c: Include <stdint.h>.
17757         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17758         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17759         intmax_t.
17760         * rt/tst-mqueue4.c (do_test): Likewise.
17761         * rt/tst-timer4.c: Include <stdint.h>.
17762         (check_ts): Replace %ld with %jd and cast to intmax_t.
17763         (do_test): Likewise.
17764         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17765         and cast to intmax_t.
17766         * sysdeps/pthread/tst-timer.c (main): Likewise.
17767         * time/clocktest.c (main): Likewise.
17768         * time/tst-posixtz.c (do_test): Likewise.
17769         * timezone/tst-timezone.c (main): Likewise.
17771 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17772             H.J. Lu  <hongjiu.lu@intel.com>
17774         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17775         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17776         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17777         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17778         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17779         version if bit_Fast_Unaligned_Load is set.
17780         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17781         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17782         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17783         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17784         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17785         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17786         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17787         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17788         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17789         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17790         to 4.
17791         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17792         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17793         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17794         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17796 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17798         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17799         instead of #if to avoid a Wundef warning.
17800         * stdlib/tst-limits.c (do_test): Likewise.
17802         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17803         parallel other exception macros.
17804         (fegetenv): Convert from macro to extern inline so that it applies
17805         retroactively to inline functions already seen by the compiler.
17806         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17808         * posix/Makefile (before-compile): Use $(objpfx) for
17809         posix-conf-vars-def.h.
17811 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17813         * posix/getconf.c (main): Use size_t for type of I.
17814         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17815         NSPEC.
17817         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17818         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17819         * posix/posix-envs.def: Likewise.
17820         * sysdeps/posix/sysconf.c: Likewise.
17821         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17822         (specs): Remove array.
17823         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17824         array.
17826         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17827         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17828         (__sysconf): Use CONF_IS_* macros.
17830         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17831         ($(objpfx)posix-conf-vars-def.h): New target.
17832         * posix/posix-conf-vars.list: New file.
17833         * posix/posix-conf-vars.h: New file.
17834         * posix/confstr.c: Include posix-conf-vars.h.
17835         (confstr): Use CONF_IS_* macros.
17836         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17837         CONF_IS_* macros.
17838         * scripts/gen-posix-conf-vars.awk: New file.
17840 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17842         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17843         fegetround): Add no-op macros to avoid linknamespace issues.
17845         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17846         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17848         * sysdeps/unix/sysv/linux/tile/sysdep.h
17849         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17850         assembly-specific section to avoid a redefinition warning.
17852         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17853         long before casting to pointer to avoid a cast warning.
17855 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17857         * sysdeps/tile/tilegx/Implies: New file.
17859 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17861         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17863 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17865         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17867 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17869         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17870         not define.
17871         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17872         <kernel-features.h>.
17873         (__utimes) [__NR_utimes]: Make code unconditional.
17874         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17875         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17876         (__ASSUME_UTIMES): Do not undefine.
17877         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17878         (__ASSUME_UTIMES): Likewise.
17879         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17880         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17881         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17882         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17884 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17886         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17888 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17890         [BZ #17747]
17891         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17892         alias to weak alias for j0l, y0l.
17893         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17894         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17896         [BZ #17746]
17897         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17898         conversion.
17900 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17902         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17903         to zero if not already defined.
17905 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17907         [BZ #17724]
17908         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17909         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17910         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17911         (char *) casts added.
17912         * sysdeps/ieee754/k_standardf.c: New file.
17913         * sysdeps/ieee754/k_standardl.c: Likewise.
17914         * math/Makefile (libm-support): Remove k_standard.
17915         (libm-calls): Add k_standard.
17917 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17920         Optimize to avoid an unnecessary FPCR read.
17922 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17924         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17925         Optimize to reduce FPCR/FPSR accesses.
17927 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17929         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17930         Call libc_fetestexcept_aarch64.
17932 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17934         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17935         Call libc_fesetround_aarch64.
17937 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17939         [BZ #17733]
17940         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17941         (__bind): Do not define as weak alias.
17942         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17943         define.
17944         (__getsockname): Do not define as weak alias.
17946 2014-12-22  Will Newton  <will.newton@linaro.org>
17948         * manual/install.texi: Document that we require bison 2.7
17949         or above.
17950         * INSTALL: Regenerate.
17951         * configure.ac: Use AC_CHECK_PROG_VER instead of
17952         AC_PATH_PROG when checking for bison and check for
17953         version 2.7 or above.
17954         * configure: Regenerate.
17956 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17958         [BZ #17745]
17959         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17960         * sysdeps/tile/ffsll.c (ffsll): To here.
17962         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17964 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17966         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17967         if not defined.
17968         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17969         definition.
17970         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17971         hidden ___tls_get_addr.
17972         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17973         hidden __tls_get_addr.
17974         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17975         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17976         Likewise.
17978 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17980         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17981         _dl_init call.
17983 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17985         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17986         from "call _dl_init@PLT".
17987         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17989 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17991         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17992         guarantees.
17994 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17996         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17998 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18000         [BZ #17744]
18001         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18002         strnlen.
18004 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18006         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18007         of multu on MIPSr6.
18008         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18009         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18010         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18011         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18012         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18014 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18016         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18017         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18018         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18019         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18020         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18021         mips32r6/mips64r6.
18022         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18024 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18026         * string/strncat.c (STRNCAT): Simplify implementation.
18028 2014-12-19  David S. Miller  <davem@davemloft.net>
18030         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18031         access the quad as both a long double and as a series of 4 words.
18033         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18034         link_map->l_info array access.
18036 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18038         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18040         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18041         * math/atest-exp2.c (TIMEOUT): Likewise.
18042         * math/atest-sincos.c (TIMEOUT): Likewise.
18044 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18046         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18047         -Wno-error with -fno-builtin-lround.
18049 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18051         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18052         Contains futex constants and functions moved over from ...
18053         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18054         <lowlevellock-futex.h>.
18055         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18056         (lll_timedwait_tid): Add comments and parentheses around macro
18057         arguments.
18059 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18061         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18062         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18063         (__lll_private_flag): Remove.
18064         (lll_futex_wait): Likewise.
18065         (lll_futex_timed_wait): Likewise.
18066         (lll_futex_wake): Likewise.
18067         (lll_futex_requeue): Likewise.
18068         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18069         (__lll_timedwait_tid): Spell out argument names.
18070         (lll_timedwait_tid): Add comments and parentheses around macro
18071         arguments.
18072         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18073         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18075 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18077         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18078         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18079         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18080         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18081         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18082         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18083         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18084         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18085         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18087         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18089         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18090         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18091         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18092         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18093         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18094         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18095         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18097 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18099         * sysdeps/x86_64/x32/Makefile: New file.
18101 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18103         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18104         1L with (mp_limb_t) 1.
18106 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18108         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18109         * nptl/libc_pthread_init.c: ... here.
18110         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18111         * nptl/register-atfork.c: ... here.
18113         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18114         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18115         Use assert_perror to check its return value.
18116         (__gai_create_helper_thread): Likewise.
18118         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18120         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18122 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18124         [BZ #17725]
18125         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18126         __profil_counter.
18127         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18128         Likewise.
18129         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18130         Likewise.
18131         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18132         Likewise.
18133         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18134         (profil_counter): Likewise.
18135         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18136         (profil_counter): Likewise.
18137         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18138         Likewise.
18139         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18140         Likewise.
18141         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18142         (profil_counter): Likewise.
18143         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18144         Likewise.
18145         [!__profil_counter] (profil_counter): Define as weak alias of
18146         __profil_counter.
18147         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18148         (profil_counter): Rename to __profil_counter.
18149         [!__profil_counter] (profil_counter): Define as weak alias of
18150         __profil_counter.
18151         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18152         (profil_counter): Rename to __profil_counter.
18153         [!__profil_counter] (profil_counter): Define as weak alias of
18154         __profil_counter.
18155         * sysdeps/posix/profil.c: Update comment referring to
18156         profil_counter.
18157         (__profil): Use __profil_counter instead of profil_counter.
18158         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18159         __profil_counter.  Use __profil_counter_ushort and
18160         __profil_counter_uint in definitions.
18161         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18162         instead of profil_counter_uint and profil_counter_ushort.
18164         [BZ #17722]
18165         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18166         define as weak alias of __inet_makeaddr.
18167         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18168         as weak alias of __inet_addr.
18169         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18170         as weak alias of __inet_pton.  Use libc_hidden_weak.
18171         * include/arpa/inet.h (__inet_pton): Declare.  Use
18172         libc_hidden_proto.
18173         (inet_makeaddr): Don't use libc_hidden_proto.
18174         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18175         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18176         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18177         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18178         Remove variable.
18179         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18180         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18182 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18184         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18186 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18188         * stdio-common/bug-vfprintf-nargs.c (do_test):
18189         Cast value to intptr_t to avoid format warning
18190         for usage with PRIdPTR printing macro.
18192 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18194         * libio/tst-widetext.c (do_test):
18195         Use format type %td instead of %Zd for ptrdiff_t
18196         in order to avoid format warning.
18198 2014-12-17  Andreas Schwab  <schwab@suse.de>
18200         * nscd/mem.c (gc): Add size_t cast to match printf format.
18202 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18204         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18205         (init): Apply PTR_MANGLE to pointers before storing them.
18206         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18207         before using them.
18209 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18211         [BZ #17719]
18212         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18213         define as weak alias of __memrchr.
18214         (__memrchr): Do not define as strong alias of memrchr.
18215         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18216         Remove variable.
18217         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18218         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18219         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18221         [BZ #17717]
18222         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18223         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18224         (if_indextoname): Rename to __if_indextoname and define as weak
18225         alias of __if_indextoname.  Use libc_hidden_weak.
18226         (if_freenameindex): Rename to __if_freenameindex and define as
18227         weak alias of __if_freenameindex.
18228         (if_nameindex): Rename to __if_nameindex and define as weak alias
18229         of __if_nameindex.
18230         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18231         __if_nametoindex and define as weak alias of __if_nametoindex.
18232         Use libc_hidden_weak.
18233         (if_freenameindex): Rename to __if_freenameindex and define as
18234         weak alias of __if_freenameindex.
18235         (if_nameindex): Rename to __if_nameindex and define as weak alias
18236         of __if_nameindex.
18237         (if_indextoname): Rename to __if_indextoname and define as weak
18238         alias of __if_indextoname.  Use libc_hidden_weak.
18239         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18240         __if_nametoindex and define as weak alias of __if_nametoindex.
18241         Use libc_hidden_weak.
18242         (if_freenameindex): Rename to __if_freenameindex and define as
18243         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18244         (if_nameindex_netlink): Use __if_freenameindex instead of
18245         if_freenameindex.
18246         (if_nameindex): Rename to __if_nameindex and define as weak alias
18247         of __if_nameindex.  Use libc_hidden_weak.
18248         (if_indextoname): Rename to __if_indextoname and define as weak
18249         alias of __if_indextoname.  Use libc_hidden_weak.
18250         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18251         libc_hidden_proto.
18252         [!_ISOMAC] (__if_freenameindex): Likewise.
18253         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18254         if_nametoindex.
18255         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18256         variable.
18257         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18258         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18259         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18260         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18261         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18262         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18263         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18265         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18266         Remove variable.
18267         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18268         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18270 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18272         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18273         subscript above bounds'
18275         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18276         bounds.
18278 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18280         * libio/tst-fopenloc.c: Use test-skeleton.c.
18282         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18283         (entry): Rename to ITEM.
18284         (do_test, comp): Adjust.
18286         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18288 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18290         * string/tester.c: Include <libc-internal.h>.
18291         (test_memset): Ignore -Wmemset-transposed-args.
18293 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18295         * misc/tst-mntent2.c (do_test): Fix warning.
18297 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18299         * elf/tst-unique4lib.cc(a): Mark as used.
18301 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18303         [BZ #17630]
18304         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18305         names.
18307 2014-12-16  Allan McRae  <allan@archlinux.org>
18309         * stdio-common/Makefile (tests): Re-add bug26.
18311 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18313         [BZ #17657]
18314         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18315         static array.
18317 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18319         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18320         (__lll_lock_wait): Likewise.
18321         (__lll_timedlock_wait): Likewise.
18322         (__lll_timedwait_tid): Likewise.
18323         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18324         (__lll_robust_timedlock_wait): Likewise.
18325         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18326         (lll_cond_trylock): Likewise.
18327         (__lll_lock): Likewise.
18328         (__lll_robust_lock): Likewise.
18329         (__lll_cond_lock): Likewise.
18330         (lll_robust_cond_lock): Likewise.
18331         (__lll_timedlock): Likewise.
18332         (__lll_robust_timedlock): Likewise.
18333         (__lll_unlock): Likewise.
18334         (__lll_robust_unlock): Likewise.
18335         (lll_wait_tid): Likewise.
18336         (lll_timedwait_tid): Likewise.
18338 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18340         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18342 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18344         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18346 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18348         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18349         * stdio-common/tst-sprintf.c: Likewise.
18351 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18353         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18355 2014-12-15  Jeff Law  <law@redhat.com>
18357         [BZ #16617]
18358         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18359         on the heap.  (CVE-2012-3406)
18360         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18361         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18362         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18364 2014-12-15  Will Newton  <will.newton@linaro.org>
18366         * manual/install.texi: Bump required version of texinfo
18367         to 4.7 from 4.5.
18368         * INSTALL: Regenerated.
18369         * configure.ac: Check for makeinfo version 4.7 and above.
18370         * configure: Regenerated.
18372 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18374         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18375         PREFIX, string constant to insert between directory and name.
18376         * sysdeps/posix/shm_open.c: Update caller.
18377         * sysdeps/posix/shm_unlink.c: Likewise.
18378         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18379         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18380         (SEM_SHM_PREFIX): New macro.
18381         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18382         [$(have-thread-library) = no].
18383         * nptl/Makefile (libpthread-routines): Add shm-directory.
18384         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18385         * sysdeps/nptl/shm-directory.h: New file.
18386         * sysdeps/posix/shm-directory.c
18387         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18388         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18389         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18390         INTERNAL_SYSCALL.
18391         (__where_is_shmfs): Function removed.
18392         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18393         Variables removed.
18394         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18395         Use SHM_GET_NAME.
18396         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18398         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18399         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18400         unconditional for use inside libpthread.
18401         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18403 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18405         * nptl/pthread_getaffinity.c: New file.
18406         * nptl/pthread_setaffinity.c: New file.
18407         * nptl/pthread_getname.c: New file.
18408         * nptl/pthread_setname.c: New file.
18410         * nptl/pthread_create.c (START_THREAD_DEFN)
18411         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18413 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18414             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18416         * resolv/res_send.c (send_vc): Disable warning resplen may
18417         be used uninitialized.
18419 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18421         * nptl/tst-mutex6.c
18422         (ATTR_NULL): New define checks ATTR against NULL.
18423         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18424         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18426 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18428         [BZ #17581]
18429         * malloc/hooks.c
18430         (mem2mem_check): Revert my previous change.
18431         (malloc_check_get_size): Revert my previous change.
18432         (mem2chunk_check): Revert my previous change.
18434 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18436         * sysdeps/posix/shm-directory.c: New file.
18437         * sysdeps/posix/shm-directory.h: New file.
18438         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18439         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18440         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18441         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18442         Transmute EPERM to EACCES.
18443         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18444         from ...
18445         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18446         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18448 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18450         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18451         pointer and cast to uintptr_t.
18452         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18453         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18454         Add cast to avoid warning.
18455         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18457 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18459         * nptl/semaphore.h: Move to ...
18460         * sysdeps/pthread/semaphore.h: ... here.
18461         * Makefile (installed-headers): Change nptl/semaphore.h to
18462         sysdeps/pthread/semaphore.h.
18464 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18466         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18467         generated error format strings.
18469         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18470         -Wformat-extra-args warnings for scanf formats.
18471         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18472         test of zero-length format (duh).
18473         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18474         corner-case scanf format test.
18475         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18476         generated fprintf format string.
18477         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18478         corner-case sprintf format tests.
18479         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18480         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18481         -Wformat-extra-args warnings throughout.
18482         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18483         (CFLAGS-scanf4.c): Likewise.
18484         (CFLAGS-scanf7.c): Likewise.
18485         (CFLAGS-tst-sprintf.c): Likewise.
18486         (CFLAGS-tst-printf.c): Likewise.
18487         (CFLAGS-tst-printfsz.c): Likewise.
18489 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18491         * include/cpio.h: New file.
18492         * include/fmtmsg.h: Likewise.
18494         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18495         corresponding format argument to size_t.
18496         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18497         arguments.
18498         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18499         corresponding format argument to size_t.
18500         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18501         arguments.
18502         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18503         corresponding format argument to size_t.
18504         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18505         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18506         (CFLAGS-tst-mbswcs2.c): Likewise.
18507         (CFLAGS-tst-mbswcs3.c): Likewise.
18508         (CFLAGS-tst-mbswcs4.c): Likewise.
18509         (CFLAGS-tst-mbswcs5.c): Likewise.
18510         (CFLAGS-tst-trans.c): Likewise.
18512 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18514         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18515         rather than assuming they won't contain any '%'s.
18517 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18519         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18520         inhibit_loop_to_libcall to avoid recursive calls.
18521         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18522         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18524 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18526         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18527         prototype.
18529 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18531         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18532         integer value instead of boolean.
18534 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18536         * malloc/malloc.c: Fix powerof2 check.
18538 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18540         * locale/programs/locfile.h (maybe_swap_uint32):
18541         Remove inline and add unused attribute.
18543 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18546         Truncating assembler expression to a .long expression.
18548 2014-12-11  Andreas Schwab  <schwab@suse.de>
18550         * elf/rtld.c (struct map_args): Constify str member.
18551         (do_preload): Constify fname argument.
18553 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18555         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18556         constants definition.
18558 2014-12-11  Andreas Schwab  <schwab@suse.de>
18560         [BZ #16657]
18561         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18562         FORCE_ELISION instead of DO_ELISION.
18563         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18564         Remove.
18565         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18566         Likewise.
18568         * iconvdata/gconv-modules: Remove duplicate entry.
18570 2014-12-11  Will Newton  <will.newton@linaro.org>
18572         Merge gettext 0.19.3 into intl/.
18574         This involves a number of cosmetic changes to comments
18575         and ANSI function definitions and prototypes throughout
18576         all the files. The gettext copyright header is used but
18577         with the date ranges taken from the glibc copy.
18579         * NEWS: Add gettext merge to 2.21.
18580         * intl/bindtextdom.c: Switch to gettext copyright.
18581         Use ANSI definitions and prototypes.
18582         Use gl_* locking primitives rather than __libc_* ones.
18583         Use __builtin_expect rather than __glibc_likely/unlikely.
18584         * intl/dcgettext.c: Switch to gettext copyright.
18585         Use ANSI definitions and prototypes.
18586         * intl/dcigettext.c: Switch to gettext copyright.
18587         Use ANSI definitions and prototypes.
18588         (INTDIV0_RAISES_SIGFPE): New define.
18589         Use gl_* locking primitives rather than __libc_* ones.
18590         Include eval-plural.h instead of plural-eval.c.
18591         Use __builtin_expect rather than __glibc_likely/unlikely.
18592         * intl/dcngettext.c: Switch to gettext copyright.
18593         Use ANSI definitions and prototypes.
18594         * intl/dgettext.c: Likewise.
18595         * intl/dngettext.c: Likewise.
18596         * intl/plural-eval.c: Renamed to...
18597         * intl/eval-plural.h: ...this.
18598         * intl/explodename.c: Switch to gettext copyright.
18599         Use ANSI definitions and prototypes.
18600         (_nl_explode_name): Use strchr instead of __rawmemchr.
18601         * intl/finddomain.c: Switch to gettext copyright.
18602         Use ANSI definitions and prototypes.
18603         Use gl_* locking primitives rather than __libc_* ones.
18604         (_nl_find_domain): Use malloc rather than alloca for
18605         allocation of temporary locale name.
18606         * intl/gettext.c: Switch to gettext copyright.
18607         Use ANSI definitions and prototypes.
18608         * intl/gettextP.h: Switch to gettext copyright.
18609         Use ANSI definitions and prototypes.
18610         Use gl_* locking primitives rather than __libc_* ones.
18611         * intl/gmo.h: Switch to gettext copyright.
18612         (struct sysdep_string): Move struct segment_pair outside of
18613         struct definition.
18614         * intl/hash-string.c: Use ANSI definitions and prototypes.
18615         * intl/hash-string.h: Switch to gettext copyright.
18616         Use ANSI definitions and prototypes.
18617         * intl/l10nflist.c: Switch to gettext copyright.
18618         Use ANSI definitions and prototypes.
18619         (_nl_normalize_codeset): Avoid integer overflow.
18620         * intl/loadinfo.h: Switch to gettext copyright.
18621         Use ANSI definitions and prototypes.
18622         (LIBINTL_DLL_EXPORTED): New define.
18623         (PATH_SEPARATOR): New define.
18624         * intl/loadmsgcat.c: Switch to gettext copyright.
18625         * intl/localealias.c: Switch to gettext copyright.
18626         Use ANSI definitions and prototypes.
18627         (_nl_expand_alias): Use PATH_SEPARATOR.
18628         * intl/ngettext.c: Switch to gettext copyright.
18629         Use ANSI definitions and prototypes.
18630         * intl/plural-exp.c: Likewise.
18631         * intl/plural-exp.h: Switch to gettext copyright.
18632         Use ANSI definitions and prototypes.
18633         (struct expression): Move definition of enum operator outside
18634         of struct definition.
18635         * intl/plural.c: Regenerate.
18636         * intl/plural.y: Switch to gettext copyright.
18637         Use ANSI definitions and prototypes.
18638         Port to bison 3.0.
18639         * intl/textdomain.c: Switch to gettext copyright.
18640         Use ANSI definitions and prototypes.
18641         Use gl_* locking primitives rather than __libc_* ones.
18643 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18645         * debug/warning-nop.c: Add used atrribute.
18647 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18649         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18651         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18652         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18653         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18655 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18656             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18658         [BZ #17634]
18659         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18660         Undefine after defining function.  Define as weak alias of
18661         __wcschr.  Use libc_hidden_weak.
18662         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18663         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18664         (libc_hidden_def): Also define __GI___wcschr alias.
18665         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18666         __wcschr and define as weak alias of __wcschr.
18667         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18668         __wcschr.
18669         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18670         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18671         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18672         libc_hidden_weak.  Do not use libc_hidden_def.
18673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18674         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18675         __GI___wcschr alias.
18676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18677         [IS_IN (libc)] (wcschr): Define as macro expanding to
18678         __redirect_wcschr.
18679         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18680         [IS_IN (libc)] (__wcschr_power6): Likewise.
18681         [IS_IN (libc)] (__wcschr_power7): Likewise.
18682         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18683         instead of wcschr.
18684         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18685         __libc_wcschr.
18686         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18687         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18688         __wcschr and define as weak alias of __wcschr.  Use
18689         libc_hidden_builtin_def.
18690         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18691         as weak alias of __wcschr.  Use libc_hidden_weak.
18692         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18693         wcschr.
18694         * time/era.c (_nl_init_era_entries): Likewise.
18695         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18696         variable.
18697         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18698         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18700 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18702         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18703         format for long int variable.
18705 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18707         [BZ #10672]
18708         * manual/search.texi: (Array Sort Function): Remove claim how to make
18709         qsort stable.
18711 2014-12-10  Andreas Schwab  <schwab@suse.de>
18713         [BZ #12847]
18714         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18715         user-controlled locks.
18717 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18719         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18720         register.
18722 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18724         * configure.ac (--disable-werror): New configure option.
18725         (enable_werror): New AC_SUBST.
18726         * configure: Regenerated.
18727         * config.make.in (enable-werror): New variable.
18728         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18729         -Wno-error=undef.
18730         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18731         * manual/install.texi (Configuring and compiling): Document
18732         --disable-werror.
18733         * INSTALL: Regenerated.
18734         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18735         (CFLAGS-tst-chk2.c): Likewise.
18736         (CFLAGS-tst-chk3.c): Likewise.
18737         (CFLAGS-tst-chk4.cc): Likewise.
18738         (CFLAGS-tst-chk5.cc): Likewise.
18739         (CFLAGS-tst-chk6.cc): Likewise.
18740         (CFLAGS-tst-lfschk1.c): Likewise.
18741         (CFLAGS-tst-lfschk2.c): Likewise.
18742         (CFLAGS-tst-lfschk3.c): Likewise.
18743         (CFLAGS-tst-lfschk4.cc): Likewise.
18744         (CFLAGS-tst-lfschk5.cc): Likewise.
18745         (CFLAGS-tst-lfschk6.cc): Likewise.
18747         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18748         (main): Disable -Wdeprecated-declarations around calls to
18749         register_printf_function.
18751         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18752         (do_test): Disable -Wdiv-by-zero around some calls to
18753         fwrite_unlocked and fread_unlocked.
18755         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18756         (DIAG_POP_NEEDS_COMMENT): Likewise.
18757         (_DIAG_STR1): Likewise.
18758         (_DIAG_STR): Likewise.
18759         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18760         * stdio-common/bug21.c: Include <libc-internal.h>.
18761         (do_test): Disable -Wformat around call to sscanf.
18762         * stdio-common/scanf14.c: Include <libc-internal.h>.
18763         (main): Disable -Wformat around some calls to scanf functions.
18765 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18767         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18769 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18771         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18772         stack variable alignment.
18774 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #17682]
18777         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18778         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18779         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18780         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18781         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18782         __getrlimit instead of getrlimit.
18783         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18784         __gettimeofday instead of gettimeofday.
18785         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18786         Likewise.
18787         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18788         Likewise.
18789         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18790         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18791         Remove variable.
18792         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18793         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18795 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18797         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18798         for wide-character tests.
18800 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18802         * io/openat64.c: #include <libc-internal.h>
18803         (__openat64): Prototypify.  Use ignore_value on MODE.
18804         * io/openat.c: Likewise.
18805         * misc/reboot.c: #include <libc-internal.h>
18806         (reboot): Prototypify.  Use ignore_value on HOWTO.
18807         * misc/ptrace.c: #include <libc-internal.h>
18808         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18810 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18812         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18813         XPG4, UNIX98 and XOPEN2K.
18814         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18815         Remove variable.
18816         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18818 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18820         * libio/fileops.c: Use ISO C style for function definitions.
18821         * libio/iofopen.c: Likewise.
18822         * libio/wfileops.c: Likewise.
18824         [BZ #17653]
18825         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18826         offset on EOF.
18827         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18828         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18829         (fgets_func): Function pointer to fgets and fgetws.
18830         (do_ftell_test): Add test to verify ftell value after read
18831         EOF.
18832         (do_test): Set fgets_func.
18834         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18835         O_TRUNC flag for w and w+ modes.
18836         (do_rewind_test): Likewise.
18837         (do_ftell_test): Likewise.
18838         (do_write_test): Likewise.
18840         [BZ #17647]
18841         * libio/fileops.c (do_ftell): Seek only when there are
18842         unflushed writes.
18843         * libio/wfileops.c (do_ftell_wide): Likewise.
18844         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18845         test case.
18846         (do_one_test): Call it.
18848 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18850         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18851         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18852         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18853         Remove variable.
18854         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18855         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18856         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18858 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18860         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18861         Remove variable.
18862         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18864         [BZ #17668]
18865         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18866         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18867         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18868         __freeifaddrs.  Use libc_hidden_weak.
18869         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18870         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18871         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18872         __freeifaddrs.  Use libc_hidden_weak.
18873         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18874         __getifaddrs and define as weak alias of __getifaddrs.  Use
18875         libc_hidden_weak.
18876         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18877         __freeifaddrs.  Use libc_hidden_weak.
18878         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18879         Remove variable.
18880         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18881         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18883 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18885         [BZ #17601]
18886         * sysdeps/mips/start.S (__start): Use indirect jump to call
18887         __libc_start_main.
18889 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18891         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18893         * nptl/tst-mutex1.c: Include <stdbool.h>.
18894         [!ATTR] (ATTR_NULL): New macro.
18895         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18896         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18897         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18899         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18900         to char *.
18902         [BZ #17665]
18903         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18904         Change conditional to [__USE_MISC].
18906         [BZ #17664]
18907         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18908         fgets_unlocked.
18909         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18910         __fgets_unlocked.
18911         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18912         fgets_unlocked.
18913         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18914         Remove variable.
18915         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18916         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18917         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18918         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18919         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18920         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18921         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18922         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18923         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18925         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18927 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18929         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18930         Remove strpbrk objects.
18931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18932         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18933         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18935         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18936         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18939         Remove strcspn objects.
18940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18941         (__libc_ifunc_impl_list): Remove strcspn implementation.
18942         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18943         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18944         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18945         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18947         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18948         Remove strspn objetcs.
18949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18950         (__libc_ifunc_impl_list): Remove strspn implementation.
18951         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18952         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18953         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18954         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18956 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18958         [BZ #17581]
18959         * malloc/hooks.c
18960         (mem2mem_check): Add a terminator to the chain of checking blocks.
18961         (malloc_check_get_size): Use it here.
18962         (mem2chunk_check): Ditto.
18964 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18966         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18967         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18969 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18971         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18973         * nptl/nptl-init.c: Include libc-internal.h.
18974         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18976         * elf/ldconfig.c (search_dir): Expand comment.
18978 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18980         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18981         variable.
18982         (linknamespace-symlist-stdlibs-tests): Likewise.
18983         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18984         instead of $(objpfx)symlist-stdlibs.
18985         (linknamespace-libs-isoc): New variable.
18986         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18987         (linknamespace-libs-ISO): New variable.
18988         (linknamespace-libs-ISO99): Likewise.
18989         (linknamespace-libs-ISO11): Likewise.
18990         (linknamespace-libs-XPG3): Likewise.
18991         (linknamespace-libs-XPG4): Likewise.
18992         (linknamespace-libs-POSIX): Likewise.
18993         (linknamespace-libs-UNIX98): Likewise.
18994         (linknamespace-libs-XOPEN2K): Likewise.
18995         (linknamespace-libs-POSIX2008): Likewise.
18996         (linknamespace-libs-XOPEN2K8): Likewise.
18997         ($(objpfx)symlist-stdlibs): Replace by
18998         $(linknamespace-symlist-stdlibs-tests).  Use
18999         $(linknamespace-libs-$*) as set of libraries.
19000         ($(linknamespace-header-tests)): Update dependencies.  Use
19001         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19002         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19003         * conform/linknamespace.pl: Remove comment about considering
19004         definitions of symbols from irrelevant libraries.
19006 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19008         [BZ #13862]
19009         * elf/dl-tls.c: Include <atomic.h>.
19010         (oom): Remove #ifdef SHARED/#endif.
19011         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19012         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19013         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19014         big enough.
19015         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19016         * nptl/Makefile (tests): Add tst-stack4.
19017         (modules-names): Add tst-stack4mod.
19018         ($(objpfx)tst-stack4): New.
19019         (tst-stack4mod.sos): Likewise.
19020         ($(objpfx)tst-stack4.out): Likewise.
19021         ($(tst-stack4mod.sos)): Likewise.
19022         (clean): Likewise.
19023         * nptl/tst-stack4.c: New file.
19024         * nptl/tst-stack4mod.c: Likewise.
19026 2014-11-27  J. Brown  <jb999@gmx.de>
19028         * sysdeps/x86/bits/string.h: Add recent CPUs.
19030 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19032         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19033         sigblock.
19035         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19036         feof.
19038         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19039         variable.
19041 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19043         * nscd/connections.c: Include libc-internal.h because of macro
19044         usage ignore_value.
19046 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19048         * string/bits/string3.h (__warn_memset_zero_len): Don't
19049         declare for gcc newer than 5.0.
19050         (memset): Don't test for zero-length __LEN for gcc newer than
19051         5.0.
19053 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19055         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19056         size_t for %zu format.
19058         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19059         difference, not %ju.
19061 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19063         * include/libc-internal.h (ignore_value): New macro.
19064         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19065         with ignore_value.
19067         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19068         definition.
19070         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19071         pthread_cleanup_push to void *.
19073         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19074         Undefine.
19076         [BZ #16619]
19077         [BZ #16740]
19078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19079         instead of 1L << 52.
19081         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19082         * libio/bug-rewind2.c (do_test): Likewise.
19084         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19085         * debug/test-strcpy_chk-ifunc.c: Likewise.
19086         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19087         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19088         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19089         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19090         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19091         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19092         * Rules [$(multi-arch) = no] (tests): Do not filter out
19093         $(tests-ifunc).
19094         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19095         * debug/Makefile (tests-ifunc): Remove variable.
19096         (tests): Do not add $(tests-ifunc).
19097         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19098         (tests): Do not add $(tests-ifunc).
19099         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19100         [TEST_IFUNC]: Remove conditionals.
19101         * string/test-string.h (TEST_IFUNC): Remove macro.
19102         [TEST_IFUNC]: Remove conditionals.
19104         * string/test-strchr.c [!WIDE] (L): New macro.
19105         [WIDE] (L): Likewise.
19106         (check1): Use CHAR instead of char.  Use L on string and character
19107         constants.
19109 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19111         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19112         tests.
19113         * sysdeps/powerpc/bits/atomic.h
19114         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19115         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19116         (atomic_exchange_and_add_acq): Likewise.
19117         (atomic_exchange_and_add_rel): Likewise.
19118         * sysdeps/powerpc/powerpc32/bits/atomic.h
19119         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19120         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19121         * sysdeps/powerpc/powerpc64/bits/atomic.h
19122         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19123         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19125 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19127         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19128         Change synchronization of __sched_fifo_min_prio and
19129         __sched_fifo_max_prio.
19130         * nptl/pthread_mutexattr_getprioceiling.c
19131         (pthread_mutexattr_getprioceiling): Likewise.
19132         * nptl/pthread_mutexattr_setprioceiling.c
19133         (pthread_mutexattr_setprioceiling): Likewise.
19134         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19135         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19136         Likewise.
19138 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19140         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19141         void.
19143 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19145         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19146         third argument const.
19148 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19150         fnmatch: work around GCC compiler warning bug with uninit var
19151         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19152         This works around a bug with x86-64 GCC 4.9.2 and earlier
19153         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19154         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19155         used uninitialized in this function [-Wmaybe-uninitialized]".
19157 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19159         * posix/bug-regex31.c (main): Return RES not 0.
19161 2014-11-25  Anton Blanchard <anton@samba.org>
19163         * sysdeps/powerpc/bits/atomic.h
19164         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19166 2014-11-24  Sterling Augustine  <saugustine@google.com>
19168         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19170 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19172         [BZ #17608]
19173         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19175 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19177         [BZ #17633]
19178         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19179         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19180         variable.
19181         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19182         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19184 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19186         * string/strncpy.c (strncpy): Improve performance by using memset.
19188 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19190         * string/strcpy.c (strcpy):
19191         Improve performance by using strlen and memcpy.
19193 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19195         * string/strcoll_l.c (get_next_seq): __always_inline.
19196         * string/strcoll_l.c (do_compare): __always_inline.
19198 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19201         defined.
19202         * include/mqueue.h: Likewise.
19203         * include/stdlib.h: Likewise.
19205         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19206         (get_null_defines): Adjust.
19207         * sunrpc/Makefile: Adjust comment.
19208         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19209         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19210         (CFLAGS-interp.c): Likewise.
19211         (CFLAGS-ldconfig.c): Likewise.
19212         (CPPFLAGS-.os): Likewise.
19213         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19214         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19215         * extra-modules.mk (extra-modules.mk): Likewise.
19216         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19217         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19218         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19219         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19220         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19221         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19222         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19223         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19224         * iconvdata/Makefile (CPPFLAGS): Likewise.
19225         (cpp-srcs-left): Add libof for all iconvdata routines.
19226         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19227         * include/assert.h: Likewise.
19228         * include/ctype.h: Likewise.
19229         * include/errno.h: Likewise.
19230         * include/libc-symbols.h: Likewise.
19231         * include/math.h: Likewise.
19232         * include/netdb.h: Likewise.
19233         * include/resolv.h: Likewise.
19234         * include/stdio.h: Likewise.
19235         * include/stdlib.h: Likewise.
19236         * include/string.h: Likewise.
19237         * include/sys/stat.h: Likewise.
19238         * include/wctype.h: Likewise.
19239         * intl/l10nflist.c: Likewise.
19240         * libidn/idn-stub.c: Likewise.
19241         * libio/libioP.h: Likewise.
19242         * nptl/libc_multiple_threads.c: Likewise.
19243         * nptl/pthreadP.h: Likewise.
19244         * posix/regex_internal.h: Likewise.
19245         * resolv/res_hconf.c: Likewise.
19246         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19247         * sysdeps/arm/memmove.S: Likewise.
19248         * sysdeps/arm/sysdep.h: Likewise.
19249         * sysdeps/generic/_itoa.h: Likewise.
19250         * sysdeps/generic/symbol-hacks.h: Likewise.
19251         * sysdeps/gnu/errlist.awk: Likewise.
19252         * sysdeps/gnu/errlist.c: Likewise.
19253         * sysdeps/i386/i586/memcpy.S: Likewise.
19254         * sysdeps/i386/i586/memset.S: Likewise.
19255         * sysdeps/i386/i686/memcpy.S: Likewise.
19256         * sysdeps/i386/i686/memmove.S: Likewise.
19257         * sysdeps/i386/i686/mempcpy.S: Likewise.
19258         * sysdeps/i386/i686/memset.S: Likewise.
19259         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19260         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19261         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19262         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19263         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19264         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19265         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19266         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19267         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19268         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19269         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19270         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19271         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19272         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19273         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19274         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19275         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19276         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19277         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19278         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19279         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19280         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19281         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19282         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19283         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19284         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19285         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19286         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19287         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19288         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19294         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19295         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19296         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19297         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19298         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19299         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19300         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19301         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19302         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19303         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19304         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19305         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19306         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19307         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19308         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19309         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19310         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19311         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19312         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19313         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19314         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19315         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19316         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19317         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19318         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19319         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19320         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19321         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19322         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19323         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19324         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19325         * sysdeps/posix/closedir.c: Likewise.
19326         * sysdeps/posix/opendir.c: Likewise.
19327         * sysdeps/posix/readdir.c: Likewise.
19328         * sysdeps/posix/rewinddir.c: Likewise.
19329         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19330         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19332         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19333         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19334         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19335         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19340         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19341         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19342         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19343         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19344         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19345         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19346         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19348         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19349         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19350         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19351         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19352         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19356         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19357         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19364         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19365         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19366         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19367         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19368         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19369         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19370         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19371         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19373         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19374         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19375         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19376         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19377         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19378         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19379         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19380         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19383         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19386         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19387         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19388         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19389         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19390         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19392         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19393         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19394         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19395         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19396         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19397         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19398         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19399         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19401         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19402         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19403         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19404         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19405         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19406         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19407         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19408         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19409         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19411         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19412         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19413         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19414         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19415         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19416         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19417         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19419         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19420         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19421         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19425         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19427         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19428         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19429         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19430         * sysdeps/unix/alpha/sysdep.S: Likewise.
19431         * sysdeps/unix/alpha/sysdep.h: Likewise.
19432         * sysdeps/unix/make-syscalls.sh: Likewise.
19433         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19435         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19436         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19438         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19439         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19440         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19441         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19442         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19444         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19446         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19447         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19448         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19449         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19450         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19451         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19452         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19453         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19454         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19455         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19456         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19457         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19458         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19459         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19462         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19463         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19467         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19471         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19472         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19473         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19474         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19475         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19476         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19477         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19480         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19483         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19484         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19485         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19486         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19487         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19488         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19489         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19491         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19492         * sysdeps/x86_64/memcpy.S: Likewise.
19493         * sysdeps/x86_64/memmove.c: Likewise.
19494         * sysdeps/x86_64/memset.S: Likewise.
19495         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19496         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19497         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19498         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19499         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19501         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19502         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19503         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19504         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19505         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19506         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19507         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19508         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19509         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19510         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19511         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19512         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19513         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19514         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19515         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19516         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19517         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19518         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19519         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19520         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19521         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19522         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19523         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19524         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19525         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19526         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19527         * sysdeps/x86_64/strcmp.S: Likewise.
19529         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19531         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19532         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19533         * elf/rtld-Rules: Likewise.
19534         * elf/setup-vdso.h: Likewise.
19535         * include/assert.h: Likewise.
19536         * include/bits/stdlib-float.h: Likewise.
19537         * include/errno.h: Likewise.
19538         * include/sys/stat.h: Likewise.
19539         * include/unistd.h: Likewise.
19540         * sysdeps/aarch64/setjmp.S: Likewise.
19541         * sysdeps/alpha/setjmp.S: Likewise.
19542         * sysdeps/arm/__longjmp.S: Likewise.
19543         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19544         * sysdeps/arm/setjmp.S: Likewise.
19545         * sysdeps/arm/sysdep.h: Likewise.
19546         * sysdeps/generic/_itoa.h: Likewise.
19547         * sysdeps/generic/dl-sysdep.h: Likewise.
19548         * sysdeps/generic/ldsodefs.h: Likewise.
19549         * sysdeps/i386/dl-tls.h: Likewise.
19550         * sysdeps/i386/setjmp.S: Likewise.
19551         * sysdeps/m68k/setjmp.c: Likewise.
19552         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19553         * sysdeps/mach/hurd/opendir.c: Likewise.
19554         * sysdeps/posix/getcwd.c: Likewise.
19555         * sysdeps/posix/opendir.c: Likewise.
19556         * sysdeps/posix/profil.c: Likewise.
19557         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19560         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19561         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19562         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19563         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19564         * sysdeps/s390/dl-tls.h: Likewise.
19565         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19566         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19567         * sysdeps/sh/sh3/setjmp.S: Likewise.
19568         * sysdeps/sh/sh4/setjmp.S: Likewise.
19569         * sysdeps/unix/alpha/sysdep.h: Likewise.
19570         * sysdeps/unix/arm/sysdep.S: Likewise.
19571         * sysdeps/unix/i386/sysdep.S: Likewise.
19572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19573         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19574         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19575         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19577         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19578         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19579         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19580         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19581         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19582         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19583         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19584         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19587         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19592         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19595         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19596         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19597         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19600         * sysdeps/x86_64/setjmp.S: Likewise.
19602         * include/math.h: Use IS_IN instead of IS_IN_libm.
19603         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19604         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19606         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19607         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19608         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19609         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19610         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19612         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19613         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19614         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19615         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19616         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19617         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19618         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19619         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19620         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19621         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19622         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19623         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19624         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19625         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19626         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19627         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19628         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19629         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19630         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19631         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19632         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19633         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19634         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19635         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19637         Likewise.
19638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19639         Likewise.
19640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19641         Likewise.
19642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19643         Likewise.
19644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19645         Likewise.
19646         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19647         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19648         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19649         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19650         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19651         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19657         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19658         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19659         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19660         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19661         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19662         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19663         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19664         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19665         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19666         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19667         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19670         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19672         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19674         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19675         * nptl/pthreadP.h: Likewise.
19676         * nptl_db/structs.def: Likewise.
19677         * sysdeps/arm/sysdep.h: Likewise.
19678         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19679         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19680         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19681         * sysdeps/unix/alpha/sysdep.h: Likewise.
19682         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19683         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19684         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19685         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19686         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19687         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19689         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19690         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19691         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19692         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19693         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19694         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19695         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19700         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19703         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19704         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19705         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19706         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19707         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19709         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19710         * nptl/pthreadP.h: Likewise.
19711         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19712         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19713         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19714         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19715         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19717         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19718         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19719         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19720         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19721         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19722         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19724         Likewise.
19725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19726         Likewise.
19727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19729         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19730         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19732         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19733         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19734         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19736         * dlfcn/dladdr.c: Use IS_IN.
19737         * dlfcn/dladdr1.c: Likewise.
19738         * dlfcn/dlclose.c: Likewise.
19739         * dlfcn/dlerror.c: Likewise.
19740         * dlfcn/dlinfo.c: Likewise.
19741         * dlfcn/dlmopen.c: Likewise.
19742         * dlfcn/dlopen.c: Likewise.
19743         * dlfcn/dlsym.c: Likewise.
19744         * dlfcn/dlvsym.c: Likewise.
19746         * include/ifaddrs.h: Use IS_IN.
19747         * inet/check_pf.c: Likewise.
19748         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19749         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19751         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19752         IS_IN_ldconfig.
19753         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19754         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19756         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19757         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19758         IS_IN (libc).
19760         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19762         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19763         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19764         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19765         * include/libc-symbols.h (IS_IN_LIB): New macro.
19766         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19767         * include/netdb.h: Likewise.
19768         * include/stap-probe.h: Remove all uses of IN_LIB.
19770         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19771         instead of IN_MODULE.
19772         * include/libc-symbols.h (IN_MODULE): Define using
19773         MODULE_NAME.
19774         (PASTE_NAME, PASTE_NAME1): New macros.
19775         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19776         of IN_LIB.
19777         (STAP_PROBE_ASM): Likewise.
19779 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19781         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19782         __mach_init in dlopened libc.
19784 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19786         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19787         * sysdeps/arm/preconfigure: Regenerate.
19789 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19791         * nptl/pthread_create.c (__pthread_create_2_1): Set
19792         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19793         when copying values from IATTR into PD.
19795 2014-11-21  Will Newton  <will.newton@linaro.org>
19796             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19798         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19799         Refactor inline-asm.  Also add comment.
19801         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19802         ElfW macro instead of hardcoded Elf64 types.
19803         (la_aarch64_gnu_pltenter): Likewise.
19804         * sysdeps/aarch64/dl-machine.h
19805         (elf_machine_runtime_setup): Use ElfW(Addr).
19807         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19808         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19809         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19810         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19811         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19812         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19813         (R_AARCH64_TLS_DTPMOD): This.
19814         (R_AARCH64_TLS_DTPREL64): Rename to ...
19815         (R_AARCH64_TLS_DTPREL): This.
19816         (R_AARCH64_TLS_TPREL64): Rename to ...
19817         (R_AARCH64_TLS_TPREL): This.
19818         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19819         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19820         R_AARCH64_TLS_TPREL64.
19821         (elf_machine_rela): Likewise.
19823 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19825         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19826         by setting it to 0.  64b atomics are not supported currently.
19828 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19830         [BZ #16469]
19831         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19832         search domain names.
19834 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19836         [BZ #16469]
19837         * NEWS: Update.
19838         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19839         trailing dot.
19840         * posix/tst-getaddrinfo5.c: New.
19841         * posix/Makefile (tests): Add it.
19843 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19845         [BZ #14498]
19846         * NEWS: Fixed.
19847         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19848         after parsing line but before break_if_match.
19849         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19850         if there is a protocol mismatch.
19852 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19854         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19855         because the potential race is on the user-supplied stream.
19857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19859         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19860         string literal if not passed a buffer.
19861         * manual/job.texi (ctermid): Update reasoning, note deviation
19862         from posix, suggest mtasurace when not passed a buffer, for
19863         future non-preliminary safety notes.
19865 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19867         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19868         of not passing it a buffer.
19869         Reported by Peng Haitao.
19871 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19873         * manual/Makefile ($(objpfx)stamp-summary): Require
19874         check-safety.sh to pass.
19875         * manual/check-safety.sh: Wish for verification that every
19876         @deftypefn and @deftypefun is followed by a @safety remark.
19878 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19880         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19882         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19883         PTHREAD_CANCEL_ASYNCHRONOUS.
19884         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19885         send SIGCANCEL.
19887         * nptl/default-sched.h: New file.
19888         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19889         * nptl/pthread_create.c: Include it.
19890         (__pthread_create_2_1): Use collect_default_sched instead of making
19891         Linux syscalls here directly.
19893 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19895         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19896         __pthread_once): Use C11 atomics.
19898 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19900         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19902 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19904         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19905         atomic_thread_fence_acquire, atomic_thread_fence_release,
19906         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19907         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19908         atomic_compare_exchange_weak_relaxed,
19909         atomic_compare_exchange_weak_acquire,
19910         atomic_compare_exchange_weak_release,
19911         atomic_exchange_acquire, atomic_exchange_release,
19912         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19913         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19914         atomic_fetch_and_acquire,
19915         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19917 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19919         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19920         USE_ATOMIC_COMPILER_BUILTINS): Define.
19921         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19923         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19925         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19927         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19929         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19931         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19933         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19935         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19937         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19939         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19941         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19943         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19945         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19947         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19949         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19951         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19953         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19955         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19956         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19957         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19959         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19962 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19964         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19965         the sched_priority value here.  It was already checked when the user
19966         called pthread_attr_setschedparam.
19968         * nptl/tst-bad-schedattr.c: New file.
19969         * nptl/Makefile (tests): Add it.
19971 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19972             Florian Weimer  <fweimer@redhat.com>
19973             Joseph Myers  <joseph@codesourcery.com>
19974             Adam Conrad  <adconrad@0c3.net>
19975             Andreas Schwab  <schwab@suse.de>
19976             Brooks  <bmoses@google.com>
19978         [BZ #17625]
19979         * wordexp-test.c (__dso_handle): Add prototype.
19980         (__register_atfork): Likewise.
19981         (__app_register_atfork): New function.
19982         (registered_forks): New global.
19983         (register_fork): New function.
19984         (test_case): Add 3 new tests for WRDE_CMDSUB.
19985         (main): Call __app_register_atfork.
19986         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19987         fork count is non-zero fail the test.
19988         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19989         is set.
19990         (parse_dollars): Remove check for WRDE_NOCMD.
19991         (parse_dquote): Likewise.
19993 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19995         * Makeconfig (built-modules): List non-library modules to be
19996         built.
19997         (module-cppflags): Include libc-modules.h for
19998         everything except shlib-versions.v.i.
19999         (CPPFLAGS): Use it.
20000         (before-compile): Add libc-modules.h.
20001         ($(common-objpfx)libc-modules.h,
20002         $(common-objpfx)libc-modules.stmp): New targets.
20003         (common-generated): Add libc-modules.h and libc-modules.stmp.
20004         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20005         * include/libc-symbols.h: Don't include libc-modules.h.
20006         * include/libc-modules.h: Remove file.
20007         * scripts/gen-libc-modules.awk: New script to generate
20008         libc-modules.h.
20009         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20010         Depend on libc-modules.stmp.
20012         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20014         * Makeconfig (in-module): Get value of libof set for the
20015         translation unit.
20016         (CPPFLAGS): Use $(in-module).
20017         * Makerules: Don't suffix routine names for nonlib.
20018         * include/libc-modules.h: New file.
20019         * include/libc-symbols.h: Include libc-modules.h
20020         (IS_IN): New macro to replace IS_IN_* macros.
20021         * elf/Makefile: Set libof-* for each routine.
20022         * elf/rtld-Rules: Likewise.
20023         * extra-modules.mk: Likewise.
20024         * iconv/Makefile: Likewise.
20025         * iconvdata/Makefile: Likewise.
20026         * locale/Makefile: Likewise.
20027         * malloc/Makefile: Likewise.
20028         * nss/Makefile: Likewise.
20029         * sysdeps/gnu/Makefile: Likewise.
20030         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20031         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20032         * sysdeps/s390/s390-64/Makefile: Likewise.
20033         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20034         CPPFLAGS for nscd instead of nonlib.
20036 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20038         * nptl/createthread.c: New file.
20040         * nptl/createthread.c: Moved ...
20041         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20043         * nptl/createthread.c: Add proper top-line comment.
20044         (do_clone): Folded into ...
20045         (create_thread): ... here.  Take new arguments STOPPED_START and
20046         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20047         increment __nptl_threads, do event-reporting logic, do
20048         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20049         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20050         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20051         just send SIGCANCEL.
20052         * nptl/pthread_create.c: Forward-declare create_thread before
20053         including createthread.c.
20054         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20055         declaration, and new macro START_THREAD_SELF to replace argument.
20056         Remove return statement.
20057         (report_thread_creation): New function.
20058         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20059         synchronization logic, and __nptl_nthreads increment here, around
20060         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20061         PD->parent_cancelhandling here, before create_thread.  When
20062         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20063         __deallocate_stack, and ENOMEM translation here.
20065 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20067         [BZ #17616]
20068         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20069         (mptwo): Rename to __mptwo.
20070         (__inv): Use __mptwo instead of mptwo.
20071         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20072         (mptwo): Rename to __mptwo.
20073         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20074         of mpone and __mptwo instead of mptwo.
20075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20076         instead of mpone.
20077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20078         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20079         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20080         of mpone and __mptwo instead of mptwo.
20081         (__mpranred): Use __mpone instead of mpone.
20082         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20083         variable.
20084         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20085         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20086         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20087         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20088         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20089         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20090         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20091         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20092         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20093         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20094         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20095         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20096         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20097         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20098         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20099         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20100         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20101         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20102         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20104 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20106         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20107         replace BSD Handler xref with BSD Signal Handling.
20109 2014-11-17  Richard Henderson  <rth@redhat.com>
20111         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20112         (_FP_PACK_RAW_2): Remove.
20113         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20114         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20115         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20116         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20117         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20118         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20119         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20120         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20121         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20122         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20123         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20124         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20125         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20126         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20127         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20128         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20130 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20132         * signal/signal.h [__USE_MISC]
20133         (struct sigvec): Remove type.
20134         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20135         (sigvec): Remove declaration.
20136         * sysdeps/posix/sigvec.c: Moved ...
20137         * signal/sigvec.c: ... here, replacing old file.
20138         (struct sigvec): New type, copied from old signal.h definition.
20139         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20140         (__sigvec): Convert definition to prototype.
20141         (sigvec): Replace weak_alias with compat_symbol.
20142         * signal/Versions (libc: GLIBC_2.21): New version set.
20143         * include/signal.h: Remove __sigvec declaration.
20144         * sysdeps/unix/bsd/sigvec.c: Remove file.
20145         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20146         * manual/signal.texi (BSD Handler): Remove subsection.
20147         Move siginterrupt up to ...
20148         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20149         (Blocking in BSD): Fold subsection into its parent.
20150         * NEWS: Mention sigvec removal.
20152 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20154         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20155         (DLA_FMS): Make definition conditional only on [__FMA4__].
20156         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20157         definition.
20159         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20160         Make definition conditional only on [PROF].
20161         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20162         definition.
20163         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20164         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20166         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20167         !__GNUC__].
20168         * include/signal.h (__sigpause): Move declaration above call to
20169         libc_hidden_proto.
20170         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20171         variable.
20172         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20173         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20175 2014-11-14  David S. Miller  <davem@davemloft.net>
20177         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20178         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20180 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20182         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20183         * configure: Regenerated.
20184         * manual/install.texi (Tools for Compilation): Document a
20185         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20186         compiler verified to work.
20187         * INSTALL: Regenerated.
20189         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20190         redeclare with asm name.
20191         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20192         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20193         including <string.h>.
20194         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20196         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20197         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20198         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20200         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20202 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20204         * stdlib/strtol.c (__strtol): Use prototype definition.
20206         [BZ #17594]
20207         * stdlib/strtol.c (SYM__): New macro.
20208         (SYM__1): Likewise.
20209         (__strtol): Likewise.
20210         (strtol): Rename to __strtol and define as weak alias of
20211         __strtol.  Use libc_hidden_weak.
20213 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20215         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20216         Use numbered labels in inline assembly.
20218 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20220         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20221         Add setjmp LIBC_PROBE.
20222         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20223         Likewise.
20224         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20225         Add longjmp, longjmp_target LIBC_PROBE.
20226         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20227         Likewise.
20229 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20231         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20232         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20233         to get rid of unused variable warning.
20235 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20237         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20238         Check for unwind_backtrace ==  NULL only in SHARED case.
20239         (__backchain_backtrace): Compile only in SHARED case.
20240         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20241         Likewise.
20242         (__backchain_backtrace): Declare as static.
20244 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20246         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20247         (__libc_multiple_threads_ptr): Variable moved ...
20248         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20250 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20252         * conform/GlibcConform.pm: New file.
20253         * conform/conformtest.pl: Use GlibcConform module.
20254         * conform/linknamespace.pl: New file.
20255         * conform/list-header-symbols.pl: Likewise.
20256         * conform/Makefile (linknamespace-symlists-base): New variable.
20257         (linknamespace-symlists-tests): Likewise.
20258         (linknamespace-header-base): Likewise.
20259         (linknamespace-header-tests): Likewise.
20260         (tests-special): Add new tests.
20261         ($(linknamespace-symlists-tests)): New rule.
20262         (linknamespace-libs): New variable.
20263         ($(objpfx)symlist-stdlibs): New rule.
20264         ($(linknamespace-header-tests)): Likewise.
20265         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20266         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20267         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20268         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20269         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20270         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20271         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20272         (test-xfail-ISO/math.h/linknamespace): Likewise.
20273         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20274         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20275         (test-xfail-ISO/time.h/linknamespace): Likewise.
20276         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20277         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20278         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20279         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20280         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20281         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20282         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20283         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20284         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20285         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20286         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20287         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20288         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20289         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20290         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20291         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20292         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20293         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20294         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20295         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20296         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20297         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20298         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20299         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20300         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20301         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20302         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20303         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20304         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20305         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20306         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20307         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20308         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20309         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20310         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20311         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20312         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20313         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20314         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20315         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20316         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20317         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20318         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20319         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20320         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20321         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20322         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20323         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20324         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20325         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20326         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20327         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20328         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20329         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20330         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20331         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20332         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20333         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20334         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20335         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20336         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20337         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20338         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20339         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20340         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20341         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20342         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20343         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20344         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20345         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20346         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20347         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20348         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20349         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20350         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20351         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20352         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20353         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20354         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20355         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20356         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20357         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20358         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20359         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20360         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20361         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20362         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20363         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20364         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20365         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20366         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20367         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20368         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20369         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20370         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20371         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20372         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20373         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20374         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20375         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20376         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20377         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20378         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20379         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20380         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20381         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20382         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20383         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20384         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20385         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20386         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20387         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20388         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20389         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20390         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20391         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20392         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20393         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20394         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20395         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20396         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20397         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20398         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20399         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20400         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20401         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20402         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20403         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20404         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20405         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20406         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20407         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20408         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20409         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20410         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20411         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20412         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20413         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20414         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20415         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20416         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20417         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20418         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20419         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20420         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20421         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20422         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20423         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20424         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20425         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20427         [BZ #17589]
20428         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20429         of fgets_unlocked.
20431         [BZ #17585]
20432         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20433         (memmem): Rename to __memmem and define as weak alias of
20434         __memmem.  Use libc_hidden_weak.
20435         (__memmem): Use libc_hidden_def.
20436         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20437         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20438         memmem.
20440         [BZ #17582]
20441         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20442         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20443         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20444         and define as weak alias of __fgets_unlocked.  Use
20445         libc_hidden_weak.
20446         (__fgets_unlocked): Use libc_hidden_def.
20447         * include/stdio.h (__fgets_unlocked): Declare.  Use
20448         libc_hidden_proto.
20449         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20450         __fgets_unlocked instead of fgets_unlocked.
20451         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20452         (GET_NPROCS_CONF_PARSER): Likewise.
20453         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20454         (GET_NPROCS_CONF_PARSER): Likewise.
20456         [BZ #17574]
20457         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20458         weak alias of __wmemset.  Use libc_hidden_weak.
20459         (__wmemset): Use libc_hidden_def.
20460         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20461         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20462         of wmemset.
20464         [BZ #17573]
20465         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20466         with asm name __mempcpy.
20467         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20469         [BZ #17572]
20470         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20471         and define as weak alias of __rawmemchr.
20472         (__rawmemchr): Do not define as strong alias of rawmemchr.
20474         [BZ #17571]
20475         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20476         alias of __qsort_r.
20477         (qsort): Call __qsort_r instead of qsort_r.
20478         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20479         (__qsort_r): Declare.  Call libc_hidden_proto.
20480         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20481         instead of qsort_r.
20482         * nscd/gai.c (__qsort_r): Define to qsort_r.
20483         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20484         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20485         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20487         [BZ #17570]
20488         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20489         define as weak alias of __malloc_info.
20491         [BZ #17584]
20492         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20493         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20494         (__rewinddir): Use libc_hidden_def.
20495         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20496         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20497         (__rewinddir): Use libc_hidden_def.
20498         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20499         weak alias of __rewinddir.  Don't use libc_hidden_def.
20500         (__rewinddir): Use libc_hidden_def.
20501         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20502         (__rewinddir): Use libc_hidden_proto.
20503         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20504         rewinddir.
20505         (__getcwd): Use __rewinddir instead of rewinddir.
20507         [BZ #17583]
20508         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20509         alias of __fileno.  Use libc_hidden_weak.
20510         (__fileno): Use libc_hidden_def.
20511         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20512         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20513         alias of __ftello.
20514         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20515         __ftello.
20516         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20517         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20518         libc_hidden_def.
20519         (fread_unlocked): Don't use libc_hidden_ver.
20520         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20521         and define as weak alias of __fread_unlocked.  Don't use
20522         libc_hidden_def.
20523         (__fread_unlocked): Use libc_hidden_def.
20524         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20525         (ftello): Don't use libc_hidden_proto.
20526         (__ftello): Declare.  Use libc_hidden_proto.
20527         (fread_unlocked): Don't use libc_hidden_proto.
20528         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20529         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20530         and __ftello instead of fileno, fread_unlocked and ftello.
20532 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20534         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20535         GOT12.
20536         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20537         Likewise.
20538         (_dl_start_user): Likewise.
20539         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20541 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20542             Siddhesh Poyarekar  <siddhesh@redhat.com>
20544         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20545         Move argv and envp down instead of moving argc up.
20546         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20548 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20550         [BZ #17506]
20551         * test-skeleton.c (main): Return successful if one of
20552         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20553         * string/tst-strcoll-overflow.c: Define expected status.
20555 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20557         [BZ #17475]
20558         * locale/iso-639.def: Define Bhili and Tulu language codes.
20560 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20562         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20564 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20566         [BZ #17555]
20567         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20569 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20571         * configure.ac: Updated check of minimal required version to
20572         2.22.
20573         * manual/install.texi (Tools for Compilation): Updated version
20574         number.
20575         * configure: Regenerated.
20576         * INSTALL: Likewise.
20578 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20580         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20581         __tls_get_addr.
20583 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20585         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20586         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20587         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20588         libc_hidden_weak.
20589         (waitpid): Define as alias of __waitpid.
20590         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20591         __waitpid.
20592         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20593         libc_hidden_weak.
20594         (waitpid): Define as alias of __waitpid.
20595         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20596         __libc_waitpid alias.
20597         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20598         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20599         Likewise.
20600         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20601         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20602         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20603         alias.
20604         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20605         __waitpid.
20606         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20607         libc_hidden_weak.
20608         (waitpid): Define as alias of __waitpid.
20610 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20612         * manual/llio.texi: Add comment that write safety has been
20613         fixed in Linux.
20615         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20616         (localplt-build-dso): Add elf/ld.so.
20617         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20618         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20619         and free for ld.so.
20620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20621         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20623         Likewise.
20624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20625         Likewise.
20626         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20627         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20628         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20629         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20630         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20631         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20632         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20633         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20634         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20636         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20638 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20640         [BZ #14132]
20641         * include/libc-symbols.h (INTUSE): Remove macro.
20642         (INTDEF): Likewise.
20643         (INTVARDEF): Likewise.
20644         (_INTVARDEF): Likewise.
20645         (INTDEF2): Likewise.
20646         (INTVARDEF2): Likewise.
20647         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20648         rtld_hidden_def instead of INTVARDEF.
20649         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20650         (_dl_starting_up_internal): Remove declaration.
20651         (_dl_starting_up): Use rtld_hidden_proto.
20652         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20653         declaration.
20654         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20655         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20656         _dl_starting_up.
20657         * elf/dl-writev.h (_dl_writev): Likewise.
20658         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20659         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20660         _dl_starting_up_internal.
20662 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20664         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20665         test-skeleton.c.
20667 2014-11-05  Will Newton  <will.newton@linaro.org>
20669         * benchtests/Makefile: (bench-malloc): Add malloc thread
20670         scalability benchmark.
20671         * benchtests/bench-malloc-threads.c: New file.
20673 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20675         * sysdeps/aarch64/strchrnul.S: New file.
20677 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20679         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20680         definition.
20681         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20682         Likwise.
20683         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20684         Likewise.
20685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20686         Likewise.
20687         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20688         Likewise.
20689         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20690         Likewise.
20692 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20694         * catgets/test-gencat.c: Use test-skeleton.c.
20695         * catgets/tst-catgets.c: Likewise.
20696         * csu/tst-empty.c: Likewise.
20697         * elf/tst-audit2.c: Likewise.
20698         * elf/tst-global1.c: Likewise.
20699         * elf/tst-pathopt.c: Likewise.
20700         * elf/tst-piemod1.c: Likewise.
20701         * elf/tst-tls10.c: Likewise.
20702         * elf/tst-tls11.c: Likewise.
20703         * elf/tst-tls12.c: Likewise.
20704         * gnulib/tst-gcc.c: Likewise.
20705         * iconvdata/tst-e2big.c: Likewise.
20706         * iconvdata/tst-loading.c: Likewise.
20707         * iconv/tst-iconv1.c: Likewise.
20708         * iconv/tst-iconv2.c: Likewise.
20709         * inet/test-inet6_opt.c: Likewise.
20710         * inet/tst-gethnm.c: Likewise.
20711         * inet/tst-network.c: Likewise.
20712         * inet/tst-ntoa.c: Likewise.
20713         * intl/tst-codeset.c: Likewise.
20714         * intl/tst-gettext2.c: Likewise.
20715         * intl/tst-gettext3.c: Likewise.
20716         * intl/tst-ngettext.c: Likewise.
20717         * intl/tst-translit.c: Likewise.
20718         * io/test-stat.c: Likewise.
20719         * libio/test-fmemopen.c: Likewise.
20720         * libio/tst-freopen.c: Likewise.
20721         * libio/tst-sscanf.c: Likewise.
20722         * libio/tst-ungetwc1.c: Likewise.
20723         * libio/tst-ungetwc2.c: Likewise.
20724         * libio/tst-widetext.c: Likewise.
20725         * localedata/tst-ctype.c: Likewise.
20726         * localedata/tst-digits.c: Likewise.
20727         * localedata/tst-leaks.c: Likewise.
20728         * localedata/tst-mbswcs1.c: Likewise.
20729         * localedata/tst-mbswcs2.c: Likewise.
20730         * localedata/tst-mbswcs3.c: Likewise.
20731         * localedata/tst-mbswcs4.c: Likewise.
20732         * localedata/tst-mbswcs5.c: Likewise.
20733         * localedata/tst-setlocale.c: Likewise.
20734         * localedata/tst-trans.c: Likewise.
20735         * localedata/tst-wctype.c: Likewise.
20736         * localedata/tst-xlocale1.c: Likewise.
20737         * login/tst-grantpt.c: Likewise.
20738         * malloc/tst-calloc.c: Likewise.
20739         * malloc/tst-malloc.c: Likewise.
20740         * malloc/tst-mallocstate.c: Likewise.
20741         * malloc/tst-mcheck.c: Likewise.
20742         * malloc/tst-mtrace.c: Likewise.
20743         * malloc/tst-obstack.c: Likewise.
20744         * math/atest-exp2.c: Likewise.
20745         * math/atest-exp.c: Likewise.
20746         * math/atest-sincos.c: Likewise.
20747         * math/test-matherr.c: Likewise.
20748         * math/test-misc.c: Likewise.
20749         * math/test-powl.c: Likewise.
20750         * math/tst-definitions.c: Likewise.
20751         * misc/tst-dirname.c: Likewise.
20752         * misc/tst-efgcvt.c: Likewise.
20753         * misc/tst-fdset.c: Likewise.
20754         * misc/tst-hsearch.c: Likewise.
20755         * misc/tst-mntent2.c: Likewise.
20756         * nptl/tst-sem7.c: Likewise.
20757         * nptl/tst-sem8.c: Likewise.
20758         * nptl/tst-sem9.c: Likewise.
20759         * nss/test-netdb.c: Likewise.
20760         * posix/tst-fnmatch.c: Likewise.
20761         * posix/tst-getlogin.c: Likewise.
20762         * posix/tst-gnuglob.c: Likewise.
20763         * posix/tst-mmap.c: Likewise.
20764         * pwd/tst-getpw.c: Likewise.
20765         * resolv/tst-inet_ntop.c: Likewise.
20766         * rt/tst-timer.c: Likewise.
20767         * stdio-common/test-fseek.c: Likewise.
20768         * stdio-common/test-popen.c: Likewise.
20769         * stdio-common/test-vfprintf.c: Likewise.
20770         * stdio-common/tst-cookie.c: Likewise.
20771         * stdio-common/tst-fileno.c: Likewise.
20772         * stdio-common/tst-gets.c: Likewise.
20773         * stdio-common/tst-obprintf.c: Likewise.
20774         * stdio-common/tst-perror.c: Likewise.
20775         * stdio-common/tst-sprintf2.c: Likewise.
20776         * stdio-common/tst-sprintf3.c: Likewise.
20777         * stdio-common/tst-sprintf.c: Likewise.
20778         * stdio-common/tst-swprintf.c: Likewise.
20779         * stdio-common/tst-tmpnam.c: Likewise.
20780         * stdio-common/tst-unbputc.c: Likewise.
20781         * stdio-common/tst-wc-printf.c: Likewise.
20782         * stdlib/tst-environ.c: Likewise.
20783         * stdlib/tst-fmtmsg.c: Likewise.
20784         * stdlib/tst-limits.c: Likewise.
20785         * stdlib/tst-rand48-2.c: Likewise.
20786         * stdlib/tst-rand48.c: Likewise.
20787         * stdlib/tst-random2.c: Likewise.
20788         * stdlib/tst-random.c: Likewise.
20789         * stdlib/tst-strtol.c: Likewise.
20790         * stdlib/tst-strtoll.c: Likewise.
20791         * stdlib/tst-tls-atexit.c: Likewise.
20792         * stdlib/tst-xpg-basename.c: Likewise.
20793         * string/test-ffs.c: Likewise.
20794         * string/tst-bswap.c: Likewise.
20795         * string/tst-inlcall.c: Likewise.
20796         * string/tst-strtok.c: Likewise.
20797         * string/tst-strxfrm.c: Likewise.
20798         * sysdeps/x86_64/tst-audit10.c: Likewise.
20799         * sysdeps/x86_64/tst-audit3.c: Likewise.
20800         * sysdeps/x86_64/tst-audit4.c: Likewise.
20801         * sysdeps/x86_64/tst-audit5.c: Likewise.
20802         * time/tst-ftime_l.c: Likewise.
20803         * time/tst-getdate.c: Likewise.
20804         * time/tst-mktime3.c: Likewise.
20805         * time/tst-mktime.c: Likewise.
20806         * time/tst-posixtz.c: Likewise.
20807         * time/tst-strptime2.c: Likewise.
20808         * time/tst-strptime3.c: Likewise.
20809         * wcsmbs/tst-btowc.c: Likewise.
20810         * wcsmbs/tst-mbrtowc.c: Likewise.
20811         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20812         * wcsmbs/tst-wchar-h.c: Likewise.
20813         * wcsmbs/tst-wcpncpy.c: Likewise.
20814         * wcsmbs/tst-wcrtomb.c: Likewise.
20815         * wcsmbs/tst-wcsnlen.c: Likewise.
20816         * wcsmbs/tst-wcstof.c: Likewise.
20818 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20820         [BZ #14132]
20821         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20822         INTDEF.
20823         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20824         declaration.
20825         (_dl_mcount): Use rtld_hidden_proto.
20826         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20827         _dl_mcount.
20828         * elf/rtld.c (_rtld_global_ro): Likewise.
20830         [BZ #14132]
20831         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20832         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20833         of _dl_init_internal.
20834         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20835         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20836         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20837         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20838         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20839         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20840         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20841         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20842         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20843         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20844         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20845         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20846         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20847         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20848         * sysdeps/tile/dl-start.S (_start): Likewise.
20849         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20850         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20852         [BZ #14132]
20853         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20854         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20855         (rtld_progname): Make macro definition unconditional.
20856         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20857         INTDEF.
20858         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20859         (dl_main): Likewise.
20860         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20861         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20862         instead of _dl_argv_internal.
20863         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20864         __GI__dl_argv instead of INTUSE(_dl_argv).
20865         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20866         __GI__dl_argv instead of _dl_argv_internal.
20868         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20869         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20870         macro.
20871         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20872         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20873         New macro.
20874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20875         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20876         macro.
20877         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20878         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20880 2014-11-04  Andreas Schwab  <schwab@suse.de>
20882         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20884 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20887         mtvsrd instruction in binary form.
20889 2014-11-03  Andreas Schwab  <schwab@suse.de>
20891         [BZ #17522]
20892         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20893         for less than MB_LEN_MAX use a local buffer of that size.
20894         * libio/tst-fputws.c: New file.
20895         * libio/Makefile (tests): Add tst-fputws.
20897 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20899         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20900         the size of the fpu_fr.fpu_dregs[] array.
20902 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20904         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20905         (__nanosleep): Do not define as alias.
20906         (nanosleep): Define as alias of __nanosleep.
20907         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20908         __libc_nanosleep name.
20910 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20912         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20913         install.texi in comment.
20915 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20917         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20918         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20919         ... add here and use lwsync or sync ...
20920         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20921         ... and add here using lwsync.
20923 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20925         * elf/dl-machine-reject-phdr.h: New file.
20926         * elf/dl-load.c: #include that.
20927         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20928         if that returned true.
20930 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20932         [BZ #17496]
20933         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20934         gen-as-const-headers chunk.  Add a big scare comment after the last
20935         safe place to touch before-compile.
20937 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20939         * manual/install.texi (Tools for Compilation): Update autoconf
20940         version requirements.
20941         * INSTALL: Regenerated.
20943         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20944         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20945         (__libc_pselect): Likewise.
20947         [BZ #14138]
20948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20953 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20955         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20956         correct barrier instruction.
20957         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20958         Likewise.
20959         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20960         Likewise.
20962 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20964         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20965         after defining inlines.  Instead, just use parens to defeat macro
20966         expansion of __isctype in its declaration.
20968 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20970         * include/sys/uio.h (__libc_readv): Remove declaration.
20971         (__libc_writev): Likewise.
20972         * misc/readv.c (__libc_readv): Rename to __readv.
20973         (__readv): Do not define as alias.
20974         (readv): Define as alias of __readv.
20975         * misc/writev.c (__libc_writev): Rename to __writev.
20976         (__writev): Do not define as alias.
20977         (writev): Define as alias of __writev.
20978         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20979         (__readv): Do not define as alias.
20980         (readv): Define unconditionally as alias of __readv.
20981         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20982         (__writev): Do not define as alias.
20983         (writev): Define unconditionally as alias of __writev.
20984         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20985         name.
20986         (writev): Do not define __libc_writev name.
20988 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20990         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20991         (convert_charseq): New function, broken out of ...
20992         (use_from_charmap): ... here.  Call it.
20993         (use_to_charmap): Use convert_charseq and free instead of duplicating
20994         its code with a variable-length stack struct.
20996 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20998         * include/fcntl.h (__libc_creat): Remove declaration.
20999         * io/creat.c (__libc_creat): Rename to creat.
21000         (creat): Do not define as alias.
21001         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21002         of creat instead of __libc_creat.
21003         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21004         to creat.
21005         (creat): Do not define as alias.
21006         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21007         __libc_creat.
21008         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21009         __libc_creat name.
21010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21011         Likewise.
21013 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21015         * manual/llio.texi: Add comments discussing why write() may be
21016         considered MT-unsafe on Linux.
21018 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21020         * dl-load.c (local_strdup): Remove.
21021         (expand_dynamic_string_token): Use __strdup.
21022         (decompose_rpath): Likewise.
21023         (_dl_map_object): Likewise.
21025 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #14132]
21028         * sysdeps/generic/unwind-dw2-fde.c
21029         (__register_frame_info_bases_internal): Do not declare.
21030         (__register_frame_info_table_bases_internal): Likewise.
21031         (__deregister_frame_info_bases_internal): Likewise.
21032         (__register_frame_info_bases): Declare and use hidden_proto before
21033         definition.  Use hidden_def instead of INTDEF.
21034         (__register_frame_info_table_bases): Likewise.
21035         (__deregister_frame_info_bases): Likewise.
21036         (__register_frame_info): Do not use INTUSE.
21037         (__register_frame): Likewise.
21038         (__register_frame_info_table): Likewise.
21039         (__register_frame_table): Likewise.
21040         (__deregister_frame_info): Likewise.
21041         (__deregister_frame): Likewise.
21043 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21046         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21047         not undefine.
21048         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21049         Likewise.
21050         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21051         Likewise.
21053 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21055         [BZ #14138]
21056         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21057         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21058         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21059         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21060         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21061         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21062         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21063         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21064         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21065         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21066         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21067         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21068         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21069         syscall.
21070         (setfsuid): Likewise.
21071         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21072         (setfsuid): Likewise.
21073         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21074         (setfsuid): Likewise.
21075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21076         Likewise.
21077         (setfsuid): Likewise.
21078         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21079         (setfsuid): Likewise.
21080         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21081         Likewise.
21082         (setfsuid): Likewise.
21084 2014-10-27  Andreas Schwab  <schwab@suse.de>
21086         [BZ #17501]
21087         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21088         check for Slow_SSE4_2 feature bit.
21089         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21090         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21091         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21092         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21094 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21096         * configure.ac: Validate compiler version with a empirical test of
21097         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21098         $CC -v output.
21099         * configure: Regenerated.
21101         * inet/htons.c (htons): Prototypify.
21102         * inet/htonl.c (htonl): Likewise.
21104 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21106         * string/strncat.c (strncat): Improve performance by using strlen.
21108 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21110         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21112 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21114         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21115         Call libc_fetestexcept_aarch64.
21117 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21119         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21120         Call libc_feholdexcept_aarch64.
21122 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21124         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21125         Call get_rounding_mode.
21127 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21129         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21130         Simplify logic.
21132 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21134         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21135         Simplify logic.
21137 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #14138]
21140         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21141         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21142         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21143         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21144         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21145         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21146         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21147         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21148         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21149         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21150         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21151         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21152         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21153         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21154         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21155         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21156         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21157         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21158         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21159         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21160         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21161         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21162         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21163         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21164         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21165         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21166         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21167         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21168         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21169         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21170         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21171         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21172         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21173         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21174         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21175         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21176         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21177         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21178         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21179         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21180         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21181         syscall.
21182         (geteuid): Likewise.
21183         (getgid): Likewise.
21184         (getuid): Likewise.
21185         (getresgid): Likewise.
21186         (getresuid): Likewise.
21187         (getgroups): Likewise.
21188         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21189         (geteuid): Likewise.
21190         (getgid): Likewise.
21191         (getuid): Likewise.
21192         (getresgid): Likewise.
21193         (getresuid): Likewise.
21194         (getgroups): Likewise.
21195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21196         (geteuid): Likewise.
21197         (getgid): Likewise.
21198         (getuid): Likewise.
21199         (getresgid): Likewise.
21200         (getresuid): Likewise.
21201         (getgroups): Likewise.
21202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21203         Likewise.
21204         (geteuid): Likewise.
21205         (getgid): Likewise.
21206         (getuid): Likewise.
21207         (getresgid): Likewise.
21208         (getresuid): Likewise.
21209         (getgroups): Likewise.
21210         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21211         (geteuid): Likewise.
21212         (getgid): Likewise.
21213         (getuid): Likewise.
21214         (getresgid): Likewise.
21215         (getresuid): Likewise.
21216         (getgroups): Likewise.
21217         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21218         Likewise.
21219         (geteuid): Likewise.
21220         (getgid): Likewise.
21221         (getuid): Likewise.
21222         (getgroups): Likewise.
21224         [BZ #14138]
21225         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21226         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21227         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21228         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21229         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21230         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21231         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21232         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21233         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21234         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21235         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21236         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21237         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21238         __chown.
21239         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21240         (lchown): Likewise.
21241         (fchown): Likewise.
21242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21243         Likewise.
21244         (lchown): Likewise.
21245         (fchown): Likewise.
21246         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21247         (lchown): Likewise.
21248         (fchown): Likewise.
21249         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21250         Likewise.
21251         (lchown): Likewise.
21252         (fchown): Likewise.
21254 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21256         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21257         Simplify logic.
21259 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21261         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21262         Cleanup logic.
21264 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21266         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21267         Remove unused include.
21269 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21271         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21272         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21273         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21274         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21276 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21277             Helge Deller <deller@gmx.de>
21279         [BZ #17508]
21280         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21281         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21282         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21284 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21286         [BZ #14132]
21287         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21288         Remove macro definition.
21289         (__ashrdi3_v_glibc20): Likewise.
21290         (__lshrdi3_v_glibc20): Likewise.
21291         (__cmpdi2_v_glibc20): Likewise.
21292         (__ucmpdi2_v_glibc20): Likewise.
21293         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21294         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21295         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21296         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21297         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21298         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21300 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21302         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21303         old GNU extension [0] syntax.
21304         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21305         alloca rather than an array member with variable length.
21306         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21307         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21308         (parse_opt): ... here.  Likewise use alloca there.
21309         Validate the -i argument before checking for rootness.
21310         (send_shutdown): New function, broken out of ...
21311         (parse_opt): ... here.
21313 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21315         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21316         macro to get at the _rt_local_ro field.
21317         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21318         ([PIC] case) or _dl_hwcap ([!PIC] case).
21319         * sysdeps/arm/setjmp.S: Likewise.
21321         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21322         * sysdeps/arm/configure.ac: New check to define it.
21323         * sysdeps/arm/configure: Regenerated.
21324         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21325         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21326         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21327         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21328         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21329         Use move/movt pair instead of a load.
21330         (LDST_GLOBAL): Macro removed.
21331         (LDR_GLOBAL): New macro replaces it.
21332         (LDR_HIDDEN): New macro.
21333         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21334         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21336         * setjmp/tst-setjmp-static.c: New file.
21337         * setjmp/Makefile (tests): Add it.
21338         (tests-static): New variable.
21340 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21342         [BZ #17485]
21343         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21345 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21347         [BZ #14132]
21348         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21350 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21352         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21354 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21356         * io/fts.c (dirent_not_directory): New function.
21357         (fts_build): Call it.
21359 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21361         * nptl/version.c (__nptl_main): Use normal __write rather than
21362         INTERNAL_SYSCALL.
21363         (banner): Update copyright years.
21365         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21366         gettimeofday.
21367         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21368         * nptl/pthread_cond_timedwait.c: Likewise.
21369         * nptl/pthread_mutex_timedlock.c: Likewise.
21370         * nptl/sem_timedwait.c: Likewise.
21372         * sysdeps/nptl/bits/libc-lock.h
21373         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21374         (__libc_lock_init_recursive): Return void, not 0.
21375         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21376         (__libc_rwlock_init): Likewise.
21377         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21379 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21381         [BZ #15215]
21382         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21383         (__pthread_once_slow): ... here.
21384         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21385         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21387 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21389         [BZ #15215]
21390         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21391         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21392         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21393         * nptl/pthread_once.c (__pthread_once): Likewise.
21394         Update comments.
21396 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21398         [BZ #14138]
21399         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21400         name.
21401         (writev): Use __libc_writev as strong name.
21402         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21403         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21405 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21407         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21409         * sysdeps/i386/nptl/tls.h
21410         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21411         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21412         New macros.
21413         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21414         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21415         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21416         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21417         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21418         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21420         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21421         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21422         on [__NR_futex].
21423         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21424         broken out of ...
21425         (__pthread_mutex_init): ... here.  Call it.
21426         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21427         Conditionalize PI cases on [__NR_futex].
21428         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21429         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21430         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21432         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21433         conditional on [SIGSETXID].
21434         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21435         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21436         is defined.  Likewise for SIGSETXID.
21437         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21438         Conditionalize definitions on [SIGSETXID].
21439         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21440         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21441         unblocking on [SIGCANCEL].
21443         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21444         [__NR_set_robust_list].
21446 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21448         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21449         (do_compare): Likewise.
21451 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21453         [BZ #15884]
21454         * string/strcoll_l.c: Don't include stdio.h.
21455         (coll_seq): Remove members idxarr and rulearr.
21456         (get_next_seq_cached): Remove function.
21457         (get_next_seq): Likewise.
21458         (get_next_seq_nocache): Rename to get_next_seq.
21459         (do_compare): Remove function.
21460         (do_compare_nocache): Rename to do_compare.
21461         (STRCOLL): Remove weight and rules cache.
21463 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21465         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21466         * sysdeps/arm/sfp-machine.h: ... to here.
21467         * sysdeps/arm/Implies: Remove arm/soft-fp.
21469 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21471         * conform/data/sys/utsname.h-data (*_t): Allow.
21472         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21473         [POSIX] (WEXITED): Do not expect constant.
21474         [POSIX] (WSTOPPED): Likewise.
21475         [POSIX] (WNOHANG): Likewise.
21476         [POSIX] (WNOWAIT): Likewise.
21477         [POSIX] (siginfo_t): Do not expect type or elements.
21478         [POSIX] (pid_t): Do not expect type.
21479         [POSIX] (signal.h): Do not allow header.
21480         [POSIX] (sys/resource.h): Likewise.
21481         [POSIX] (si_*): Do not allow pattern.
21482         [POSIX] (W*): Likewise.
21483         [POSIX] (P_*): Likewise.
21484         [POSIX] (BUS_*): Likewise.
21485         [POSIX] (CLD_*): Likewise.
21486         [POSIX] (FPE_*): Likewise.
21487         [POSIX] (ILL_*): Likewise.
21488         [POSIX] (POLL_*): Likewise.
21489         [POSIX] (SEGV_*): Likewise.
21490         [POSIX] (SI_*): Likewise.
21491         [POSIX] (TRAP_*): Likewise.
21492         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21493         variable.
21495 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21497         [BZ #12926]
21498         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21499         infinite loop when __recvmsg returns 0.
21501 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21503         * CANCEL-FCT-WAIVE: Remove file.
21504         * CANCEL-FILE-WAIVE: Likewise.
21506         [BZ #14132]
21507         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21508         instead of INTVARDEF.
21509         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21510         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21511         rtld_hidden_data_def instead of INTVARDEF.
21512         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21513         * elf/dl-deps.c (expand_dst): Likewise.
21514         * elf/dl-load.c (_dl_dst_count): Likewise.
21515         (_dl_dst_substitute): Likewise.
21516         (decompose_rpath): Likewise.
21517         (_dl_init_paths): Likewise.
21518         (open_path): Likewise.
21519         (_dl_map_object): Likewise.
21520         * elf/rtld.c (dl_main): Likewise.
21521         (process_dl_audit): Likewise.
21522         (process_envvars): Likewise.
21523         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21524         Remove declaration.
21525         (__libc_enable_secure): Use rtld_hidden_proto.
21527 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21529         * elf/dl-load.c
21530         (add_path): New function broken out of _dl_rtld_di_serinfo.
21531         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21533 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21535         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21536         parentheses around macro arguments.
21537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21539         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21542         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21543         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21548         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21550         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21551         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21552         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21553         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21566         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21567         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21568         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21569         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21570         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21571         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21572         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21573         Likewise.
21574         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21576         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21580         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21581         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21582         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21583         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21584         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21585         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21586         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21593         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21595         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21597         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21598         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21599         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21600         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21601         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21602         (_FP_FRAC_SRS_1): Likewise.
21603         (_FP_FRAC_CLZ_1): Likewise.
21604         (_FP_MUL_MEAT_1_imm): Likewise.
21605         (_FP_MUL_MEAT_1_wide): Likewise.
21606         (_FP_MUL_MEAT_1_hard): Likewise.
21607         (_FP_SQRT_MEAT_1): Likewise.
21608         (_FP_FRAC_ASSEMBLE_1): Likewise.
21609         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21610         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21611         (__FP_CLZ_2): Likewise.
21612         (_FP_MUL_MEAT_2_wide): Likewise.
21613         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21614         (_FP_MUL_MEAT_2_gmp): Likewise.
21615         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21616         (_FP_SQRT_MEAT_2): Likewise.
21617         (_FP_FRAC_ASSEMBLE_2): Likewise.
21618         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21619         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21620         (_FP_FRAC_CLZ_4): Likewise.
21621         (_FP_MUL_MEAT_4_wide): Likewise.
21622         (_FP_MUL_MEAT_4_gmp): Likewise.
21623         (_FP_SQRT_MEAT_4): Likewise.
21624         (_FP_FRAC_ASSEMBLE_4): Likewise.
21625         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21626         * soft-fp/op-common.h (_FP_CMP): Likewise.
21627         (_FP_CMP_EQ): Likewise.
21628         (_FP_CMP_UNORD): Likewise.
21629         (_FP_TO_INT): Likewise.
21630         (_FP_FROM_INT): Likewise.
21631         [!__FP_CLZ] (__FP_CLZ): Likewise.
21632         (_FP_DIV_HELP_imm): Likewise.
21633         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21634         Likewise.
21635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21646         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21648         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21650         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21651         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21664         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21668         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21669         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21670         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21671         (FP_UNPACK_RAW_SP): Likewise.
21672         (FP_PACK_RAW_S): Likewise.
21673         (FP_PACK_RAW_SP): Likewise.
21674         (FP_UNPACK_S): Likewise.
21675         (FP_UNPACK_SP): Likewise.
21676         (FP_UNPACK_SEMIRAW_S): Likewise.
21677         (FP_UNPACK_SEMIRAW_SP): Likewise.
21678         (FP_PACK_S): Likewise.
21679         (FP_PACK_SP): Likewise.
21680         (FP_PACK_SEMIRAW_S): Likewise.
21681         (FP_PACK_SEMIRAW_SP): Likewise.
21682         (_FP_SQRT_MEAT_S): Likewise.
21683         (FP_CMP_S): Likewise.
21684         (FP_CMP_EQ_S): Likewise.
21685         (FP_CMP_UNORD_S): Likewise.
21686         (FP_TO_INT_S): Likewise.
21687         (FP_FROM_INT_S): Likewise.
21689         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21691         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21692         (FP_EX_INVALID_IMZ): Likewise.
21693         (FP_EX_INVALID_IMZ_FMA): Likewise.
21694         (FP_EX_INVALID_ISI): Likewise.
21695         (FP_EX_INVALID_ZDZ): Likewise.
21696         (FP_EX_INVALID_IDI): Likewise.
21697         (FP_EX_INVALID_SQRT): Likewise.
21698         (FP_EX_INVALID_CVI): Likewise.
21699         (FP_EX_INVALID_VC): Likewise.
21700         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21701         "invalid" exceptions.
21702         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21703         (_FP_ADD_INTERNAL): Likewise.
21704         (_FP_MUL): Likewise.
21705         (_FP_FMA): Likewise.
21706         (_FP_DIV): Likewise.
21707         (_FP_CMP_CHECK_NAN): Likewise.
21708         (_FP_SQRT): Likewise.
21709         (_FP_TO_INT): Likewise.
21710         (FP_EXTEND): Likewise.
21712 2014-10-09  Allan McRae  <allan@archlinux.org>
21714         * po/fr.po: Update French translation from translation project.
21716 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21718         [BZ #14132]
21719         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21720         of INTDEF.
21721         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21722         (__cxa_atexit): Use libc_hidden_proto.
21723         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21725         [BZ #14132]
21726         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21727         declaration.
21728         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21729         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21730         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21731         [!_ISOMAC] (__iswctype_internal): Likewise.
21732         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21733         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21734         alias.
21735         (fcntl): Remove __fcntl_internal alias.
21736         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21737         __connect_internal alias.
21738         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21739         Likewise.
21741         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21742         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21743         FP_DENORM_ZERO.
21744         (_FP_CHECK_FLUSH_ZERO): New macro.
21745         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21746         (_FP_CMP): Likewise.
21747         (_FP_CMP_EQ): Likewise.
21748         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21749         FP_DENORM_ZERO.
21750         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21751         (FP_TRUNC): Likewise.
21753         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21754         treated as invalid conversion, not as normal exponent.
21756         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21757         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21758         (_FP_CMP_EQ): Likewise.
21759         (_FP_CMP_UNORD): Likewise.
21760         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21761         (FP_CMP_EQ_D): Likewise.
21762         (FP_CMP_UNORD_D): Likewise.
21763         * soft-fp/extended.h (FP_CMP_E): Likewise.
21764         (FP_CMP_EQ_E): Likewise.
21765         (FP_CMP_UNORD_E): Likewise.
21766         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21767         (FP_CMP_EQ_Q): Likewise.
21768         (FP_CMP_UNORD_Q): Likewise.
21769         * soft-fp/single.h (FP_CMP_S): Likewise.
21770         (FP_CMP_EQ_S): Likewise.
21771         (FP_CMP_UNORD_S): Likewise.
21772         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21773         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21774         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21775         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21776         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21777         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21778         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21779         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21780         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21781         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21782         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21783         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21784         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21785         to FP_CMP_Q.
21786         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21787         FP_CMP_Q.
21788         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21789         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21790         FP_CMP_EQ_Q.
21791         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21792         FP_CMP_Q.
21793         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21794         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21795         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21796         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21797         FP_CMP_EQ_Q.
21798         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21799         FP_CMP_Q.
21800         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21801         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21802         FP_CMP_EQ_Q.
21803         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21804         FP_CMP_Q.
21805         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21806         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21807         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21808         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21809         FP_CMP_EQ_Q.
21811         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21812         a subnormal result, set the underflow exception if trapping on
21813         underflow is enabled.
21814         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21815         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21816         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21817         redefine to 0.
21818         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21819         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21820         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21821         * soft-fp/extendxftf2.c (__extendxftf2): Use
21822         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21824         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21825         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21826         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21827         FP_HANDLE_EXCEPTIONS.
21828         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21829         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21830         FP_HANDLE_EXCEPTIONS.
21831         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21832         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21833         FP_HANDLE_EXCEPTIONS.
21834         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21835         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21836         FP_HANDLE_EXCEPTIONS.
21838 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21840         [BZ #14132]
21841         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21842         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21843         use INTUSE.
21844         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21845         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21846         Remove alias.
21847         (__adjtimex): Define using libc_hidden_ver.
21848         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21849         Remove declaration.
21850         (ntp_gettime): Call __adjtimex directly.
21851         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21852         Remove declaration.
21853         (ntp_gettimex): Call __adjtimex directly.
21854         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21855         __adjtimex_internal alias.
21857 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21859         [BZ #17460]
21860         * nscd/nscd.c (more_help): Rewrite list of tables collection
21861         using xstrdup and asprintf.
21863         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21865 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21866             Roland McGrath  <roland@hack.frob.com>
21868         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21869         (do_lookup_unique): ... local function 'enter' here; update callers.
21871 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21873         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21874         compat_symbol calls on [SHARED].
21875         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21876         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21877         Remove.
21878         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21879         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21880         (oldsetrlimit): Remove.
21881         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21883         (lchown): New syscall entry.
21884         (oldsetrlimit): Remove.
21885         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21886         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21887         (oldsetrlimit): Remove.
21888         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21890         [BZ #14138]
21891         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21892         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21893         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21894         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21895         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21896         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21897         (fchown): Likewise.
21898         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21899         (fchown): Likewise.
21900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21901         Likewise.
21903 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21905         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21906         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21907         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21908         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21909         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21910         Likewise.
21911         (__old_sem_post): Likewise.
21913 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21915         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21916         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21917         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21918         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21919         Use INLINE_VSYSCALL macro.
21920         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21921         __vdso_clock_gettime.
21922         * sysdeps/unix/sysv/linux/tile/init-first.c
21923         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21924         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21925         __vdso_clock_gettime.
21927         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21928         to set up frame more cleanly.
21930         * sysdeps/tile/memcmp.c: New file.
21932         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21934         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21935         * sysdeps/tile/tilegx/strcasestr.c: New file.
21936         * sysdeps/tile/tilegx/strnlen.c: New file.
21937         * sysdeps/tile/tilegx/strstr.c: New file.
21939         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21941 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21943         * nptl/tst-setuid3.c: Write errors to stdout.
21945 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21947         * elf/dl-deps.c
21948         (preload): New functions broken out of _dl_map_object_deps.
21949         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21951 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21953         [BZ #14138]
21954         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21955         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21957 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21959         * sysdeps/mips/strcmp.S: New.
21961 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21963         [BZ #14138]
21964         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21965         (linkat): Likewise.
21966         (mkdirat): Likewise.
21967         (readlinkat): Likewise.
21968         (renameat): Likewise.
21969         (symlinkat): Likewise.
21970         (unlinkat): Likewise.
21971         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21972         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21973         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21974         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21975         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21976         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21977         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21979 2014-09-30  Will Newton  <will.newton@linaro.org>
21981         * math/math.h: Define long double math functions if
21982         _LIBC_TEST is defined.
21983         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21985         * localedata/Makefile: Move assignment to tests-special
21986         into an ifdef testing run-built-tests.
21987         * timezone/Makefile: Likewise.
21989 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21991         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21992         with $(BASH) not $(SHELL).
21994 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21995             Matthew LeGendre  <legendre1@llnl.gov>
21997         [BZ #17411]
21998         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21999         l_reloc_result.
22001 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22003         * stdio-common/printf_fp.c
22004         (hack_digit): New function, broken out of ...
22005         (__printf_fp): ... local function here.  Update call sites.
22006         hack_digit now takes an additional parameter that is a pointer
22007         to a struct of the referenced locals.  Those locals moved inside
22008         the struct and references updated.
22010 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22012         * aclocal.m4: Require autoconf 2.69.
22013         * configure: Regenerated.
22014         * sysdeps/aarch64/configure: Likewise.
22015         * sysdeps/alpha/configure: Likewise.
22016         * sysdeps/arm/armv7/configure: Likewise.
22017         * sysdeps/arm/configure: Likewise.
22018         * sysdeps/ia64/configure: Likewise.
22019         * sysdeps/mach/configure: Likewise.
22020         * sysdeps/mips/configure: Likewise.
22021         * sysdeps/s390/configure: Likewise.
22022         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22025         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22026         file.
22027         * sysdeps/ia64/configure.ac: Likewise.
22029 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22032         specify symbol version for ld.so.  Do not include entry for
22033         libpthread.
22034         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22035         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22036         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22038         [BZ #14171]
22039         * Makeconfig [$(build-shared) = yes]
22040         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22041         makefiles.
22042         [$(build-shared) = yes && $(soversions.mk-done) = t]
22043         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22044         [$(build-shared) = yes && $(soversions.mk-done) = t]
22045         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22046         to Makerules.
22047         [$(build-shared) = yes && $(soversions.mk-done) = t]
22048         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22049         here.
22050         [$(build-shared) = yes && $(soversions.mk-done) = t]
22051         (common-generated): Don't append gnu/lib-names.h and
22052         gnu/lib-names.stmp here.
22053         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22054         (lib-names-h-abi): New variable.
22055         [$(build-shared) = yes && $(soversions.mk-done) = t]
22056         (lib-names-stmp-abi): Likewise.
22057         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22058         abi-variants] (before-compile): Append
22059         $(common-objpfx)$(lib-names-h-abi).
22060         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22061         abi-variants] (common-generated): Append gnu/lib-names.h.
22062         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22063         abi-variants] (install-others-nosubdir): Depend on
22064         $(inst_includedir)/$(lib-names-h-abi).
22065         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22066         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22067         [$(build-shared) = yes && $(soversions.mk-done) = t]
22068         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22069         [$(build-shared) = yes && $(soversions.mk-done) = t]
22070         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22071         [$(build-shared) = yes && $(soversions.mk-done) = t]
22072         (common-generated): Append $(lib-names-h-abi) and
22073         $(lib-names-stmp-abi).
22074         * scripts/lib-names.awk: Do not handle multi being set.
22075         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22076         Remove variable.
22077         (abi-lp64_be-ld-soname): Likewise.
22078         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22079         Likewise.
22080         (abi-hard-ld-soname): Likewise.
22081         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22082         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22083         Remove variable.
22084         (abi-o32_hard-ld-soname): Likewise.
22085         (abi-o32_soft_2008-ld-soname): Likewise.
22086         (abi-o32_hard_2008-ld-soname): Likewise.
22087         (abi-n32_soft-ld-soname): Likewise.
22088         (abi-n32_hard-ld-soname): Likewise.
22089         (abi-n32_soft_2008-ld-soname): Likewise.
22090         (abi-n32_hard_2008-ld-soname): Likewise.
22091         (abi-n64_soft-ld-soname): Likewise.
22092         (abi-n64_hard-ld-soname): Likewise.
22093         (abi-n64_soft_2008-ld-soname): Likewise.
22094         (abi-n64_hard_2008-ld-soname): Likewise.
22095         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22096         Likewise.
22097         (abi-64-v2-ld-soname): Likewise.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22099         ld.so entries.
22100         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22101         variable.
22102         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22103         entry.
22104         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22105         variable.
22106         (abi-64-ld-soname): Likewise.
22107         (abi-x32-ld-soname): Likewise.
22108         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22109         entry.
22110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22112 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #14138]
22115         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22116         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22117         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22118         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22119         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22120         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22121         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22122         syscall entry for GLIBC_2.2 symbol version.
22123         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22124         Likewise.
22125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22126         (setrlimit): Likewise.
22127         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22128         Likewise.
22130 2014-09-23  Will Newton  <will.newton@linaro.org>
22132         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22133         _LINUX_ARM_SYSDEP_H include guard too.
22134         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22135         define.
22137 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22139         * sysdeps/unix/sysv/linux/eventfd.c:
22140         Make first argument unsigned.
22141         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22142         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22144 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22146         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22147         * socket/sys/socket.h: Likewise.
22148         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22150 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22152         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22154 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22156         * time/tst-ftime.c: New test.
22157         * time/Makefile (tests): Add tst-ftime.
22159 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22161         * soft-fp/extended.h: Fix comment formatting.
22162         * soft-fp/op-1.h: Likewise.
22163         * soft-fp/op-2.h: Likewise.
22164         * soft-fp/op-4.h: Likewise.
22165         * soft-fp/op-8.h: Likewise.
22166         * soft-fp/op-common.h: Likewise.
22167         * soft-fp/soft-fp.h: Likewise.
22169         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22171 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22173         [BZ #6652]
22174         * Makeconfig (soversions-default-setname): Remove variable.
22175         ($(common-objpfx)soversions.i): Don't pass default_setname to
22176         soversions.awk.
22177         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22178         oldest_abi to abi-versions.awk.
22179         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22180         * config.make.in (oldest-abi): Remove variable.
22181         * configure.ac (--enable-oldest-abi): Remove configure option.
22182         * configure: Regenerated.
22183         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22184         text.
22185         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22186         * scripts/soversions.awk: Do not handle default_setname variable.
22187         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22188         variable.
22189         * sysdeps/mach/hurd/configure: Regenerated.
22190         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22191         variable.
22192         * sysdeps/unix/sysv/linux/configure: Regenerated.
22194 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22196         * elf/Makefile (CFLAGS-interp.c): Remove.
22197         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22198         path string.
22199         * elf/interp.c: Include generated runtime-linker.h
22201         * Makerules (lib%.so): Don't include $(+interp) in
22202         prerequisites.
22203         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22204         * dlfcn/eval.c: Remove file.
22206         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22207         macros.
22209         [BZ #17266]
22210         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22211         4.2 and newer.
22213         [BZ #17370]
22214         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22216 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22217             Jakub Jelinek  <jakub@redhat.com>
22219         [BZ #17266]
22220         * libio/stdio.h: Check definition of __fortify_function
22221         instead of __extern_always_inline to include bits/stdio2.h.
22222         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22223         check if __extern_always_inline is defined.
22224         [__USE_MISC || __USE_XOPEN]: Likewise.
22225         [__USE_ISOC99] Likewise.
22226         * misc/sys/cdefs.h (__fortify_function): Define only if
22227         __extern_always_inline is defined.
22228         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22229         __extern_always_inline and __extern_inline only for g++-4.3
22230         and newer or a compatible gcc.
22232 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22234         [BZ #17371]
22235         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22236         last change to handle zero prefix length.
22238 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22240         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22241         _SC_REGEX_VERSION.
22243         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22244         _POSIX_RAW_SOCKETS.
22246 2014-09-13  Allan McRae  <allan@archlinux.org>
22248         * po/ru.po: Update Russian translation from translation project.
22250 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22252         * locale/programs/locale.c (show_locale_vars): Inline local function
22253         into its sole call site.  Clean up some style nits.
22254         (print_item): New function, broken out of ...
22255         (show_info): ... local function here.  Clean up style nits.
22257         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22258         out of ...
22259         (set_class_defaults): ... local function set_default here.
22260         Define set_default as a macro locally to pass constant parameters.
22261         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22262         rather than a shared local.
22264         * stdlib/rpmatch.c (try): New function, broken out of ...
22265         (rpmatch): ... local function here.  Also, prototypify definition.
22267 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22269         * scripts/soversions.awk: Do not handle configuration names.
22270         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22271         vendor and os variables to soversions.awk.
22272         * configure.ac: Do not modify gnu-* host_os.
22273         * configure: Regenerated
22274         * shlib-versions: Remove first column with configuration names.
22275         * nptl/shlib-versions: Likewise.
22276         * nptl_db/shlib-versions: Likewise.
22277         * sysdeps/hppa/shlib-versions: Likewise.
22278         * sysdeps/m68k/shlib-versions: Likewise.
22279         * sysdeps/mach/hurd/shlib-versions: Likewise.
22280         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22281         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22282         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22283         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22284         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22285         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22286         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22287         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22289         Likewise.
22290         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22291         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22292         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22293         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22294         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22295         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22296         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22297         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22300         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22302         Regenerated.
22303         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22305         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22307         * shlib-versions: Remove OS-specific entries.  Moved to files in
22308         sysdeps.
22309         * sysdeps/mach/hurd/shlib-versions: New file.
22310         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22312         * nptl/shlib-versions: Remove architecture-specific entries.
22313         Moved to files in sysdeps.
22314         * shlib-versions: Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22316         file.
22317         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22318         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22319         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22320         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22322         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22323         (UDP_NO_CHECK6_RX): Likewise.
22325 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22327         * sysdeps/posix/sysconf.c (__sysconf): Spell
22328         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22330 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22332         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22333         loading.
22334         * iconv/Versions (__gconv_transliterate): Export for use from
22335         gconv modules.
22336         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22337         (struct __gconv_trans_data, __gconv_trans_fct,
22338         __gconv_trans_context_fct, __gconv_trans_query_fct,
22339         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22340         definitions.
22341         (struct __gconv_step_data): Remove __trans member.
22342         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22343         longer hidden.  Remove unused trans_data argument.
22344         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22345         (__gconv_translit_find): Remove declaration.
22346         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22347         prototype.
22348         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22349         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22350         trans_data argument.  Add hidden definition.
22351         (__gconv_translit_find): Remove.
22352         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22353         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22354         * iconv/skeleton.c: Remove transliteration initialization.
22355         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22356         __gconv_step_data initialization.
22357         * libio/iofwide.c (__libio_translit_): Remove.
22358         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22359         * wcsmbs/btowc.c (__btowc): Likewise.
22360         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22361         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22362         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22363         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22364         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22365         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22366         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22367         * wcsmbs/wctob.c (wctob): Likewise.
22369 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22371         [BZ #16194]
22372         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22373         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22374         register usage.
22375         * sysdeps/x86/Makefile: Adjust.
22377 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22378             Roland McGrath  <roland@hack.frob.com>
22380         * locale/weight.h: Add include guard.
22381         (findidx): Make static rather than auto; take new parameters
22382         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22383         * locale/weightwc.h: Likewise.
22384         * posix/fnmatch_loop.c
22385         (FCT): Change type of EXTRA from int32_t to wint_t.
22386         Don't include either header inside the function.
22387         Call FINDIDX rather than findidx, and pass new arguments.
22388         #undef FINDIDX at the end of the file.
22389         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22390         FINDIDX before including fnmatch_loop.c for the non-wide version.
22391         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22392         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22393         for the wide version.
22394         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22395         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22396         Pass new arguments to findidx.
22397         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22398         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22399         Don't #include it inside the function.  Pass new arguments to findidx.
22400         * posix/regex_internal.h
22401         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22402         (re_string_elem_size_at): Don't #include it inside the function.
22403         Pass new arguments to findidx.
22404         * string/strcoll_l.c: #include WEIGHT_H at top level.
22405         (get_next_seq): Don't #include it inside the function.
22406         Pass new arguments to findidx.
22407         (get_next_seq_nocache): Likewise.
22408         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22409         (STRXFRM): Don't #include it inside the function.
22410         Pass new arguments to findidx.
22412 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22414         [BZ #17344]
22415         * malloc/malloc.c (unlink): Turn asserts into a call to
22416         malloc_printerr.
22418 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22420         [BZ #17370]
22421         * libio/wfileops (do_ftell_wide): Free OUT.
22423 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22425         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22427 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22429         [BZ #17363]
22430         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22431         group if the current group is empty.
22433 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22435         * benchtests/bench-memset.c (test_main): Add more test from size
22436         from 32 to 512 bytes.
22437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22438         Add POWER8 memset object.
22439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22440         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22441         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22442         implementation.
22443         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22444         Likewise.
22445         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22446         multiarch POWER8 memset optimization.
22447         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22448         POWER8 memset optimization.
22450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22451         Remove bzero multiarch objects.
22452         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22453         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22454         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22455         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22456         Remove define.
22457         [__bzero]: Redefine to specific name.
22458         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22459         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22460         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22461         define.
22462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22463         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22465 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22467         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22468         warnings into errors.
22470         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22471         __cxa_thread_atexit_impl prototype.
22473 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22475         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22476         Fix capitalization of error message.
22478 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22480         * sysdeps/mips/preconfigure: Modify ABI tests.
22482 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22484         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22486 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22487             Carlos O'Donell  <carlos@systemhalted.org>
22489         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22490         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22491         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22492         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22493         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22494         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22495         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22496         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22497         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22498         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22502         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22504         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22508         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22510         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22511         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22512         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22513         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22514         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22515         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22516         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22517         Deconditionalize the code that was previously under [RESET_PID].
22518         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22519         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22520         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22521         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22522         include sysdep.h.
22524 2014-09-08  Allan McRae  <allan@archlinux.org>
22526         * version.h (RELEASE): Set to "development".
22527         (VERSION): Set to "2.20.90"
22529 2014-09-07  Allan McRae  <allan@archlinux.org
22531         * version.h (RELEASE): Set to "stable".
22532         (VERSION): Set to "2.20"
22533         * include/features.h (__GLIBC_MINOR__): Set to 20.
22535         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22536         Liebler.
22538         * po/ko.po: Update Korean translation from translation project.
22540 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22542         [BZ #17354]
22543         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22544         macro for handling signed relocations.
22546 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22548         [BZ #17325]
22549         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22550         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22551         assert.
22552         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22553         * iconvdata/ibm935.c (BODY): Likewise.
22554         * iconvdata/ibm937.c (BODY): Likewise.
22555         * iconvdata/ibm939.c (BODY): Likewise.
22556         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22557         assert.
22558         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22559         script.
22560         * iconvdata/run-iconv-test.sh: New test loop for checking for
22561         decoder crashers.
22563 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22566         libm_hidden_ver.
22568 2014-09-01  Allan McRae  <allan@archlinux.org>
22570         * po/eo.po: Update Esperanto translation from translation project.
22572         * po/ca.po: Update Catalan translation from translation project.
22574 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22576         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22577         __proc_dostop call.
22579 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22581         [BZ #17319]
22582         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22583         to call set_thread_area instead of hand written asm.
22584         (__NR_set_thread_area): Removed define.
22585         (TLS_FLAG_WRITABLE): Likewise.
22586         (__ASSUME_SET_THREAD_AREA): Remove check.
22587         (TLS_EBX_ARG): Remove define.
22588         (TLS_LOAD_EBX): Likewise.
22590 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22592         Simplify atomicity of socket creation in bind.
22594         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22595         looking up the name after linking the file.
22597 2014-08-27  Allan McRae  <allan@archlinux.org>
22599         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22601 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22603         [BZ #17187]
22604         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22605         trans_compare, open_translit, __gconv_translit_find):
22606         Remove module loading code.
22608 2014-08-26  Allan McRae  <allan@archlinux.org>
22610         * po/vi.po: Update Vietnamese translation from translation project.
22612         * po/uk.po: Update Ukrainian translation from translation project.
22614         * po/fr.po: Update French translation from translation project.
22616         * po/ru.po: Update Russian translation from translation project.
22618         * po/pl.po: Update Polish translation from translation project.
22620         * po/cs.po: Update Czech translation from translation project.
22622         * po/de.po: Update German translation from translation project.
22624         * po/bg.po: Update Bulgarian translation from translation project.
22626         * po/sv.po: Update Sweedish translation from translation project.
22628         * po/nl.po: Update Dutch translation from translation project.
22630         * po/es.po: Update Spanish translation from translation project.
22632 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22636         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22637         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22638         (CPPFLAGS-iconvconfig): Likewise.
22639         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22641         * include/libc-symbols.h: Remove unnecessary check for
22642         NOT_IN_libc.
22643         * nptl/pthreadP.h: Likewise.
22644         * sysdeps/aarch64/setjmp.S: Likewise.
22645         * sysdeps/alpha/setjmp.S: Likewise.
22646         * sysdeps/arm/sysdep.h: Likewise.
22647         * sysdeps/i386/setjmp.S: Likewise.
22648         * sysdeps/m68k/setjmp.c: Likewise.
22649         * sysdeps/posix/getcwd.c: Likewise.
22650         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22651         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22652         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22653         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22654         * sysdeps/sh/sh3/setjmp.S: Likewise.
22655         * sysdeps/sh/sh4/setjmp.S: Likewise.
22656         * sysdeps/unix/alpha/sysdep.h: Likewise.
22657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22659         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22660         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22668         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22670         * sysdeps/x86_64/setjmp.S: Likewise.
22672 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #17263]
22675         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22676         <stdint.h>.
22677         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22678         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22680 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22682         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22684         [BZ #17262]
22685         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22686         and __x86_64__ when disabling x87 inline functions.
22688 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22690         [BZ #17259]
22691         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22692         asm statement with __cpuid_count.
22694 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22696         * configure.ac: Change __ehdr_start code to dereference the struct.
22697         Run readelf on the output to look for relocations.
22698         * configure: Regenerated.
22700 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22702         [BZ #17261]
22703         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22704         value to 0.
22705         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22707 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22709         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22711 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22713         [BZ #16892]
22714         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22715         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22717 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22719         * malloc/malloc.c: Fix typo in comment.
22721 2014-08-09  Allan McRae  <allan@archlinux.org>
22723         * Regenerate libc.po.
22725 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22727         * intl/tst-gettext2.sh: Check every lang file for creation.
22729 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22731         * sysdeps/aarch64/fpu/math_private.h
22732         (libc_feholdsetround_noex_aarch64_ctx): New function.
22734 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22736         * sysdeps/arm/armv6/strcpy.S (strcpy):
22737         Fix performance issue in misaligned cases.
22739 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22741         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22742         Move definition from termios.h.
22743         (struct termio): Likewise.
22744         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22745         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22746         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22747         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22748         Likewise.
22749         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22750         Move definition to ioctl-types.h
22751         (struct termio): Likewise.
22752         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22753         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22754         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22755         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22756         Likewise.
22758 2014-08-05  Richard Henderson  <rth@redhat.com>
22760         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22761         exceptions.
22762         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22763         Add fraiseexcpt.
22764         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22765         Use __feraiseexcept.
22766         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22767         Protect libm symbols with IS_IN_libm.
22769         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22771 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22773         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22775 2014-08-04  Will Newton  <will.newton@linaro.org>
22777         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22778         file.
22780 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22782         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22783         variants for each function.
22785 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22787         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22788         appended ...
22789         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22790         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22791         appended ...
22792         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22793         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22794         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22795         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22796         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22797         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22798         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22799         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22800         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22801         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22802         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22803         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22804         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22805         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22806         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22807         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22808         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22809         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22810         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22811         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22812         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22815         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22816         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22817         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22818         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22819         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22820         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22821         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22822         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22823         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22824         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22825         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22826         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22827         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22828         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22829         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22830         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22831         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22834         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22836         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22838         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22840         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22842         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22843         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22844         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22845         Update #include.
22846         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22847         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22851         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22852         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22854         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22855         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22856         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22858 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22860         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22861         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22862         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22863         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22867         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22868         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22869         (__libc_vfork): Define function under this name.
22870         (__vfork): Define as an alias.
22871         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22872         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22874 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22876         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22877         that was previously under [RESET_PID].
22878         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22880 2014-08-04  Andreas Schwab  <schwab@suse.de>
22882         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22884 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22886         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22887         (main): Likewise.
22889 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22891         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22893 2014-08-01  Richard Henderon  <rth@redhat.com>
22895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22896         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22897         typo in exact zero test.
22898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22899         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22902 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22904         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22905         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22906         * sysdeps/arm/sysdep.h: ... here.
22907         [!__ASSEMBLER__]: Include <stdint.h>.
22909 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22911         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22912         (HAVE_WCTYPE_H): Likewise.
22913         (HAVE_ISWCTYPE): Likewise.
22914         (ENABLE_NLS): Likewise.
22915         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22916         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22918         * posix/regex_internal.c: Check if DEBUG is defined and is
22919         set.
22921         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22922         (HAVE_MBSRTOWCS): Likewise.
22923         * posix/fnmatch.c: Include string.h unconditionally.
22925 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22927         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22928         reversal.
22930 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22932         * sysdeps/generic/safe-fatal.h: New file.
22933         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22934         * nptl/forward.c: Include it.
22935         (__pthread_unwind): Use __safe_fatal as default action, rather
22936         than a bogus use of INTERNAL_SYSCALL that could never work.
22938         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22939         * configure.ac (libc_cv_builtin_trap): New test.
22940         * configure: Regenerated.
22941         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22942         (ABORT_INSTRUCTION): Define using __builtin_trap.
22944         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22945         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22946         * sysdeps/nptl/nptl-signals.h: New file.
22947         * nptl/pthreadP.h: Include <nptl-signals.h>.
22949 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22951         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22952         (ONE_DIRECTION): Define.
22953         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22954         (ONE_DIRECTION): Define.
22955         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22956         (ONE_DIRECTION): Define.
22958 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22960         * sysdeps/s390/Makefile: Delete file.
22961         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22962         * sysdeps/s390/__longjmp.c: Delete file.
22963         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22964         Remove fields __flags and __reserved.
22965         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22966         and add versioning.
22967         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22968         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22969         * sysdeps/s390/rtld-setjmp.S: Likewise.
22970         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22971         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22972         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22973         * sysdeps/s390/s390-32/setjmp.S: ... here.
22974         Add versioning.
22975         (__sigsetjmp): Remove setting __flags field.
22976         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22977         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22978         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22979         * sysdeps/s390/s390-64/setjmp.S: ... here.
22980         Add versioning.
22981         (__sigsetjmp): Remove setting __flags field.
22982         * sysdeps/s390/setjmp.S: Delete file.
22983         * sysdeps/s390/sigjmp.c: Likewise.
22984         * sysdeps/s390/v1-longjmp.c: Likewise.
22985         * sysdeps/s390/v1-setjmp.h: Likewise.
22986         * sysdeps/s390/v1-sigjmp.c: Likewise.
22987         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22988         Remove v1-longjmp_chk.
22989         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22990         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22991         Include debug/longjmp_chk.c and add versioning.
22992         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22993         Include nptl/pt-longjmp.c and add versioning.
22994         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22995         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22996         Include __longjmp.c.
22997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22998         Move to ...
22999         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23000         (__getcontext): Remove setting __flags field.
23001         Add versioning.
23002         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23003         Don't restore upper high grps.
23004         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23005         Likewise.
23006         (__swapcontext): Remove setting uc_flags field.
23007         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23008         Delete file.
23009         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23010         Include __longjmp.c.
23011         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23012         Move to ...
23013         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23014         (__getcontext): Remove setting __flags field.
23015         Add versioning.
23016         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23017         (__swapcontext): Remove setting uc_flags field.
23018         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23019         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23020         Remove fields uc_high_gprs and __reserved.
23021         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23022         New file with reverted content.
23023         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23024         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23025         Regenerated.
23026         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23027         Regenerated.
23029 2014-07-31  Andreas Schwab  <schwab@suse.de>
23031         * config.h.in (HAVE_IFUNC): Define to 0.
23032         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23033         definedness.
23035 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23038         memmove-avx-unaligned, memcpy-avx-unaligned and
23039         mempcpy-avx-unaligned.
23040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23041         Add tests for AVX memcpy functions.
23042         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23043         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23044         memcpy_chk.
23045         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23046         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23047         memmove_chk.
23048         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23049         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23050         mempcpy_chk.
23051         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23052         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23053         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23055 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23057         [BZ #17213]
23058         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23059         powerpc64le.
23061 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23063         [BZ #16839]
23064         * manual/llio.texi: Add section about open file description locks.
23065         * manual/examples/ofdlocks.c: Example of open file description
23066         lock usage.
23067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23068         F_OFD_SETLK, and F_OFD_SETLKW.
23070 2014-07-23  Allan McRae  <allan@archlinux.org>
23072         * po/es.po: Update Spanish translation from translation project.
23074 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23076         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23078 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23080         [BZ #17078]
23081         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23082         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23083         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23085 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23087         [BZ #17088]
23088         * math/fesetenv.c (__fesetenv)
23089         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23090         * math/feupdateenv.c (__feupdateenv)
23091         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23093         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23094         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23095         (__ASSUME_SOCKETCALL): Do not define.
23097         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23098         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23099         (__ASSUME_SOCKETCALL): Do not define.
23100         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23101         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23102         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23103         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23104         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23105         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23106         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23107         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23109         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23110         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23111         (__ASSUME_SOCKETCALL): Do not define.
23112         (__ASSUME_IPC64): Define unconditionally.
23113         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23114         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23115         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23116         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23117         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23118         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23119         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23120         Likewise.
23122         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23123         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23124         (__ASSUME_SOCKETCALL): Do not define.
23125         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23126         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23127         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23128         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23129         (__ASSUME_REQUEUE_PI): Define unconditionally.
23130         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23131         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23132         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23133         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23135         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23137         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23138         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23139         (__ASSUME_SOCKETCALL): Do not define.
23140         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23141         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23142         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23143         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23145         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23147         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23148         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23149         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23150         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23152         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23153         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23154         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23155         (__ASSUME_GETCPU_SYSCALL): Likewise.
23157         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23158         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23159         cases for individual architectures.
23160         * sysdeps/gnu/configure: Regenerated.
23161         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23162         LIBC_SLIBDIR_RTLDDIR.
23163         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23164         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23165         LIBC_SLIBDIR_RTLDDIR.
23166         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23168         LIBC_SLIBDIR_RTLDDIR.
23169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23170         Regenerated.
23171         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23172         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23173         file.
23174         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23175         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23176         file.
23177         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23178         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23179         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23180         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23182         * sysdeps/aarch64/shlib-versions: Move to ...
23183         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23184         * sysdeps/alpha/shlib-versions: Move to ...
23185         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23186         * sysdeps/arm/shlib-versions: Move to ...
23187         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23188         * sysdeps/hppa/shlib-versions: Move all contents except for
23189         libgcc_s entry to ...
23190         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23191         entry from ...
23192         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23193         * sysdeps/ia64/shlib-versions: Move to ...
23194         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23195         entry from ...
23196         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23197         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23198         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23199         * sysdeps/microblaze/shlib-versions: Move to ...
23200         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23201         * sysdeps/mips/shlib-versions: Move to ...
23202         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23203         entry from ...
23204         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23205         * sysdeps/tile/shlib-versions: Move to ...
23206         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23207         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23208         from ...
23209         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23210         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23211         entry from ...
23212         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23214 2014-07-17  Will Newton  <will.newton@linaro.org>
23216         * sysdeps/arm/bits/atomic.h
23217         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23218         (__arch_compare_and_exchange_bool_16_int): Likewise.
23219         (__arch_compare_and_exchange_bool_64_int): Likewise.
23221         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23222         into an #else block.
23224 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23226         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23227         just Linux configurations.  Test empirically that the compiler sets
23228         __ARM_EABI__, rather than using the tuple to decide.
23229         * sysdeps/arm/preconfigure: Regenerated.
23230         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23231         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23232         contents appended ...
23233         * sysdeps/arm/configure.ac: ... here.
23234         * sysdeps/arm/configure: Regenerated.
23236 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23238         * nptl/pthread_kill.c: New file.
23239         * nptl/pthread_sigmask.c: New file.
23240         * nptl/pthread_sigqueue.c: New file.
23242         * sysdeps/nptl/lowlevellock.h: New file.
23243         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23244         * sysdeps/nptl/lowlevellock-futex.h: New file.
23246         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23247         Remove dead declarations.
23249 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23251         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23252         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23253         config-cflags-avx2.
23254         * sysdeps/x86_64/configure.ac: Likewise.
23255         * sysdeps/i386/configure: Regenerated.
23256         * sysdeps/x86_64/configure: Likewise.
23257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23258         memset-avx2 only if config-cflags-avx2 is yes.
23259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23260         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23261         defined.
23262         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23263         only if HAVE_AVX2_SUPPORT is defined.
23264         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23266 2014-07-14  Alan Modra  <amodra@gmail.com>
23268         [BZ #17153]
23269         * elf/elf.h (DT_PPC64_NUM): Correct value.
23270         * NEWS: Add to fixed bug list.
23272 2014-07-13  Jim Meyering  <meyering@fb.com>
23274         [BZ 17150]
23275         regex: don't deref NULL upon heap allocation failure
23276         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23277         failure in one more place.
23278         To trigger the segfault, configure grep -with-included-regex,
23279         build it, and run these commands:
23280         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23282 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23286 2014-07-11  Richard Henderson  <rth@redhat.com>
23288         * sysdeps/aarch64/libm-test-ulps: Update.
23290 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23292         [BZ #17135]
23293         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23294         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23295         (__nptl_setxid): Initialize error member.  Call
23296         __nptl_setxid_error.
23297         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23298         * nptl/descr.h (struct xid_command): Add error member.
23299         * nptl/tst-setuid3.c: New file.
23300         * nptl/Makefile (tests): Add it.
23302 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23304         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23305         New define.
23306         (__lll_trylock): Use __lll_base_trylock.
23307         (__lll_cond_trylock): Likewise.
23309 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23311         * nptl/pthread_create.c (start_thread): Use atomic_or and
23312         lll_futex_wake directly rather than lll_robust_dead.
23313         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23314         (lll_robust_dead): Macro removed.
23315         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23316         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23317         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23318         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23319         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23320         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23321         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23322         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23323         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23325         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23326         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23327         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23328         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23331         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23332         Use atomic_compare_and_exchange_val_acq directly rather than
23333         lll_robust_trylock.
23334         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23335         (__lll_robust_trylock, lll_robust_trylock): Removed.
23336         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23337         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23338         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23339         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23340         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23341         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23342         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23343         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23344         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23345         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23346         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23347         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23349         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23351 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23353         * manual/locale.texi (Locale Names): New section documenting
23354         locale name syntax.  Adjust menu and node chaining accordingly.
23355         (Choosing Locale): Reference Locale Names, Locale Categories.
23356         Mention setting LC_ALL=C.  Reflect that name syntax is now
23357         documented.
23358         (Locale Categories): New section title.  Reference Locale Names.
23359         LC_ALL is an environment variable, but not a category.
23360         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23361         description, now in Locale Name.  Reference that section.  Locale
23362         name syntax is now documented.
23364 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23366         [BZ #17137]
23367         * locale/findlocale.c (name_present, valid_locale_name): New
23368         functions.
23369         (_nl_find_locale): Use the loc_name variable to store name
23370         candidates.  Call name_present and valid_locale_name to check and
23371         validate locale names.  Return an error if the locale is invalid.
23373 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23375         * locale/setlocale.c (setlocale): Use strdup for allocating
23376         composite name copy.
23378 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23380         Sync up with gnulib.
23381         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23382         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23383         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23384         and _GL_ARG_NONNULL.
23385         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23386         [!_LIBC]: Include code for Windows and Cygwin.
23387         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23388         Include prototype for int strerror_r.
23389         [!_LIBC] (is_open): New function.
23390         (flush_stdout): New function.
23391         (print_errno_message): Use it.
23392         (error): Likewise.
23393         (error_at_line): Likewise.
23394         (error_tail) Add function attribute macros.  Use
23395         __builtin_expect.
23397         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23399         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23401         * io/ftw.c: Include sys/param.h unconditionally.
23403         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23405         [BZ #17125]
23406         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23407         libc_freeres_ptr.
23408         (freecache): New function to free CACHE on exit.
23410         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23411         initialization.
23413 2014-07-09  David S. Miller  <davem@davemloft.net>
23415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23417         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23418         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23419         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23420         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23421         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23422         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23423         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23424         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23425         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23426         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23427         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23428         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23429         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23431 2014-07-09  Andreas Schwab  <schwab@suse.de>
23433         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23434         output.
23435         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23436         (do_test): Likewise.
23438         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23440 2014-07-09  Will Newton  <will.newton@linaro.org>
23442         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23443         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23444         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23445         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23446         * sysdeps/hppa/start.S (_start): Likewise.
23448 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23450         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23452         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23453         defined.
23455 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23457         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23458         after checking that it is non-NULL.
23460         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23462 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23464         * sysdeps/powerpc/memmove.c: Remove file.
23465         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23466         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23468         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23470         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23471         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23472         string memmove instead of removed powerpc one.
23474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23475         [weak_alias]: Fix compiler warning due trailing data.
23476         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23477         [weak_alias]: Likewise.
23478         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23479         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23482         (__libc_ifunc_impl_list): Add memmove functions.
23484 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23486         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23487         Remove code.
23488         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23489         Likewise.
23490         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23491         Likewise.
23492         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23493         Likewise.
23494         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23495         Likewise.
23496         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23497         Likewise.
23498         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23499         Likewise.
23500         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23501         Likewise.
23502         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23503         Likewise.
23504         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23505         Likewise.
23506         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23507         Likewise.
23508         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23509         Likewise.
23510         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23511         Likewise.
23512         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23513         Likewise.
23514         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23515         Likewise.
23516         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23517         Likewise.
23518         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23519         Likewise.
23521 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23523         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23524         to avoid alignment traps in non-cacheable memory.
23525         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23528         multiarch objects.
23529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23530         file: multiarch power7 memmove.
23531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23532         multiarch default memmove.
23533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23534         multiarch memove for powerpc32/power4.
23536         * string/bcopy.c: Use full path to include memmove.c.
23537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23538         multiarch objects.
23539         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23540         bcopy for powerpc64.
23541         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23542         bcopy for powerpc64.
23543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23544         and memmove implementations.
23545         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23546         optimized multiarch memmove for POWER7/powerpc64.
23547         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23548         default multiarch memmove for powerpc64.
23549         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23550         multiarch for powerpc64.
23551         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23552         for POWER7/powerpc64.
23553         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23554         memmove for POWER7/powerpc64.
23556         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23557         glibc default one.
23559         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23560         __ELF_NATIVE_CLASS equal to 64.
23562 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23564         * sysdeps/nptl/lowlevellock.h: File removed.
23566         * NEWS: NPTL is no longer an add-on!
23567         * nptl/internaltypes.h: Moved ...
23568         * sysdeps/nptl/internaltypes.h: ... here.
23569         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23570         * sysdeps/nptl/fork.c: Likewise.
23571         * sysdeps/nptl/gai_misc.h: Likewise.
23572         * sysdeps/nptl/librt-cancellation.c: Likewise.
23573         * sysdeps/nptl/jmp-unwind.c: Likewise.
23574         * sysdeps/nptl/setxid.h: Likewise.
23575         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23576         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23577         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23578         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23579         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23580         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23581         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23582         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23583         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23584         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23585         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23586         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23587         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23588         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23589         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23590         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23591         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23592         * nptl/Makeconfig: Moved ...
23593         * sysdeps/nptl/Makeconfig: ... here.
23594         * nptl/configure: File removed.
23595         * nptl/ANNOUNCE: File removed.
23596         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23597         * sysdeps/unix/sysv/linux/configure: Regenerated.
23599         * nptl/Makefile (routines): Add libc_pthread_init,
23600         libc_multiple_threads, register-atfork and unregister-atfork.
23601         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23602         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23603         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23604         pthread-pi-defines.sym, structsem.sym.
23605         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23606         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23607         [$(subdir) = nptl] (tests): Add tst-setgetname.
23608         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23609         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23610         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23611         [!LIBC_SIGACTION]: Remove aliases.
23612         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23613         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23614         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23615         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23616         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23617         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23618         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23619         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23620         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23621         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23622         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23623         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23624         __libc_allocate_rtsig_private.
23625         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23626         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23627         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23628         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23629         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23630         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23631         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23632         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23633         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23634         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23635         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23636         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23637         * nptl/internaltypes.h: ... here.
23638         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23639         * sysdeps/nptl/jmp-unwind.c: ... here.
23640         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23641         * nptl/libc-lowlevellock.c: ... here.
23642         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23643         * nptl/libc_multiple_threads.c: ... here.
23644         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23645         * nptl/libc_pthread_init.c: ... here.
23646         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23647         * nptl/lowlevelbarrier.sym: ... here.
23648         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23649         * nptl/lowlevelcond.sym: ... here.
23650         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23651         * nptl/lowlevellock.c: ... here.
23652         * nptl/lowlevellock.h: Moved ...
23653         * sysdeps/nptl/lowlevellock.h: ... here.
23654         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23655         * nptl/lowlevelrobustlock.c: ... here.
23656         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23657         * nptl/lowlevelrobustlock.sym: ... here.
23658         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23659         * nptl/lowlevelrwlock.sym: ... here.
23660         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23661         * nptl/pt-fork.c: ... here.
23662         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23663         * nptl/pthread-pi-defines.sym: ... here.
23664         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23665         * nptl/pthread_attr_getaffinity.c: ... here.
23666         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23667         * nptl/pthread_attr_setaffinity.c: ... here.
23668         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23669         * nptl/pthread_mutex_cond_lock.c: ... here.
23670         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23671         Update #include.
23672         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23673         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23674         * nptl/pthread_once.c: ... here, replacing old file.
23675         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23676         * nptl/pthread_yield.c: ... here.
23677         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23678         * nptl/register-atfork.c: ... here.
23679         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23680         * nptl/sem_post.c: ... here.
23681         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23682         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23683         * nptl/sem_timedwait.c: ... here.
23684         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23685         * nptl/sem_trywait.c: ... here.
23686         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23687         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23688         * nptl/sem_wait.c: ... here.
23689         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23690         * nptl/structsem.sym: ... here.
23691         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23692         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23693         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23694         * nptl/unregister-atfork.c: ... here.
23695         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23696         * nptl/unwindbuf.sym: ... here.
23697         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23698         * sysdeps/nptl/fork.c: ... here.
23699         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23700         * sysdeps/nptl/fork.h: ... here.
23701         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23702         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23703         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23704         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23705         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23706         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23707         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23708         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23709         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23710         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23711         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23712         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23713         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23714         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23715         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23716         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23717         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23718         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23719         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23720         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23721         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23722         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23723         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23724         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23725         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23726         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23727         * sysdeps/unix/sysv/linux/raise.c: ... here.
23728         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23729         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23730         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23731         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23732         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23733         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23734         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23735         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23736         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23737         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23738         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23739         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23740         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23741         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23742         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23744 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23746         * sysdeps/generic/memcopy.h: Add comment for
23747         MEMCPY_OK_FOR_FWD_MEMMOVE.
23749 2014-07-04  Will Newton  <will.newton@linaro.org>
23751         * string/memchr.c: Merge from gnulib.
23752         [_LIBC]: Remove conditionals.
23753         (__ptr_t): Remove define.
23754         (LONG_MAX_32_BITS): Likewise.
23755         (LONG_MAX): Likewise.
23756         (MEMCHR): Use ANSI prototype and optimize algorithm.
23758         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23760 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23762         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23763         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23765         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23766         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23767         in a bare environment with no <stdlib.h> installed.
23768         * sysdeps/nptl/configure: Regenerated.
23770         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23772         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23773         AC_EGREP_CPP for kernel header checks, so they only succeed if
23774         including <linux/version.h> actually works right.
23775         * sysdeps/unix/sysv/linux/configure: Regenerated.
23777         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23778         value so it's not diagnosed as unused.
23780         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23781         thing) with "ifeq ($(subdir),rt)".
23783 2014-07-03  Richard Henderson  <rth@redhat.com>
23785         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23786         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23787         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23789         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23790         (math_force_eval): New.
23792         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23793         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23795         * sysdeps/alpha/fpu/s_round.c: Remove file.
23796         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23798         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23799         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23800         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23801         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23802         (_dl_start, print_statistics): Likewise.
23803         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23804         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23806         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23807         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23808         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23809         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23811         (HP_SMALL_TIMING_AVAIL): Define.
23812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23814         (HP_SMALL_TIMING_AVAIL): Define.
23815         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23816         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23818         * sysdeps/aarch64/hp-timing.h: New file.
23820         * sysdeps/generic/hp-timing.h: Remove dead comment.
23821         * sysdeps/generic/hp-timing-common.h: New file.
23822         * sysdeps/alpha/hp-timing.h: Include it.
23823         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23824         * sysdeps/i386/i686/hp-timing.h: Likewise.
23825         * sysdeps/ia64/hp-timing.h: Likewise.
23826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23827         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23828         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23829         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23830         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23831         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23832         (hp_timing_t): New.
23834         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23835         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23836         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23837         * elf/rtld.c (_dl_start_final): Likewise.
23838         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23839         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23840         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23841         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23842         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23844         (HP_TIMING_DIFF_INIT): Remove.
23845         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23846         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23847         (HP_TIMING_DIFF_INIT): Remove.
23848         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23849         * sysdeps/i386/i686/hp-timing.c: Remove file.
23850         * sysdeps/x86_64/hp-timing.c: Remove file.
23851         * sysdeps/ia64/hp-timing.c: Remove file.
23852         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23853         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23855         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23857         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23858         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23859         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23860         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23861         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23862         (HP_TIMING_ACCUM): Remove.
23863         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23865         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23867         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23868         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23869         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23870         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23872         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23873         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23874         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23876         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23878 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23880         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23882 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23884         Sync up with gettext.
23885         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23886         [_MSC_VER]: Include malloc.h
23887         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23888         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23889         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23890         TEMP_FAILURE_RETRY.  Cast return of alloca.
23891         [!_LIBC] Call gl_rwlock_init.
23892         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23894 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23896         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23897         before checking its value.
23899 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23901         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23903         * debug/memcpy_chk.c: Don't include pagecopy.h.
23904         * debug/mempcpy_chk.c: Likewise.
23905         * string/memcpy.c: Likewise.
23906         * string/memmove.c: Likewise.
23907         * sysdeps/powerpc/memmove.c: Likewise.
23908         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23909         definition of PAGE_COPY_FWD_MAYBE here...
23910         * sysdeps/generic/pagecopy.h: ... from here.
23911         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23913 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23916         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23918         optimizations.
23919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23920         (__libc_ifunc_impl_list): Likewise.
23921         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23922         multiarch strcat for PPC64.
23923         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23924         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23926 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23928         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23930 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23932         * intl/loadmsgcat.c: Remove declaration of
23933         get_sysdep_segment_value.
23934         (get_sysdep_segment_value): Use ISO C style.
23935         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23936         semicolon.  Fix typo and formatting in comment.
23937         (_nl_unload_domain): Use ISO C style.
23939         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23941 2014-07-02  Will Newton  <will.newton@linaro.org>
23943         * malloc/obstack.c: Merge from gnulib master.
23944         [HAVE_CONFIG_H]: Remove conditional code.
23945         [!_LIBC]: Include config.h.
23946         [!ELIDE_CODE]: Don't include inttypes.h, include
23947         stdint.h unconditionally.
23948         (print_and_abort): Mark as _Noreturn.
23949         (_obstack_allocated_p): Mark as __attribute_pure__.
23950         (obstack_free): Rename to __obstack_free.
23951         [!__attribute__]: Remove conditional code.
23952         * malloc/obstack.h: Merge from gnulib master.
23953         [__cplusplus]: Move conditional down.
23954         [!__attribute_pure__]: Define __attribute_pure__ here
23955         if it is not already defined.
23956         (_obstack_memory_used): Mark as __attribute_pure__.
23957         [!__obstack_free]: Define as obstack_free.
23958         [__GNUC__]: Remove check for ancient NeXT gcc.
23960 2014-07-02  Will Newton  <will.newton@linaro.org>
23961             Paul Eggert  <eggert@cs.ucla.edu>
23963         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23965 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23967         * resolv/gethnamaddr.c: Add comment warning that the file is
23968         not maintained.
23970 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23972         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23973         entries.
23975         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23976         entry for aio_cancel and aio_cancel64.
23977         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23978         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23979         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23980         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23981         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23982         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23984         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23985         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23986         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23987         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23988         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23989         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23991 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23993         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23994         * nptl/pthread_mutex_lock.c: Likewise.
23995         * nptl/pthread_mutex_timedlock.c: Likewise.
23996         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23998 2014-07-01  Richard henderson  <rth@redhat.com>
24000         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24001         (__isnan, __isnanl): Remove.
24002         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24004         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24006 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24010 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24012         * resolv/nss_dns/dns-host.c (getanswer_r)
24013         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24015 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24018         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24019         undefine.
24020         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24021         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24023 2014-07-01  Roland McGrath <roland@hack.frob.com>
24025         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24026         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24028         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24029         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24031         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24032         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24033         ... here.
24034         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24035         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24037         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24038         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24039         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24040         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24042         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24043         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24044         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24045         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24046         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24047         Moved ...
24048         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24049         ... here.
24050         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24051         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24052         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24053         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24054         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24055         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24056         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24057         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24058         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24059         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24060         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24061         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24062         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24063         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24064         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24065         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24066         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24067         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24068         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24069         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24070         ... here.
24071         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24072         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24073         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24074         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24075         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24076         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24077         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24078         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24080 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24082         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24083         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24084         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24085         Add sysdep.
24087 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24091 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24093         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24094         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24096         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24098         * sysdeps/arm/libm-test-ulps: Regenerated.
24100 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24101             Roland McGrath <roland@hack.frob.com>
24103         * test-skeleton.c (signal_handler): Kill the whole process group
24104         before killing the child individually.
24105         (main): Report any failure on `setpgid'.
24107 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24110         from _TLS_H to _ARM_NPTL_TLS_H.
24111         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24112         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24114 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24116         [BZ #16539]
24117         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24118         (__expm1l): Return argument unchanged when small but not
24119         subnormal.
24121         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24122         include macro name.
24123         (_FP_UNPACK_RAW_1_P): Likewise.
24124         (_FP_PACK_RAW_1): Likewise.
24125         (_FP_PACK_RAW_1_P): Likewise.
24126         (_FP_MUL_MEAT_1_wide): Likewise.
24127         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24128         (_FP_MUL_MEAT_1_hard): Likewise.
24129         (_FP_DIV_MEAT_1_imm): Likewise.
24130         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24131         (_FP_DIV_MEAT_1_udiv): Likewise.
24132         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24133         (_FP_UNPACK_RAW_2): Likewise.
24134         (_FP_UNPACK_RAW_2_P): Likewise.
24135         (_FP_PACK_RAW_2): Likewise.
24136         (_FP_PACK_RAW_2_P): Likewise.
24137         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24138         (_FP_MUL_MEAT_2_wide): Likewise.
24139         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24140         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24141         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24142         (_FP_MUL_MEAT_2_gmp): Likewise.
24143         (_FP_DIV_MEAT_2_udiv): Likewise.
24144         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24145         (_FP_FRAC_SRL_4): Likewise.
24146         (_FP_FRAC_SRST_4): Likewise.
24147         (_FP_FRAC_SRS_4): Likewise.
24148         (_FP_UNPACK_RAW_4): Likewise.
24149         (_FP_UNPACK_RAW_4_P): Likewise.
24150         (_FP_PACK_RAW_4): Likewise.
24151         (_FP_PACK_RAW_4_P): Likewise.
24152         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24153         (_FP_MUL_MEAT_4_wide): Likewise.
24154         (_FP_MUL_MEAT_4_gmp): Likewise.
24155         (umul_ppppmnnn): Likewise.
24156         (_FP_DIV_MEAT_4_udiv): Likewise.
24157         (__FP_FRAC_ADD_4): Likewise.
24158         (__FP_FRAC_SUB_3): Likewise.
24159         (__FP_FRAC_SUB_4): Likewise.
24160         (__FP_FRAC_DEC_3): Likewise.
24161         (__FP_FRAC_DEC_4): Likewise.
24162         (__FP_FRAC_ADDI_4): Likewise.
24163         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24164         (_FP_FRAC_SRL_8): Likewise.
24165         (_FP_FRAC_SRS_8): Likewise.
24167         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24168         include macro name.
24169         (FP_UNPACK_RAW_EP): Likewise.
24170         (FP_PACK_RAW_E): Likewise.
24171         (FP_PACK_RAW_EP): Likewise.
24172         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24173         (_FP_ISSIGNAN): Likewise.
24174         (_FP_ADD_INTERNAL): Likewise.
24175         (_FP_FMA): Likewise.
24176         (_FP_CMP): Likewise.
24177         (_FP_SQRT): Likewise.
24178         (_FP_TO_INT): Likewise.
24179         (_FP_FROM_INT): Likewise.
24180         (FP_EXTEND): Likewise.
24181         (_FP_DIV_MEAT_N_loop): Likewise.
24183 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24185         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24186         throughout.
24188 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24190         [BZ #17097]
24191         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24192         result with correct sign in case of exponents that produce
24193         overflow except for X very close to 1.
24195 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24197         mktime: merge #if/#ifdef usage from glibc
24198         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24199         as that works with both Glibc's and Gnulib's style.
24200         See thread starting at Siddhesh Poyarekar's bug report at:
24201         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24203 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24205         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24206         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24207         * sysdeps/tile/tilegx/memmove.c: Remove file.
24209 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24211         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24212         abi-name definition.
24213         * scripts/soversions.awk: Do not handle or generate ABI lines.
24214         * shlib-versions: Remove ABI entries.
24215         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24216         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24218 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24221         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24222         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24223         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24225         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24227         Moved ...
24228         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24229         ... here.
24230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24231         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24233         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24235         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24237         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24239         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24241         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24243         Moved ...
24244         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24246         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24250         Moved ...
24251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24253         Moved ...
24254         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24258         Moved ...
24259         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24261         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24263         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24265         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24267         Moved ...
24268         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24270         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24271         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24272         Moved ...
24273         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24275         Moved ...
24276         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24278         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24280         Moved ...
24281         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24282         ... here.
24283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24284         Identical file removed.
24285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24286         Moved ...
24287         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24289         Identical file removed.
24290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24291         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24293         Moved ...
24294         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24296         Identical file removed.
24297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24298         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24300         Identical file removed.
24301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24302         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24304         Identical file removed.
24305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24306         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24308         Identical file removed.
24309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24310         Moved ...
24311         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24313         Identical file removed.
24314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24315         Moved ...
24316         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24317         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24318         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24320         Identical file removed.
24321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24322         Moved ...
24323         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24324         ... here.
24325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24326         Identical file removed.
24327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24328         Moved ...
24329         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24331         Identical file removed.
24332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24333         Moved ...
24334         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24336         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24338         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24340         Moved ...
24341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24342         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24343         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24345         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24346         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24347         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24348         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24349         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24351 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24353         [BZ #17092]
24354         * nscd/nscd.c (monitor_child): Return exit status of child
24355         instead of return value from wait syscall.
24357 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24359         * configure.ac (libc_commonpagesize): Remove variable.
24360         (libc_relro_required): Likewise.
24361         (libc_cv_z_relro): Remove configure test.
24362         * configure: Regenerated.
24363         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24364         variable.
24365         (libc_relro_required): Likewise.
24366         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24367         (libc_relro_required): Likewise.
24368         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24369         (libc_relro_required): Likewise.
24370         * sysdeps/arm/preconfigure: Regenerated.
24371         * sysdeps/ia64/preconfigure: Remove file.
24372         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24373         variable.
24374         (libc_relro_required): Likewise.
24376         [BZ #16561]
24377         [BZ #16562]
24378         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24379         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24380         recompute overflowing results in original rounding mode.
24381         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24382         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24383         recompute overflowing results in original rounding mode.
24384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24385         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24386         recompute overflowing results in original rounding mode.
24387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24388         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24389         recompute overflowing results in original rounding mode.
24390         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24391         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24392         recompute overflowing results in original rounding mode.
24393         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24394         (libc_feholdsetround_ctx): New macro.
24395         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24396         * sysdeps/i386/fpu/libm-test-ulps: Update.
24397         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24399 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24401         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24402         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24403         corresponding .cpsetup call.
24405 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24407         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24408         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24409         * sysdeps/arm/Makefile [$(subdir) = csu]
24410         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24411         (static-only-routines): Add aeabi_read_tp here.
24412         (shared-only-routines): Add libc-aeabi_read_tp here.
24413         (CFLAGS-libc-start.c): Add -fexceptions here.
24414         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24415         (sysdep_routines, static-only-routines, shared-only-routines):
24416         Don't add to these here.
24417         (CFLAGS-libc-start.c): Likewise.
24419         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24420         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24421         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24422         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24423         * sysdeps/arm/Makefile [$(subdir) = rt]
24424         (librt-sysdep_routines, librt-shared-only-routines):
24425         Append rt-aeabi_unwind_cpp_pr1 here.
24426         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24427         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24428         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24429         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24430         Append nptl-aeabi_unwind_cpp_pr1 here.
24431         (tests): Filter out tst-cleanupx4 here.
24432         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24433         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24434         Don't do those here.
24436 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24438         * scripts/list-sources.sh: Do not handle ports specially.
24440 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24442         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24443         * sysdeps/arm/feupdateenv.c: Likewise.
24445         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24447 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24449         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24450         trailing whitespace removed.
24451         * scripts/config.guess: Update to version 2014-03-23.
24452         * scripts/config.sub: Update to version 2014-05-01
24453         * scripts/install-sh: Update to version 2013-12-25.23.
24454         * scripts/move-if-change: Update from gnulib.
24456 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458         * debug/memmove_chk.c: Remove pagecopy.h include.
24460 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24462         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24463         identical to gnulib mktime.
24465 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24467         * configure.ac: Do not test for machine being rs6000.  Do not test
24468         for powerpc*-*soft.
24469         * configure: Regenerated.
24471         [BZ #11505]
24472         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24473         test.
24474         * configure: Regenerated.
24475         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24476         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24477         Remove configure test.
24478         * sysdeps/arm/configure: Regenerated.
24479         * sysdeps/nptl/configure.ac: Do not check
24480         libc_cv_asm_cfi_directives.
24481         * sysdeps/nptl/configure: Regenerated.
24482         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24483         * sysdeps/x86_64/nptl/configure: Remove generated file.
24484         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24485         unconditional.
24486         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24488 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24490         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24491         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24492         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24493         it is defined.
24495         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24496         instead of whether it is defined.
24497         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24498         * sysdeps/hppa/dl-machine.h: Likewise.
24499         * sysdeps/ia64/dl-machine.h: Likewise.
24500         * sysdeps/m68k/dl-machine.h: Likewise.
24501         * sysdeps/microblaze/dl-machine.h: Likewise.
24502         * sysdeps/mips/dl-machine.: Likewise.
24503         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24505         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24506         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24507         * sysdeps/sh/dl-machine.h: Likewise.
24508         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24509         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24510         * sysdeps/tile/dl-machine.h: Likewise.
24511         * sysdeps/x86_64/dl-machine.h: Likewise.
24513         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24514         code.
24515         (verify_persistent_db): Likewise.
24517 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24520         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24522         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24524         Moved ...
24525         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24526         ... here.
24527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24528         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24530         Identical file removed.
24531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24532         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24534         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24536         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24538         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24540         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24542         Moved ...
24543         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24545         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24547         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24549         Moved ...
24550         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24552         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24554         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24556         Identical file removed.
24557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24558         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24560         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24562         Moved ...
24563         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24564         ... here.
24565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24566         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24568         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24570         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24572         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24574         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24576         Moved ...
24577         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24579         Moved ...
24580         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24582         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24584         Moved ...
24585         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24587         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24590         folded into ...
24591         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24592         * sysdeps/unix/sysv/linux/s390/Versions
24593         (libpthread: GLIBC_2.19): New version set.
24594         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24595         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24596         (librt: GLIBC_2.3.3): New version set.
24597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24598         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24599         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24600         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24601         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24602         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24603         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24604         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24605         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24606         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24607         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24608         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24609         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24610         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24611         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24612         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24613         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24614         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24615         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24616         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24617         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24621         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24623         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24625         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24627         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24628         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24633         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24637         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24641         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24643         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24644         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24645         (__libc_vfork): Define the function under this name.
24646         [!NOT_IN_libc] (__vfork): Make this an alias.
24647         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24649         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24650         (__libc_vfork): Define the function under this name.
24651         [!NOT_IN_libc] (__vfork): Make this an alias.
24652         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24653         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24654         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24657         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24659         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24660         code that was previously under [RESET_PID].
24661         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24662         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24665         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24666         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24667         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24668         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24669         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24670         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24671         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24672         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24673         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24674         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24675         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24676         Moved ...
24677         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24678         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24679         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24680         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24681         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24682         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24683         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24684         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24685         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24686         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24687         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24688         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24689         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24690         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24691         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24692         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24693         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24694         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24695         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24696         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24697         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24698         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24699         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24700         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24701         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24702         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24703         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24705         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24707 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24709         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24710         that was previously under [RESET_PID].
24711         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24713 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24715         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24716         not undefine and redefine.
24717         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24718         [O_CLOEXEC]: Make code unconditional.
24719         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24720         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24721         <kernel-features.h>.
24722         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24723         conditional variable definition.
24724         (shm_open) [O_CLOEXEC]: Make code unconditional.
24725         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24726         code.
24728         * configure.ac (USE_REGPARMS): Don't define here.
24729         * configure: Regenerated.
24730         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24731         * sysdeps/i386/configure: Regenerated.
24733         * nptl/createthread.c: Don't include kernel-features.h.
24734         * nptl/pthread_cancel.c: Likewise.
24735         * nptl/pthread_condattr_setclock.c: Likewise.
24736         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24737         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24738         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24739         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24740         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24741         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24745         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24746         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24747         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24748         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24749         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24750         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24751         * nscd/gai.c: Likewise.
24752         * nss/nss_db/db-open.c: Likewise.
24753         * sysdeps/generic/ldsodefs.h: Likewise.
24754         * sysdeps/sh/nptl/tls.h: Likewise.
24755         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24756         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24757         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24758         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24759         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24760         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24761         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24762         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24763         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24764         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24765         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24766         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24767         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24768         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24769         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24770         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24771         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24772         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24773         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24774         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24777         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24778         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24779         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24783         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24784         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24785         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24786         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24787         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24788         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24789         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24790         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24791         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24792         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24793         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24794         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24795         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24796         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24797         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24798         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24799         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24800         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24801         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24802         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24803         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24804         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24805         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24806         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24807         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24808         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24809         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24810         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24811         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24812         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24835         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24836         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24837         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24838         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24839         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24840         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24841         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24842         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24843         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24844         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24845         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24846         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24847         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24848         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24849         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24850         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24851         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24852         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24853         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24854         * sysdeps/unix/sysv/linux/system.c: Likewise.
24855         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24856         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24857         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24858         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24859         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24860         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24861         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24863         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24864         * configure: Regenerated.
24865         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24867         * configure.ac (base_machine): Do not set specially for particular
24868         machines here.
24869         * configure: Regenerated.
24870         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24871         settings from configure.ac.
24872         * sysdeps/i386/preconfigure: New file.
24873         * sysdeps/s390/preconfigure: Likewise.
24874         * sysdeps/sh/preconfigure: Likewise.
24875         * sysdeps/sparc/preconfigure: Likewise.
24877 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24879         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24880         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24881         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24882         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24883         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24884         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24885         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24886         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24887         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24888         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24889         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24890         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24891         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24893         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24895         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24896         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24897         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24899         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24900         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24901         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24902         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24903         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24904         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24905         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24906         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24907         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24908         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24909         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24910         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24911         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24912         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24913         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24914         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24915         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24916         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24917         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24918         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24920         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24926         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24927         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24930         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24932         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24933         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24934         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24936         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24939         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24941         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24943         Moved ...
24944         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24945         ... here.
24946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24947         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24949         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24951         Moved ...
24952         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24954         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24956         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24958         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24960         Moved ...
24961         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24963         Moved ...
24964         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24966         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24968         Moved ...
24969         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24971         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24973         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24975         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24977         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24979         Moved ...
24980         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24981         ... here.
24982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24983         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24985         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24987         Moved ...
24988         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24990         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24992         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24994         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24996         Moved ...
24997         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24999         Moved ...
25000         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25002         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25004         Moved ...
25005         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25007         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25009         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25011 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25013         * timezone/checktab.awk: Update from tzcode 2014e.
25014         * timezone/private.h: Likewise.
25015         * timezone/tzfile.h: Likewise.
25016         * timezone/zdump.c: Likewise.
25017         * timezone/zic.c: Likewise.
25019         * sysdeps/unix/sysv/linux/kernel-features.h
25020         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25021         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25022         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25023         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25024         Remove conditional code.
25026 2014-06-25  Will Newton  <will.newton@linaro.org>
25028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25029         (_dl_arm_cap_flags): Add HWCAP2 values.
25030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25031         (_DL_HWCAP_COUNT): Increase to 37.
25032         (_DL_HWCAP_LAST): New define.
25033         (_DL_HWCAP2_LAST): New define.
25034         (_dl_procinfo): Add support for printing
25035         AT_HWCAP2 entries.
25036         (_dl_string_hwcap): Use _dl_hwcap_string.
25038 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25042 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25044         * README: Do not mention ports directory.
25046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25047         Remove macro.
25048         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25049         <kernel-features.h>.
25050         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25051         conditional variable definition.
25052         (__futimes): Update comment.
25053         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25054         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25056         [BZ #16560]
25057         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25058         arguments close to 0.
25059         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25060         Likewise.
25061         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25062         Likewise.
25063         * math/auto-libm-test-in: Add more tests of exp10.
25064         * math/auto-libm-test-out: Regenerated.
25065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25067         * sysdeps/unix/sysv/linux/kernel-features.h
25068         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25069         * sysdeps/unix/sysv/linux/readv.c: Do not include
25070         <kernel-features.h>.
25071         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25072         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25073         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25074         unconditional.
25075         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25076         conditional code.
25077         * sysdeps/unix/sysv/linux/writev.c: Do not include
25078         <kernel-features.h>.
25079         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25080         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25081         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25082         unconditional.
25083         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25084         conditional code.
25086 2014-06-25  Will Newton  <will.newton@linaro.org>
25088         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25089         comment changes throughout the file.  Remove checks
25090         for HAVE_*_H definitions that are not required.
25091         (__gen_tempname): Call abort if an unknown kind value is
25092         passed.
25094 2014-06-25  Andreas Schwab  <schwab@suse.de>
25096         [BZ #17086]
25097         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25098         scalbln, scalblnf, scalblnl in libc.
25100 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102         [BZ #17086]
25103         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25104         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25105         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25107 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25109         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25110         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25111         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25112         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25113         Update #include.
25114         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25115         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25116         Update #include.
25117         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25118         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25119         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25120         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25121         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25122         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25123         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25124         * sysdeps/x86/bits/semaphore.h: ... here.
25125         * sysdeps/x86/nptl/elide.h: Moved ...
25126         * sysdeps/x86/elide.h: ... here.
25127         * sysdeps/x86_64/nptl/Implies: File removed.
25128         * sysdeps/i386/nptl/Implies: File removed.
25130 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25132         [BZ #16539]
25133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25134         return the argument for normal arguments with exponent below -64.
25135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25136         Likewise.
25137         * math/auto-libm-test-in: Add another test of expm1.
25138         * math/auto-libm-test-out: Regenerated.
25140         [BZ #16287]
25141         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25142         calling __erfcl for arguments at least 16.
25143         * math/auto-libm-test-in: Add more tests of erf.
25144         * math/auto-libm-test-out: Regenerated.
25146         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25147         individual architectures.
25148         * sysdeps/unix/sysv/linux/configure: Regenerated.
25149         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25150         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25151         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25152         (ldd_rewrite_script): Define variable.
25153         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25155         file.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25157         generated file.
25158         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25159         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25160         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25161         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25162         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25163         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25164         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25165         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25167 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25169         [BZ #17084]
25170         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25171         Rename member __data.d to __data.__elision_data.
25173 2014-06-24  Wilco  <wdijkstr@arm.com>
25175         * NEWS: Add 16918 to fixed bug list.
25177 2014-06-24  Wilco  <wdijkstr@arm.com>
25179         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25181 2014-06-24  Wilco  <wdijkstr@arm.com>
25183         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25184         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25185         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25186         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25187         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25188         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25189         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25190         Use _FPU_MASK_RM.
25192 2014-06-24  Wilco  <wdijkstr@arm.com>
25194         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25196 2014-06-24  Wilco  <wdijkstr@arm.com>
25198         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25199         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25200         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25201         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25203 2014-06-24  Wilco  <wdijkstr@arm.com>
25205         [BZ #16918]
25206         * sysdeps/arm/feupdateenv.c (feupdateenv):
25207         Rewrite to reduce FPSCR accesses and fix return value.
25209 2014-06-24  Wilco  <wdijkstr@arm.com>
25211         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25212         Optimize to avoid unnecessary FPSCR writes.
25213         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25214         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25215         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25216         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25218 2014-06-24  Wilco  <wdijkstr@arm.com>
25220         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25221         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25222         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25223         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25224         Call libc_fetestexcept_vfp.
25225         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25226         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25227         __SOFTFP__ ifdef so that they can be built for softfp.
25229 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25231         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25232         argument type signed char.
25234         * Makerules (check-abi): Dump diff of symlist if the test
25235         fails.
25237 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25239         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25240         using abort.
25242         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25243         Remove unused variable ST.
25245 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25247         [BZ #16354]
25248         [BZ #17061]
25249         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25250         small arguments before calling __expm1.
25251         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25252         small arguments before calling __expm1f.
25253         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25254         small arguments before calling __expm1l.
25255         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25256         Likewise.
25257         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25258         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25259         spurious underflow for some cosh tests.
25260         * math/auto-libm-test-out: Regenerated.
25261         * sysdeps/i386/fpu/libm-test-ulps: Update.
25263         [BZ #17050]
25264         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25265         (__ieee754_y1): Set errno if return value overflows.
25266         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25267         (__ieee754_y1f): Set errno if return value overflows.
25268         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25269         (__ieee754_y1l): Set errno if return value overflows.
25270         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25271         (__ieee754_y1l): Set errno if return value overflows.
25272         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25273         * math/auto-libm-test-out: Regenerated.
25275         * math/gen-auto-libm-tests.c: Document use of
25276         ignore-zero-inf-sign.
25277         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25278         (input_flags): Add ignore-zero-inf-sign.
25279         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25280         * math/gen-libm-test.pl (generate_testfile): Handle
25281         ignore-zero-inf-sign.
25282         * math/auto-libm-test-in: Mark some cpow tests with
25283         ignore-zero-inf-sign and some with xfail-rounding.
25284         * math/auto-libm-test-out: Regenerated.
25285         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25286         * sysdeps/i386/fpu/libm-test-ulps: Update.
25287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25289         [BZ #16315]
25290         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25291         overflowing or underflowing operations take place with sign of
25292         result.
25293         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25294         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25295         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25296         (__ieee754_pow): Recompute overflowing and underflowing results in
25297         original rounding mode.
25298         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25299         (__powl_helper): Allow negative argument X and scale negated value
25300         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25301         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25302         overflowing or underflowing operations take place with sign of
25303         result.
25304         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25305         Include <math.h>.
25306         * math/auto-libm-test-in: Add more tests of pow.
25307         * math/auto-libm-test-out: Regenerated.
25308         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25309         (pow_tonearest_test_data): Remove.
25310         (pow_test_tonearest): Likewise.
25311         (pow_towardzero_test_data): Likewise.
25312         (pow_test_towardzero): Likewise.
25313         (pow_downward_test_data): Likewise.
25314         (pow_test_downward): Likewise.
25315         (pow_upward_test_data): Likewise.
25316         (pow_test_upward): Likewise.
25317         (main): Don't call removed functions.
25318         * sysdeps/i386/fpu/libm-test-ulps: Update.
25319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25324         Moved ...
25325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25327         Moved ...
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25330         Moved ...
25331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25333         Moved ...
25334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25336         File removed.
25337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25338         File removed.
25339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25340         File removed.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25342         File removed.
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25344         File removed.
25345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25346         File removed.
25347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25348         File removed.
25349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25350         File removed.
25351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25352         File removed.
25353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25354         File removed.
25355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25356         File removed.
25357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25358         File removed.
25359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25360         Moved ...
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25363         Moved ...
25364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25365         ... here.
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25367         Moved ...
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25370         Moved ...
25371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25373         Moved ...
25374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25376         Moved ...
25377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25379         Moved ...
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25382         Moved ...
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25385         Moved ...
25386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25389         ... here.
25390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25391         Moved ...
25392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25394         Moved ...
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25396         ... here.
25397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25398         Moved ...
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25400         ... here.
25401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25402         Moved ...
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25404         ... here.
25405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25406         Moved ...
25407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25409         Moved ...
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25414         Moved ...
25415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25416         ... here.
25417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25418         Moved ...
25419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25420         ... here.
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25422         Moved ...
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25425         Moved ...
25426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25428         Moved ...
25429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25431         Moved ...
25432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25434         Moved ...
25435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25436         ... here.
25437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25438         Moved ...
25439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25441         Moved ...
25442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25444         Moved ...
25445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25447         Moved ...
25448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25452         Moved ...
25453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25455         Moved ...
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25458         Moved ...
25459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25460         ... here.
25461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25462         Moved ...
25463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25464         ... here.
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25466         Moved ...
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25468         ... here.
25469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25470         Moved ...
25471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25473         Moved ...
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25476         Moved ...
25477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25479         Moved ...
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25481         ... here.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25483         Moved ...
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25485         ... here.
25486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25487         Moved ...
25488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25489         ... here.
25490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25491         Moved ...
25492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25494         Moved ...
25495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25497 2014-06-23  Will Newton  <will.newton@linaro.org>
25498             Wilco  <wdijkstr@arm.com>
25500         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25501         implementation.  Include get-rounding-mode.h.
25502         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25503         [!libc_feholdsetround_noex_ctx]: Define
25504         libc_feholdsetround_noex_ctx.
25505         [!libc_feholdsetround_noexf_ctx]: Define
25506         libc_feholdsetround_noexf_ctx.
25507         [!libc_feholdsetround_noexl_ctx]: Define
25508         libc_feholdsetround_noexl_ctx.
25509         (libc_feholdsetround_ctx): New function.
25510         (libc_feresetround_ctx): New function.
25511         (libc_feholdsetround_noex_ctx): New function.
25512         (libc_feresetround_noex_ctx): New function.
25514 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25516         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25517         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25518         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25519         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25520         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25521         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25523         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25524         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25525         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25526         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25527         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25528         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25530         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25532         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25534         Moved ...
25535         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25536         ... here.
25537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25538         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25540         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25542         Moved ...
25543         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25545         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25547         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25549         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25551         Moved ...
25552         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25554         Moved ...
25555         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25557         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25559         Moved ...
25560         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25562         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25563         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25564         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25565         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25566         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25568         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25570         Moved ...
25571         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25572         ... here.
25573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25574         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25578         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25580         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25582         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25584         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25586         Moved ...
25587         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25589         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25591         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25593         Moved ...
25594         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25596         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25597         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25598         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25600         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25601         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25602         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25603         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25604         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25605         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25606         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25607         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25609         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25610         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25611         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25612         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25613         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25614         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25615         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25616         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25617         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25618         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25619         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25620         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25621         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25622         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25623         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25624         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25625         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25626         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25627         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25629 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25632         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25633         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25634         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25635         (IPV6_PMTUDISC_INTERFACE): Likewise.
25636         (IPV6_PMTUDISC_OMIT): Likewise.
25638 2014-06-23  Andreas Schwab  <schwab@suse.de>
25640         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25641         Remove unused errout label.
25643 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25645         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25646         macro: hardware supports Vector Crypto instructions.
25648 2014-06-23  Will Newton  <will.newton@linaro.org>
25650         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25651         rather than __builtin_expect.
25653         * elf/dl-lookup.c (undefined_msg): Remove variable.
25654         (_dl_lookup_symbol_x): Replace undefined_msg with string
25655         literal.
25657         * elf/dl-lookup.c (do_lookup_unique): New function.
25658         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25659         to a separate function.
25661 2014-06-23  Andreas Schwab  <schwab@suse.de>
25663         [BZ #17079]
25664         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25665         before reading the next line.
25667 2014-06-23  Will Newton  <will.newton@linaro.org>
25669         * test-skeleton.c (signal_handler): Use printf and %m
25670         rather than perror.  Use printf rather than fprintf to
25671         stderr.  Use puts rather than fputs to stderr.
25672         (main): Likewise.
25674 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25676         * nscd/nscd.c (thread_info_t): Remove typedef.
25677         (thread_info): Remove variable.
25679 2014-06-21  Allan McRae  <allan@archlinux.org>
25681         * NEWS: Mention CVE-2014-4043.
25683 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25685         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25686         * nptl/smp.h: ... here.
25688         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25690         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25691         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25692         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25693         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25695         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25696         * nptl/stack-aliasing.h: New file.
25697         * sysdeps/i386/i686/stack-aliasing.h: New file.
25698         * sysdeps/i386/i686/nptl/Makefile: File removed.
25699         * sysdeps/x86_64/stack-aliasing.h: New file.
25700         * sysdeps/x86_64/nptl/Makefile
25701         (CFLAGS-pthread_create.c): Variable removed.
25703         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25704         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25705         old file.
25706         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25707         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25708         old file.
25710 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25713         (__ASSUME_SIGFRAME_V2): Remove macro.
25714         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25715         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25716         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25717         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25718         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25719         Declare as function.  Remove conditional macro definitions.
25720         (__default_rt_sa_restorer): Likewise.
25721         (__default_sa_restorer_v1): Remove declaration.
25722         (__default_sa_restorer_v2): Likewise.
25723         (__default_rt_sa_restorer_v1): Likewise.
25724         (__default_rt_sa_restorer_v2): Likewise.
25725         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25726         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25727         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25729 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25731         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25732         (libpthread-routines): Add sysdep.
25733         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25734         * sysdeps/unix/sysv/linux/sparc/Versions
25735         (libpthread: GLIBC_2.3.3): New version set.
25736         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25737         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25738         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25739         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25740         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25741         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25742         Moved ...
25743         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25744         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25745         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25746         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25747         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25748         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25749         * sysdeps/sparc/nptl/sem_init.c: ... here.
25750         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25751         * sysdeps/sparc/nptl/sem_post.c: ... here.
25752         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25753         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25754         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25755         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25756         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25758         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25759         (libpthread-routines): Add cpu_relax.
25760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25761         File removed.
25762         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25763         (librt: GLIBC_2.3.3): New version set.
25764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25765         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25767         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25770         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25772         Moved ...
25773         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25775         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25777         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25779         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25781         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25783         Moved ...
25784         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25785         Update #include.
25786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25787         Moved ...
25788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25789         Update #include.
25790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25791         Moved ...
25792         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25793         Update #include.
25794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25795         Moved ...
25796         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25797         Update #include.
25798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25799         Moved ...
25800         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25801         Update #include.
25802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25803         Moved ...
25804         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25805         Update #include.
25806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25807         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25813         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25815         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25817         Moved ...
25818         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25820         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25822         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25824 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25826         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25827         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25828         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25829         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25830         * nscd/nscd.c: Likewise.
25831         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25832         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25833         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25834         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25836         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25837         <kernel-features.h>.
25838         (init_mq_netlink): Remove conditional have_sock_cloexec
25839         definitions.  Remove code conditional on have_sock_cloexec < 0.
25840         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25841         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25842         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25843         <kernel-features.h>.
25844         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25845         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25847 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25850         Add tests for memset_chk and memset.
25852         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25853         with AVX2_Usable.
25855 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25857         [BZ #16046]
25858         * elf/tst-dl-iter-static.c: New file.
25859         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25861         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25862         error.
25864 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25866         * sysdeps/unix/sysv/linux/kernel-features.h
25867         (__ASSUME_F_GETOWN_EX): Remove macro.
25868         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25869         <kernel-features.h>.
25870         (miss_F_GETOWN_EX): Remove variable or macro.
25871         (do_fcntl): Do not check miss_F_GETOWN_EX.
25872         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25874         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25875         Remove macro.
25876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25877         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25878         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25880         * sysdeps/unix/sysv/linux/kernel-features.h
25881         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25882         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25883         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25884         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25886 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25888         [BZ #17075]
25889         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25890         Fix calculation of the symbol's value.
25891         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25892         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25893         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25894         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25895         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25896         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25897         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25898         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25899         (modules-names): Add `tst-armtlsdescmod',
25900         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25901         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25902         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25903         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25904         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25905         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25906         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25907         ($(objpfx)tst-armtlsdescloc): New dependency.
25908         ($(objpfx)tst-armtlsdescextnow): Likewise.
25909         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25910         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25911         TLS scheme support.
25912         * sysdeps/arm/configure: Regenerate.
25914 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25916         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25917         (__atfct_seterrno_2): Likewise.
25918         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25919         <kernel-features.h>.
25920         (__ASSUME_ATFCTS): Do not undefine and redefine.
25921         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25922         (__have_atfcts): Remove conditional definition.
25923         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25924         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25925         unreachable if [__ASSUME_ATFCTS].
25926         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25927         not undefine and redefine.
25928         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25929         <kernel-features.h>.
25930         (faccessat) [__NR_faccessat]: Make code unconditional.
25931         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25932         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25933         <kernel-features.h>.
25934         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25935         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25936         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25937         <kernel-features.h>.
25938         (fchownat) [__NR_fchownat]: Make code unconditional.
25939         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25940         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25941         <kernel-features.h>.
25942         (futimesat) [__NR_futimesat]: Make code unconditional.
25943         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25944         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25945         <kernel-features.h>.
25946         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25947         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25948         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25949         <kernel-features.h>.
25950         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25951         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25952         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25953         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25954         <kernel-features.h>.
25955         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25956         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25957         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25958         <kernel-features.h>.
25959         (linkat) [__NR_linkat]: Make code unconditional.
25960         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25961         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25962         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25963         <kernel-features.h>.
25964         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25965         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25966         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25967         <kernel-features.h>.
25968         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25969         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25970         * sysdeps/unix/sysv/linux/openat.c: Do not include
25971         <kernel-features.h>.
25972         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25973         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25974         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25975         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25976         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25977         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25978         <kernel-features.h>.
25979         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25980         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25981         result of INLINE_SYSCALL directly, not via int variable.
25982         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25983         <kernel-features.h>.
25984         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25985         (renameat) [__NR_renameat]: Make code unconditional.
25986         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25987         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25988         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25989         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25990         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25991         (__ASSUME_ATFCTS): Do not undefine and redefine.
25992         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25993         <kernel-features.h>.
25994         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25995         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25996         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25997         <kernel-features.h>.
25998         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25999         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26000         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26001         (__ASSUME_ATFCTS): Do not undefine and redefine.
26002         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26003         <kernel-features.h>.
26004         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26005         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26006         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26007         <kernel-features.h>.
26008         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26009         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26011 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26013         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26015 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26017         [BZ #17069]
26018         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26019         constructed tree before returning error.
26020         * posix/bug-regexp36.c: Expand test case.
26022 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26024         [BZ #6803]
26025         * math/libm-test.inc (scalbln_test_date):
26026         Add errno expectations.
26027         * math/w_scalblnf.c: New File.
26028         Add wrapper which checks for setting errno to ERANGE.
26029         Add weak_alias for corresponding scalbln function.
26030         * math/w_scalbln.c: Likewise.
26031         * math/w_scalblnl.c: Likewise.
26032         * math/Makefile (libm-calls): Add w_scalbln.
26033         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26034         Remove weak_alias for corresponding scalbln function.
26035         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26036         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26037         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26038         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26039         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26040         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26041         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26042         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26043         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26044         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26045         Remove long_double_symbol for scalblnl function in libm, libc.
26046         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26047         Add wrapper which checks for setting errno to ERANGE.
26048         Add long_double_symbol for scalblnl function in libm, libc.
26049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26050         Remove long_double_symbol for scalblnl in libm.
26051         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26052         Add wrapper which checks for setting errno to ERANGE.
26053         Add long_double_symbol for scalblnl function in libm.
26054         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26055         Do not use wrapper because of own implementation.
26057 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26059         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26060         3 bytes for __pad1 for x32.
26061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26063 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26064             H.J. Lu  <hongjiu.lu@intel.com>
26066         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26067         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26068         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26069         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26070         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26072 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26074         [BZ #17069]
26075         * posix/regcomp.c (parse_expression): Deallocate partially
26076         constructed tree before returning error.
26077         * posix/Makefile.c (tests): Add bug-regex36.
26078         (generated): Add bug-regex36.mtrace.
26079         (tests-special): Add $(objpfx)bug-regex36-mem.out
26080         (bug-regex36-ENV): New variable.
26081         ($(objpfx)bug-regex36-mem.out): New rule.
26082         * posix/bug-regex36.c: New file.
26084 2014-06-19  Will Newton  <will.newton@linaro.org>
26086         * malloc/malloc.c (systrim): If extra is zero then return
26087         early.
26089 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26091         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26093 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26095         * sysdeps/aarch64/strchr.S: New file.
26097 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26099         [BZ #17022]
26100         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26101         from arguments -2 or below.
26102         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26103         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26105 2014-06-18  Andreas Schwab  <schwab@suse.de>
26107         [BZ #17062]
26108         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26109         of a bracket expr not to run off the end of the string.
26110         * posix/Makefile (tests): Add tst-fnmatch3.
26111         * posix/tst-fnmatch3.c: New file.
26113 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26115         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26116         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26117         [$(cross-compiling) = no]: Likewise.
26118         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26119         [$(cross-compiling) = no]: Likewise.
26121 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26123         [BZ #17031]
26124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26125         double, adjusted for any remainder from the high double.
26126         * math/libm-test.inc (nearbyint): Add tests.
26127         (rint): Likewise.
26129 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26131         * nptl/sysdeps/powerpc/Makefile: Moved ...
26132         * sysdeps/powerpc/nptl/Makefile: ... here.
26133         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26134         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26135         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26136         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26137         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26138         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26139         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26140         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26141         * nptl/sysdeps/powerpc/tls.h: Moved ...
26142         * sysdeps/powerpc/nptl/tls.h: ... here.
26144 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26146         [BZ #16681]
26147         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26148         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26149         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26150         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26151         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26152         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26153         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26154         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26155         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26157 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26159         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26161 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26163         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26164         defined operator.
26166         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26167         $TIMEOUTFACTOR.
26169 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26171         [BZ #17058]
26172         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26173         non-executed part of the test.
26175 2014-06-16  Andreas Schwab  <schwab@suse.de>
26177         * string/bits/string2.h (strdup, strndup): Update feature guard.
26179 2014-06-14  David S. Miller  <davem@davemloft.net>
26181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26183 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26185         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26186         that was previously under [RESET_PID].
26187         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26189         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26190         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26191         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26193         (__libc_vfork): New strong alias.
26194         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26196 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26198         * sysdeps/generic/elide.h: New file.
26200 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26202         * Makefile (installed-headers): Adjust path of pthread.h header.
26204 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26206         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26207         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26208         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26209         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26211         * nptl/sysdeps/s390/Makefile: Moved ...
26212         * sysdeps/s390/nptl/Makefile: ... here.
26213         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26214         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26215         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26216         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26217         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26218         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26219         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26220         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26221         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26222         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26223         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26224         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26225         * nptl/sysdeps/s390/tls.h: Moved ...
26226         * sysdeps/s390/nptl/tls.h: ... here.
26228         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26229         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26231 2014-06-13  David S. Miller  <davem@davemloft.net>
26233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26236         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26240         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26241         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26242         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26243         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26244         Remove RESET_PID cpp guards.
26245         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26246         Remove RESET_PID cpp guards.
26247         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26249 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26251         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26252         __sp to uintptr_t.
26254 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26258         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26259         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26260         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26262         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26265         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26272         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26274         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26277         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26278         (pthread_rwlock_rdlock): Add elision.
26279         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26280         (pthread_rwlock_wrlock): Add elision.
26281         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26282         (pthread_rwlock_trywrlock): Add elision.
26283         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26284         (pthread_rwlock_tryrdlock): Add elision.
26285         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26286         (pthread_rwlock_tryrdlock): Add elision unlock.
26287         * nptl/sysdeps/pthread/pthread.h:
26288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26289         (PTHREAD_RWLOCK_INITIALIZER,
26290         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26291         Handle new elision field.
26292         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26293         * sysdeps/arm/nptl/bits/pthreadtypes.h
26294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26295         * sysdeps/sh/nptl/bits/pthreadtypes.h
26296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26297         * sysdeps/tile/nptl/bits/pthreadtypes.h
26298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26299         * sysdeps/a/nptl/bits/pthreadtypes.h
26300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26301         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26305         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26307         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26311         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26313         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26315         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26317         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26318         (elision_init): Set try_xbegin to zero when no RTM.
26319         * sysdeps/x86/nptl/bits/pthreadtypes.h
26320         (pthread_rwlock_t): Change __pad1 to __rwelision.
26321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26323 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26325         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26326         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26327         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26328         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26330 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26332         [BZ #16996]
26333         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26334         that the cached result has been set before returning it.
26336 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26339         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26340         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26341         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26342         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26343         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26345         * nptl/sysdeps/sparc/Makefile: Moved ...
26346         * sysdeps/sparc/nptl/Makefile: ... here.
26347         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26348         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26349         * nptl/sysdeps/sparc/tls.h: Moved ...
26350         * sysdeps/sparc/nptl/tls.h: ... here.
26351         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26352         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26353         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26354         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26355         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26356         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26357         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26358         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26359         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26360         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26361         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26362         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26363         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26364         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26365         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26366         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26367         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26369         Update #include.
26370         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26372         Update #include.
26373         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26375         Update #include.
26376         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26378         Update #include.
26380         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26382         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26383         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26385         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26386         (struct list_links): Type removed.
26387         (struct thread_node, struct timer_node): Replace struct list_links
26388         with struct list_head.
26389         (list_unlink_ip): Likewise.
26390         * sysdeps/pthread/timer_routines.c
26391         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26392         (list_append, list_insbefore): Likewise.
26393         (list_init): Function removed.
26394         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26395         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26396         * sysdeps/pthread/Makefile: ... here, new file.
26398         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26399         * sysdeps/nptl/Implies: ... here.
26400         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26401         * nptl/sysdeps/pthread/list.h: Moved ...
26402         * include/list.h: ... here.
26403         * nptl/sysdeps/pthread/createthread.c: Moved ...
26404         * nptl/createthread.c: ... here.
26405         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26406         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26407         * nptl/pt-longjmp.c: ... here.
26408         * nptl/sysdeps/pthread/Makefile: Moved ...
26409         * sysdeps/nptl/Makefile: ... here.
26410         * nptl/sysdeps/pthread/Subdirs: Moved ...
26411         * sysdeps/nptl/Subdirs: ... here.
26412         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26413         * sysdeps/nptl/aio_misc.h: ... here.
26414         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26415         * sysdeps/nptl/bits/libc-lock.h: ... here.
26416         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26417         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26418         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26419         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26420         * nptl/sysdeps/pthread/configure: Moved ...
26421         * sysdeps/nptl/configure: ... here.
26422         * nptl/sysdeps/pthread/configure.ac: Moved ...
26423         * sysdeps/nptl/configure.ac: ... here.
26424         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26425         * sysdeps/nptl/gai_misc.h: ... here.
26426         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26427         * sysdeps/nptl/librt-cancellation.c: ... here.
26428         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26429         * sysdeps/nptl/malloc-machine.h: ... here.
26430         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26431         * sysdeps/nptl/pthread-functions.h: ... here.
26432         * nptl/sysdeps/pthread/pthread.h: Moved ...
26433         * sysdeps/nptl/pthread.h: ... here.
26434         * nptl/sysdeps/pthread/setxid.h: Moved ...
26435         * sysdeps/nptl/setxid.h: ... here.
26436         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26437         * sysdeps/nptl/sigfillset.c: ... here.
26438         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26439         * sysdeps/nptl/tcb-offsets.h: ... here.
26440         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26441         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26442         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26443         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26444         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26445         * sysdeps/pthread/allocalim.h: ... here.
26446         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26447         * sysdeps/pthread/bits/sigthread.h: ... here.
26448         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26449         * sysdeps/pthread/flockfile.c: ... here.
26450         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26451         * sysdeps/pthread/ftrylockfile.c: ... here.
26452         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26453         * sysdeps/pthread/funlockfile.c: ... here.
26454         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26455         * sysdeps/pthread/posix-timer.h: ... here.
26456         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26457         * sysdeps/pthread/timer_create.c: ... here.
26458         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26459         * sysdeps/pthread/timer_delete.c: ... here.
26460         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26461         * sysdeps/pthread/timer_getoverr.c: ... here.
26462         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26463         * sysdeps/pthread/timer_gettime.c: ... here.
26464         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26465         * sysdeps/pthread/timer_routines.c: ... here.
26466         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26467         * sysdeps/pthread/timer_settime.c: ... here.
26468         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26469         * sysdeps/pthread/tst-timer.c: ... here.
26470         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26471         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26473         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26474         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26476         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26477         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26478         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26479         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26480         Update #include target.
26481         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26482         * sysdeps/i386/i686/nptl/Makefile: ... here.
26483         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26484         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26485         Update #include target.
26486         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26487         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26488         * nptl/sysdeps/i386/Makefile: Moved ...
26489         * sysdeps/i386/nptl/Makefile: ... here.
26490         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26491         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26492         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26493         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26494         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26495         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26496         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26497         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26498         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26499         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26500         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26501         * nptl/sysdeps/i386/tls.h: Moved ...
26502         * sysdeps/i386/nptl/tls.h: ... here.
26504         * sysdeps/sh/Makefile [$(subdir) = csu]
26505         (gen-as-const-headers): Add tcb-offsets.sym.
26506         * nptl/sysdeps/sh/Makefile: File removed.
26507         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26508         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26509         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26510         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26511         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26512         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26513         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26514         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26515         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26516         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26517         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26518         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26519         * nptl/sysdeps/sh/tls.h: Moved ...
26520         * sysdeps/sh/nptl/tls.h: ... here.
26521         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26522         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26523         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26524         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26525         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26526         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26527         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26529         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26530         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26532         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26534         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26536         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26538         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26540         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26542         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26546         Moved ...
26547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26549         Moved ...
26550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26552         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26554         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26555         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26556         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26557         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26558         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26559         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26560         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26561         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26562         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26563         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26564         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26565         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26566         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26567         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26568         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26570 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26572         * posix/spawn_faction_addopen.c: Include string.h.
26574 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26576         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26577         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26578         * nptl/sysdeps/x86_64/Makefile: Moved ...
26579         * sysdeps/x86_64/nptl/Makefile: ... here.
26580         * nptl/sysdeps/x86_64/configure: Moved ...
26581         * sysdeps/x86_64/nptl/configure: ... here.
26582         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26583         * sysdeps/x86_64/nptl/configure.ac: ... here.
26584         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26585         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26586         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26587         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26588         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26589         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26590         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26591         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26592         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26593         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26594         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26595         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26596         * nptl/sysdeps/x86_64/tls.h: Moved ...
26597         * sysdeps/x86_64/nptl/tls.h: ... here.
26598         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26599         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26600         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26601         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26603         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26605 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26609 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26611         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26612         type.
26613         [POSIX] (off_t): Likewise.
26614         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26615         [POSIX] (S_ISBLK): Require macro.
26616         [POSIX] (S_ISCHR): Likewise.
26617         [POSIX] (S_ISDIR): Likewise.
26618         [POSIX] (S_ISFIFO): Likewise.
26619         [POSIX] (S_ISREG): Likewise.
26620         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26621         optional-macro.
26622         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26623         type.
26624         [POSIX] (time_t): Likewise.
26625         [POSIX] (timer_t): Likewise.
26627 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26629         [BZ #17048]
26630         * posix/spawn_int.h (struct __spawn_action): Make the path string
26631         non-const to support deallocation.
26632         * posix/spawn_faction_addopen.c
26633         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26634         * posix/spawn_faction_destroy.c
26635         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26636         path in all spawn_do_open actions.
26637         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26638         posix_spawn_file_actions_addopen.
26640 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26642         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26643         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26644         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26645         conditional code always true.
26646         (__libc_vfork): New alias.
26648 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26650         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26651         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26653         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26655         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26656         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26658         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26659         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26661         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26662         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26664 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26666         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26667         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26668         multiarch strcmp for PPC64.
26669         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26670         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26672         multiarch optimizations.
26673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26674         (__libc_ifunc_impl_list): Likewise.
26676 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26678         * benchtests/scripts/validate_benchout.py: New script.
26679         * benchtests/Makefile (bench-func): Call it.
26680         * benchtests/scripts/benchout.schema.json: New file.
26682 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26684         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26685         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26686         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26687         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26688         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26689         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26690         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26691         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26692         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26693         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26694         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26695         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26696         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26697         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26698         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26699         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26701         Moved ...
26702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26703         ... here.
26704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26705         Moved ...
26706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26708         Moved ...
26709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26710         ... here.
26711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26712         Moved ...
26713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26714         ... here.
26715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26716         Moved ...
26717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26719         Moved ...
26720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26721         ... here.
26722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26723         Moved ...
26724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26725         ... here.
26726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26727         Moved ...
26728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26730         Moved ...
26731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26732         ... here.
26733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26734         Moved ...
26735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26736         ... here.
26737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26738         Moved ...
26739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26740         ... here.
26741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26742         Moved ...
26743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26745         Moved ...
26746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26747         ... here.
26748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26749         Moved ...
26750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26751         ... here.
26752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26753         Moved ...
26754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26755         ... here.
26756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26757         Moved ...
26758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26760         Moved ...
26761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26762         ... here.
26763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26764         Moved ...
26765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26766         ... here.
26767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26768         Moved ...
26769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26771         Moved ...
26772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26773         ... here.
26774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26775         Moved ...
26776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26781         Moved ...
26782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26783         ... here.
26784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26785         Moved ...
26786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26787         ... here.
26788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26789         Moved ...
26790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26791         ... here.
26792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26793         Moved ...
26794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26796         Moved ...
26797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26798         ... here.
26799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26800         Moved ...
26801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26802         ... here.
26803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26804         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26808         Moved ...
26809         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26810         ... here.
26811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26816         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26818         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26820         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26822         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26824         Moved ...
26825         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26827         Moved ...
26828         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26830         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26832         Moved ...
26833         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26835         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26836         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26837         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26838         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26839         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26841 2014-06-10  Wilco  <wdijkstr@arm.com>
26843         * math/test-fenv-return.c: New file.
26844         * math/Makefile: Add new test test-fenv-return.
26846 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26848         [BZ #17042]
26849         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26850         when x - 1 is zero.
26851         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26852         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26853         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26854         0.0L for an argument of 1.0L.
26855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26856         Likewise.
26857         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26858         value when x - 1 is zero.
26859         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26860         * sysdeps/i386/fpu/libm-test-ulps: Update.
26861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26865         [BZ #15119]
26866         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26868 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26870         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26871         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26873 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26875         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26876         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26878         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26879         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26881         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26882         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26884         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26885         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26887         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26888         if not already defined.
26889         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26890         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26891         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26892         (TLS_INIT_TP): Use it.
26893         (TLS_DEFINE_INIT_TP): New macro.
26894         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26896 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26898         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26899         constant.
26900         [POSIX] (IXANY): Likewise.
26901         [POSIX] (OLCUC): Likewise.
26902         [POSIX || POSIX2008] (CBAUD): Do not allow.
26903         [POSIX || POSIX2008] (DEFECHO): Likewise.
26904         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26905         [POSIX || POSIX2008] (ECHOKE): Likewise.
26906         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26907         [POSIX || POSIX2008] (EXTA): Likewise.
26908         [POSIX || POSIX2008] (EXTB): Likewise.
26909         [POSIX || POSIX2008] (FLUSHO): Likewise.
26910         [POSIX || POSIX2008] (LOBLK): Likewise.
26911         [POSIX || POSIX2008] (PENDIN): Likewise.
26912         [POSIX || POSIX2008] (SWTCH): Likewise.
26913         [POSIX || POSIX2008] (VDISCARD): Likewise.
26914         [POSIX || POSIX2008] (VDSUSP): Likewise.
26915         [POSIX || POSIX2008] (VLNEXT): Likewise.
26916         [POSIX || POSIX2008] (VREPRINT): Likewise.
26917         [POSIX || POSIX2008] (VSTATUS): Likewise.
26918         [POSIX || POSIX2008] (VWERASE): Likewise.
26919         (B*): Change to B[0123456789]*.
26920         * conform/data/time.h-data [POSIX || UNIX98]
26921         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26922         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26923         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26924         [POSIX] (tm_*): Do not allow.
26926 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26928         * Makefile (install): Don't set LANGUAGE.
26929         * Makefile.in (install): Likewise.
26930         * assert/Makefile (test-assert-ENV): Remove variable.
26931         (test-assert-perr-ENV): Likewise.
26932         * elf/Makefile (neededtest4-ENV): Likewise.
26933         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26934         [$(cross-compiling) = no]: Don't set LANGUAGE.
26935         * io/ftwtest-sh (LANG): Remove variable.
26936         * libio/Makefile (tst-widetext-ENV): Likewise.
26937         * manual/install.texi (Running make install): Don't refer to
26938         environment settings for make install.
26939         * INSTALL: Regenerated.
26940         * nptl/tst-tls6.sh: Don't set LANG.
26941         * posix/globtest.sh (LANG): Remove variable.
26942         * string/Makefile (tester-ENV): Likewise.
26943         (inl-tester-ENV): Likewise.
26944         (noinl-tester-ENV): Likewise.
26945         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26946         [$(cross-compiling) = no]: Don't set LANGUAGE.
26947         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26948         without explicit environment settings.
26950 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26952         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26953         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26954         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26955         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26957 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26959         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26960         other files in the crypt directory.
26961         * crypt/crypt.c: Remove duplicate includes.
26962         * crypt/crypt-entry.c: Likewise.
26963         * crypt/crypt_util.c: Likewise.
26965 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26967         * Makeconfig (run-program-env): New variable.
26968         (run-program-prefix-before-env): Likewise.
26969         (run-program-prefix-after-env): Likewise.
26970         (run-program-prefix): Define in terms of new variables.
26971         (built-program-cmd-before-env): New variable.
26972         (built-program-cmd-after-env): Likewise.
26973         (built-program-cmd): Define in terms of new variables.
26974         (test-program-prefix-before-env): New variable.
26975         (test-program-prefix-after-env): Likewise.
26976         (test-program-prefix): Define in terms of new variables.
26977         (test-program-cmd-before-env): New variable.
26978         (test-program-cmd-after-env): Likewise.
26979         (test-program-cmd): Define in terms of new variables.
26980         * Rules (make-test-out): Use $(run-program-env).
26981         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26982         (help): Do not mention environment variables.  Mention
26983         --timeoutfactor option.
26984         (timeoutfactor): New variable.
26985         (blacklist_exports): Remove function.
26986         (exports): Remove variable.
26987         (command): Do not include ${exports}.
26988         * manual/install.texi (Configuring and compiling): Do not mention
26989         test wrappers preserving environment variables.  Mention that last
26990         assignment to a variable must take precedence.
26991         * INSTALL: Regenerated.
26992         * benchtests/Makefile (run-bench): Use $(run-program-env).
26993         * catgets/Makefile ($(objpfx)test1.cat): Use
26994         $(built-program-cmd-before-env), $(run-program-env) and
26995         $(built-program-cmd-after-env).
26996         ($(objpfx)test2.cat): Do not specify environment variables
26997         explicitly.
26998         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26999         $(run-program-env) and $(built-program-cmd-after-env).
27000         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27001         $(run-program-env) and $(test-program-cmd-after-env).
27002         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27003         explicitly.
27004         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27005         run_program_env and test_program_cmd_after_env arguments.
27006         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27007         * elf/tst-pathopt.sh: Use run_program_env argument.
27008         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27009         $(test-wrapper-env) and $(run-program-env).
27010         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27011         run_program_env arguments.
27012         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27013         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27014         $(test-program-prefix-before-env), $(run-program-env) and
27015         $(test-program-prefix-after-env).
27016         ($(objpfx)tst-gettext2.out): Likewise.
27017         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27018         run_program_env and test_program_prefix_after_env arguments.
27019         * intl/tst-gettext2.sh: Likewise.
27020         * intl/tst-gettext4.sh: Do not set environment variables
27021         explicitly.
27022         * intl/tst-gettext6.sh: Likewise.
27023         * intl/tst-translit.sh: Likewise.
27024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27025         $(test-program-prefix-before-env), $(run-program-env) and
27026         $(test-program-prefix-after-env).
27027         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27028         run_program_env and test_program_prefix_after_env arguments.
27029         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27030         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27031         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27032         explicitly with each use of ${test_wrapper_env}.
27033         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27034         $(test-program-prefix-before-env), $(run-program-env) and
27035         $(test-program-prefix-after-env).
27036         * posix/tst-getconf.sh: Do not set environment variables
27037         explicitly.
27038         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27039         run_program_env and test_program_prefix_after_env arguments.
27040         * stdio-common/tst-printf.sh: Do not set environment variables
27041         explicitly.
27042         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27043         $(test-program-prefix-before-env), $(run-program-env) and
27044         $(test-program-prefix-after-env).
27045         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27046         run_program_env and test_program_prefix_after_env arguments.
27047         Split $test calls into $test_pre and $test.
27048         * timezone/Makefile (build-testdata): Use
27049         $(built-program-cmd-before-env), $(run-program-env) and
27050         $(built-program-cmd-after-env).
27052 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27054         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27055         strlen for non SHARED builds.
27057 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27059         * nptl/allocatestack.c (check_list): Inlined function...
27060         (__reclaim_stacks): ... here.
27062 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27064         [BZ #15698]
27065         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27066         memory overrun.
27068 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27070         * Rules (make-test-out): Include
27071         LOCPATH=$(common-objpfx)localedata in default environment.
27072         * debug/Makefile (tst-chk1-ENV): Remove variable.
27073         (tst-chk2-ENV): Likewise.
27074         (tst-chk3-ENV): Likewise.
27075         (tst-chk4-ENV): Likewise.
27076         (tst-chk5-ENV): Likewise.
27077         (tst-chk6-ENV): Likewise.
27078         (tst-lfschk1-ENV): Likewise.
27079         (tst-lfschk2-ENV): Likewise.
27080         (tst-lfschk3-ENV): Likewise.
27081         (tst-lfschk4-ENV): Likewise.
27082         (tst-lfschk5-ENV): Likewise.
27083         (tst-lfschk6-ENV): Likewise.
27084         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27085         (tst-iconv7-ENV): Likewise.
27086         * intl/Makefile (LOCPATH-ENV): Likewise.
27087         (tst-codeset-ENV): Likewise.
27088         (tst-gettext3-ENV): Likewise.
27089         (tst-gettext5-ENV): Likewise.
27090         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27091         (tst-fopenloc-ENV): Likewise.
27092         (tst-fgetws-ENV): Remove variable.
27093         (tst-ungetwc1-ENV): Likewise.
27094         (tst-ungetwc2-ENV): Likewise.
27095         (bug-ungetwc2-ENV): Likewise.
27096         (tst-swscanf-ENV): Likewise.
27097         (bug-ftell-ENV): Likewise.
27098         (tst-fgetwc-ENV): Likewise.
27099         (tst-fseek-ENV): Likewise.
27100         (tst-ftell-partial-wide-ENV): Likewise.
27101         (tst-ftell-active-handler-ENV): Likewise.
27102         (tst-ftell-append-ENV): Likewise.
27103         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27104         (tst-regexloc-ENV): Likewise.
27105         (bug-regex1-ENV): Likewise.
27106         (tst-regex-ENV): Likewise.
27107         (tst-regex2-ENV): Likewise.
27108         (bug-regex5-ENV): Likewise.
27109         (bug-regex6-ENV): Likewise.
27110         (bug-regex17-ENV): Likewise.
27111         (bug-regex18-ENV): Likewise.
27112         (bug-regex19-ENV): Likewise.
27113         (bug-regex20-ENV): Likewise.
27114         (bug-regex22-ENV): Likewise.
27115         (bug-regex23-ENV): Likewise.
27116         (bug-regex25-ENV): Likewise.
27117         (bug-regex26-ENV): Likewise.
27118         (bug-regex30-ENV): Likewise.
27119         (bug-regex32-ENV): Likewise.
27120         (bug-regex33-ENV): Likewise.
27121         (bug-regex34-ENV): Likewise.
27122         (bug-regex35-ENV): Likewise.
27123         (tst-rxspencer-ENV): Likewise.
27124         (tst-rxspencer-no-utf8-ENV): Likewise.
27125         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27126         (tst-sscanf-ENV): Likewise.
27127         (tst-swprintf-ENV): Likewise.
27128         (tst-swscanf-ENV): Likewise.
27129         (test-vfprintf-ENV): Likewise.
27130         (scanf13-ENV): Likewise.
27131         (bug14-ENV): Likewise.
27132         (tst-grouping-ENV): Likewise.
27133         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27134         (tst-strtod3-ENV): Likewise.
27135         (tst-strtod4-ENV): Likewise.
27136         (tst-strtod5-ENV): Likewise.
27137         (testmb2-ENV): Likewise./
27138         * string/Makefile (tst-strxfrm-ENV): Likewise.
27139         (tst-strxfrm2-ENV): Likewise.
27140         (bug-strcoll1-ENV): Likewise.
27141         (test-strcasecmp-ENV): Likewise.
27142         (test-strncasecmp-ENV): Likewise.
27143         * time/Makefile (tst-strptime-ENV): Likewise.
27144         (tst-ftime_l-ENV): Likewise.
27145         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27146         (tst-mbrtowc-ENV): Likewise.
27147         (tst-wcrtomb-ENV): Likewise.
27148         (tst-mbrtowc2-ENV): Likewise.
27149         (tst-c16c32-1-ENV): Likewise.
27150         (tst-mbsnrtowcs-ENV): Likewise.
27152 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27154         * manual/resource.texi (How to get information about the memory
27155         subsystem?): Fix typo.
27156         Reported by Peon de la Parra Ivan <peon@keba.com>
27158 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27160         [BZ #16882]
27161         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27162         (pthread_spin_lock): Branch out of spin loop to proper location.
27163         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27164         (pthread_spin_lock): Likewise.
27166         * nptl/tst-spin4.c: New test.
27167         * nptl/Makefile (tests): Add tst-spin4.
27169 2014-06-03  Andreas Schwab  <schwab@suse.de>
27171         [BZ #15946]
27172         * resolv/res_send.c (send_dg): Reload file descriptor after
27173         calling reopen.
27175 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27179 2014-06-03  Richard Henderson  <rth@redhat.com>
27181         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27182         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27183         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27184         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27185         in the SAVE_PID block.
27186         (__libc_vfork): New alias.
27187         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27189         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27190         child in registers, not on the stack.  Remove RESET_PID conditionals.
27191         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27193 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27195         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27197 2014-06-03  Wilco  <wdijkstr@arm.com>
27199         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27200         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27201         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27202         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27203         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27204         Likewise.
27206 2014-06-03  Wilco  <wdijkstr@arm.com>
27208         * sysdeps/aarch64/fpu/math_private.h
27209         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27210         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27211         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27212         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27213         Fix declarations.
27215 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27217         * crypt/crypt-private.h: Include ufc-crypt.h.
27218         (__b64_from_24bit): Declare extern.
27219         * crypt/crypt_util.c(__b64_from_24bit): New function.
27220         (b64t): New static const variable.
27221         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27222         (b64t): Remove variable.
27223         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27224         * crypt/sha256-crypt.c: Include crypt-private.h.
27225         (b64t): Remove variable.
27226         (__sha256_crypt_r): Remove b64_from_24bit and replace
27227         with __b64_from_24bit.
27228         * crypt/sha512-crypt.c: Likewise.
27230 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27232         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27233         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27234         Label the code __libc_vfork rather than __vfork.
27235         [!NOT_IN_libc] (vfork): Define as weak alias.
27236         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27237         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27238         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27240 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27242         * malloc/malloc.c (malloc_info): Fix format specifier for
27243         n_mmaps.
27245 2014-06-02  Wilco  <wdijkstr@arm.com>
27247         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27248         FPCR write.
27250 2014-06-02  Wilco  <wdijkstr@arm.com>
27252         [BZ #17009]
27253         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27254         Rewrite to reduce FPCR/FPSR accesses.
27256 2014-06-01  David S. Miller  <davem@davemloft.net>
27258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27260 2014-05-31  David S. Miller  <davem@davemloft.net>
27262         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27263         to occur in round to nearest mode when |x| >= 2.0
27265 2014-05-30  Richard Henderson  <rth@twiddle.net>
27267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27268         (PSEUDO_RET_NOERRNO): Remove.
27269         (ret): Don't redefine.
27270         (ret_NOERRNO): Define in terms of ret.
27271         (ret_ERRVAL): Likewise.
27273         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27274         use of PSEUDO_RET; perform the error check directly.
27276 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27278         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27279         with __int128_t.
27281 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27283         * malloc/malloc (malloc_info): Fix formatting.
27285 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27286             Roland McGrath  <roland@hack.frob.com>
27288         * malloc/malloc (malloc_info): Also print mmapped statistics.
27290 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27292         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27293         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27295 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27297         * malloc/malloc.c (malloc_info): Inline mi_arena.
27299 2014-05-29  Richard Henderson  <rth@twiddle.net>
27301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27302         Remove comma before expanding ASM_ARGS_##nr.
27303         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27304         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27305         of ASM_ARGS_##nr.
27306         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27307         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27308         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27309         (ASM_ARGS_1): Add leading comma.
27311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27312         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27313         to __errno_location.
27314         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27315         Remove the expected plt for __errno_location.
27317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27318         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27319         call to __read_tp.
27321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27322         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27323         it and break it down.
27324         (DOCARGS_0, DOCARGS_1): Do nothing.
27325         (DOCARGS_2): Update to store into the new stack frame.
27326         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27327         (UNDOCARGS_1): Update to restore from the new stack frame.
27328         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27329         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27332         (SINGLE_THREAD_P): New parameter for result regno.
27333         (PSEUDO): Update to match; use cbz instead of beq.
27335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27336         Use ENTRY to define the _nocancel entry point.  Share the syscall
27337         and syscall error check paths with the cancel path.
27338         (PSEUDO_END): New.
27340         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27341         whitespace; tabs before and after asm mnemonics.
27343 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27345         [BZ #15132]
27346         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27347         Call fstat64 or stat64 internally, depending on arguments passed.
27348         Replace stat buffer argument with file descriptor argument.
27349         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27350         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27351         Pass fd to __internal_statvfs instead of calling fstat64.
27352         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27353         Pass fd to __internal_statvfs64 instead of calling fstat64.
27354         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27355         Pass -1 to __internal_statvfs instead of calling stat64.
27356         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27357         Pass -1 to __internal_statvfs64 instead of calling stat64.
27359 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27361         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27362         that was previously under [RESET_PID].
27363         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27365         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27366         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27368 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27370         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27372         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27373         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27375 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27377         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27379 2014-05-27  Andreas Schwab  <schwab@suse.de>
27381         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27382         TLS_INIT_TP macro.
27383         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27384         * elf/rtld.c (init_tls, dl_main): Likewise.
27385         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27386         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27387         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27388         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27389         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27390         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27391         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27392         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27393         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27394         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27395         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27396         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27397         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27398         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27399         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27400         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27401         * sysdeps/generic/tls.h: Update description.
27403 2014-05-27  Will Newton  <will.newton@linaro.org>
27405         [BZ #16990]
27406         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27407         and restore r2 rather than just restoring.
27409 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27411         [BZ #16724]
27412         * libio/tst-ftell-append.c: New test case.
27413         * libio/Makefile (tests): Add test case.
27414         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27415         append mode.
27416         * libio/wfileops.c (do_ftell_wide): Likewise.
27418 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27422         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27423         ...
27424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27426         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27427         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27429         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27431         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27433         Moved ...
27434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27436         Moved ...
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27438         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27439         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27440         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27441         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27442         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27443         ...
27444         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27445         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27446         Moved ...
27447         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27448         here.
27449         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27450         ...
27451         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27453         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27455         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27456         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27458         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27461         merge into ...
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27464         ...
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27467         ...
27468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27470         Moved ...
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27472         here.
27473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27474         Moved ...
27475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27477         Moved ...
27478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27481         conditional [RESET_PID].
27482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27484         removed.
27485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27486         removed.
27488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27489         <tcb-offsets.h>.
27490         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27491         (__libc_vfork): New strong alias.
27492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27493         removed.
27494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27495         Removed.
27497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27498         <tcb-offsets.h>.
27499         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27500         (__libc_vfork): New strong alias.
27501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27502         removed.
27503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27504         removed.
27506 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27508         * malloc/malloc.c (mi_arena): New function.
27509         (malloc_info): Remove nested function mi_arena. Call non-nosted
27510         function mi_arena.
27512 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27514         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27515         by insrwi.
27516         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27517         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27518         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27519         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27520         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27521         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27522         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27524 2014-05-26  Andreas Schwab  <schwab@suse.de>
27526         [BZ #16984]
27527         * locale/programs/repertoire.c (repertoire_read): Add slash
27528         between I18NPATH element and file name.
27529         * locale/programs/locfile.c (locfile_read): Likewise.
27531 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27533         * nptl/pthread_mutexattr_settype.c
27534         (__pthread_mutexattr_settype):
27535         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27537 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27539         * nptl/tst-mutex5 (do_test):
27540         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27542 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27544         * benchtests/README: Document 'init' directive.
27545         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27546         BENCH_INIT.
27547         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27548         (parse_file): Recognize 'init' directive.
27550 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27552         [BZ #16796]
27553         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27554         alignment of struct pthread.
27556 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27558         [BZ #16878]
27559         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27560         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27561         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27562         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27564 2014-05-25  Richard Henderson  <rth@twiddle.net>
27566         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27567         (SINGLE_THREAD_P_PIC): Remove.
27568         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27569         (SINGLE_THREAD_P_PIC): Remove.
27571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27572         branch to syscall error ...
27573         (PSEUDO): ... here.
27574         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27575         from __local_syscall_error to .Lsyscall_error.
27576         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27577         (SYSCALL_ERROR): Update label name.
27579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27580         Do not use DOARGS/UNDOARGS.
27581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27582         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27583         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27584         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27585         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27588         block comment.
27590         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27591         define if !NOT_IN_libc.
27592         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27593         define with non-default symbol versions.
27595 2014-05-23  Richard Henderson  <rth@twiddle.net>
27597         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27598         (vfork, __vfork): Define via compat_symbol.
27600         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27601         [!HAVE_IFUNC] (vfork_compat): Remove.
27602         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27604 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27606         [BZ #16978]
27607         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27608         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27609         variable.
27611 2014-05-23  Richard Henderson  <rth@twiddle.net>
27613         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27614         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27615         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27616         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27618         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27619         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27620         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27621         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27623         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27624         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27625         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27626         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27627         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27628         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27629         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27630         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27631         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27632         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27633         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27634         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27635         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27636         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27637         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27638         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27639         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27640         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27641         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27642         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27643         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27644         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27645         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27646         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27647         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27649         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27650         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27651         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27652         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27653         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27654         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27655         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27657         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27658         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27659         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27660         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27661         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27662         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27663         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27665         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27667         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27669         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27671         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27673         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27675         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27676         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27677         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27678         before exiting on error.
27679         (__libc_vfork): New strong alias.
27680         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27681         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27683         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27684         that was previously under [RESET_PID].
27685         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27687         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27689 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27691         [BZ #16977]
27692         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27693         value when x - 1 is zero.
27694         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27695         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27696         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27697         0.0L for an argument of 1.0L.
27698         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27699         Likewise.
27700         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27701         value when x - 1 is zero.
27702         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27703         * sysdeps/i386/fpu/libm-test-ulps: Update.
27704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27706 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27708         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27709         alphasort and versionsort.
27711 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27714         macro.
27715         [copysignf]: Likewise.
27717 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27719         * crypt/md5-crypt.c: Fix formatting.
27721 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27723         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27724         (b64_from_24bit): New function.
27726 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27728         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27729         libc_hidden_builtin_def to ifunc.
27730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27731         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27733 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27735         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27736         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27738 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27740         * nscd/Depend (linuxthreads): Remove.
27741         (nptl): Add.
27742         * resolv/Depend (linuxthreads): Remove.
27743         * rt/Depend (linuxthreads): Remove.
27745         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27746         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27747         $(common-objpfx)elf/.
27748         (link-libc-before-gnulib): Likewise.
27749         (elfobjdir): Remove variable.
27750         * Makefile (install): Use $(elf-objpfx) instead of
27751         $(common-objpfx)elf/.
27752         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27753         $(elfobjdir)/.
27754         (link-libc-deps): Likewise.
27755         ($(common-objpfx)libc.so): Likewise.
27756         ($(common-objpfx)linkobj/libc.so): Likewise.
27757         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27758         instead of $(common-objpfx)elf/.
27759         (symbolic-link-list): Likewise.
27760         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27761         [$(cross-compiling) = no]: Likewise.
27762         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27763         $(elfobjdir)/.
27764         (static-gnulib-arch): Likewise.
27765         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27766         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27767         $(common-objpfx)elf/.
27769 2014-05-21  Richard Henderson  <rth@redhat.com>
27771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27772         (SINGLE_THREAD_P): Use the correct width load.  Fold
27773         into the ldr offset.
27775         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27776         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27778 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27780         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27781         (libgcc_s_resume): Use __attribute_used__.
27782         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27783         Likewise.
27785 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27787         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27788         optimization when used with float constants.
27790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27792 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27794         [BZ #16915]
27795         * locale/nl_langinfo_l.c: Make direct reference to every
27796         _nl_current_CATEGORY symbol.
27797         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27798         (tests-static): Add tst-langinfo-static.
27799         (tests-special): Add tst-langinfo-static.out.
27800         ($(objpfx)tst-langinfo.out): Redirect output.
27801         ($(objpfx)tst-langinfo-static.out): New.
27802         * localedata/tst-langinfo.sh: Send output to stdout.
27803         * localedata/tst-langinfo-static.c: New file.
27805         [BZ #16965]
27806         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27807         when the shift amount is modulo the limb size.
27809 2014-05-20  Richard Henderson  <rth@redhat.com>
27811         [BZ #16967]
27812         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27813         Change type of sa_flags from unsigned int to int.
27815         [BZ #16966]
27816         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27818         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27820 2014-05-20  Will Newton  <will.newton@linaro.org>
27822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27823         Test the return value of the system call in the nocancel case.
27825 2014-05-20  Will Newton  <will.newton@linaro.org>
27826             Yvan Roux  <yvan.roux@linaro.org>
27828         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27829         #include of asm/ptrace.h.
27830         (PTRACE_GET_THREAD_AREA): Remove #undef.
27831         (PTRACE_GETHBPREGS): Likewise.
27832         (PTRACE_SETHBPREGS): Likewise.
27833         (struct user_regs_struct): New structure.
27834         (struct user_fpsimd_struct): New structure.
27835         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27836         #include of asm/ptrace.h and second #include of sys/user.h.
27837         (PTRACE_GET_THREAD_AREA): Remove #undef.
27838         (PTRACE_GETHBPREGS): Likewise.
27839         (PTRACE_SETHBPREGS): Likewise.
27840         (ELF_NGREG): Use new struct user_regs_struct.
27841         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27843 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27848 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27850         [BZ #16958]
27851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27852         membar to avoid block loads/stores to overlap previous stores.
27854 2014-05-17  Richard Henderson  <rth@redhat.com>
27856         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27857         Create the __##syscall_name##_nocancel entry point.
27858         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27859         Remove; let the sysdep-cancel.h code create it.
27861 2014-05-17  David S. Miller  <davem@davemloft.net>
27863         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27864         Protect with __USE_GNU.
27865         (TIOCSET_TEMPT): Likewise.
27866         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27867         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27868         these are already provided in bits/ioctl-types.h
27870 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27872         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27873         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27875         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27876         Use wait4 regardless of [__NR_waitpid].
27878 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27880         PR libgcc/60166
27881         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27882         (_FP_NANSIGN_Q): Set the quiet bit.
27884 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27886         * benchtests/Makefile
27887         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27888         not $(common-objpfx)math/libm.so.
27889         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27890         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27891         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27892         $(common-objpfx)dlfcn/libdl.so.
27893         ($(objpfx)tst-audit8): Depend on $(libm), not
27894         $(common-objpfx)math/libm.so.
27895         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27896         not $(common-objpfx)dlfcn/libdl.so.
27897         * math/Makefile
27898         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27899         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27900         [$(build-shared) = yes].
27901         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27902         $(common-objpfx)nptl/libpthread.so.
27903         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27904         $(common-objpfx)math/libm.so$(libm.so-version) or
27905         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27906         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27907         $(common-objpfx)dlfcn/libdl.so.
27908         * setjmp/Makefile (link-libm): Remove variable.
27909         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27910         * stdio-common/Makefile (link-libm): Remove variable.
27911         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27912         * stdlib/Makefile (link-libm): Remove variable.
27913         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27914         ($(objpfx)tst-strtod-round): Likewise.
27915         ($(objpfx)tst-tininess): Likewise.
27916         ($(objpfx)tst-strtod-underflow): Likewise.
27917         ($(objpfx)tst-strtod6): Likewise.
27918         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27919         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27920         $(common-objpfx)dlfcn/libdl.so.
27922 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27924         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27925         BSD terminal modes definitions.
27927 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27929         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27930         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27932         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27933         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27934         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27935         Don't do #include_next.
27936         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27937         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27938         Don't do #include_next.
27939         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27940         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27941         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27942         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27944 2014-05-16  Allan McRae  <allan@archlinux.org>
27946         * po/sv.po: Update Swedish translation from translation project.
27948         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27949         in sed expression.
27951 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27953         [BZ #16917]
27954         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27955         errno if the TIOCGPTN ioctl fails with an error different than
27956         EINVAL.
27957         * login/tst-ptsname.c: New file.
27958         * login/Makefile (tests): Add tst-ptsname.
27960         [BZ #16943]
27961         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27962         and prlimit64.
27964 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27966         [BZ #16849]
27967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27968         herrno to return EAI_AGAIN.
27970 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27972         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27973         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27974         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27975         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27977         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27979         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27981         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27985         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27986         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27987         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27988         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27989         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27990         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27991         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27992         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27993         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27995         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27996         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27997         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27998         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28001         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28003         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28005         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28007         Moved ...
28008         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28010         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28012         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28014         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28016         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28018         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28020         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28022         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28024         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28026         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28028         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28030         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28032         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28034         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28036         Moved ...
28037         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28039         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28041         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28043         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28045         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28047         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28049         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28051         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28053         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28055         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28060         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28062         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28063         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28064         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28065         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28066         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28067         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28068         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28069         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28070         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28071         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28072         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28073         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28074         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28075         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28076         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28077         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28078         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28079         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28080         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28081         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28082         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28083         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28084         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28085         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28087         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28089         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28090         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28091         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28094         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28095         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28097         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28098         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28099         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28100         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28101         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28103         Moved ...
28104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28106         Moved ...
28107         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28109         Moved ...
28110         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28112         Moved ...
28113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28114         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28115         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28116         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28117         Moved ...
28118         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28119         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28120         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28122         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28123         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28124         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28126         Moved ...
28127         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28131         ... here.
28132         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28133         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28134         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28135         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28136         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28137         Moved ...
28138         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28139         ... here.
28140         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28143         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28144         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28145         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28146         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28148         Moved ...
28149         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28151         Moved ...
28152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28154         Moved ...
28155         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28157         Moved ...
28158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28159         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28160         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28161         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28162         Moved ...
28163         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28164         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28165         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28167         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28168         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28169         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28171         Moved ...
28172         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28174         Moved ...
28175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28176         ... here.
28177         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28178         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28179         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28180         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28181         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28182         Moved ...
28183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28184         ... here.
28185         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28186         Moved ...
28187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28188         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28189         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28190         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28191         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28192         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28193         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28194         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28195         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28197         Moved ...
28198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28200         Moved ...
28201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28203         Moved ...
28204         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28206         Moved ...
28207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28208         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28209         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28210         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28211         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28212         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28213         Moved ...
28214         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28215         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28216         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28218         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28219         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28220         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28222         Moved ...
28223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28225         Moved ...
28226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28227         ... here.
28228         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28229         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28231         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28233         Moved ...
28234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28235         ... here.
28236         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28237         Moved ...
28238         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28239         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28240         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28241         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28242         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28243         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28244         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28245         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28246         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28247         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28248         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28250         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28251         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28253         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28254         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28256         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28257         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28258         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28259         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28260         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28261         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28262         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28263         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28264         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28265         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28266         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28267         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28269         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28270         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28272         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28274         Moved ...
28275         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28279         Moved ...
28280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28284         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28288         Moved ...
28289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28291         Moved ...
28292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28298         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28299         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28300         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28301         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28302         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28303         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28304         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28305         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28306         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28307         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28308         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28310         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28311         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28312         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28313         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28314         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28316         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28317         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28319         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28320         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28321         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28322         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28323         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28324         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28325         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28327         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28330         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28331         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28332         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28333         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28334         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28335         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28337         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28338         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28339         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28341         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28342         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28343         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28345         Update #include.
28346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28347         Likewise.
28348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28349         Likewise.
28350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28351         Likewise.
28352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28353         Likewise.
28354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28355         Likewise.
28356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28357         Likewise.
28358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28359         Likewise.
28360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28361         Likewise.
28362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28363         Likewise.
28364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28373         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28376         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28377         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28378         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28380         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28381         that was previously under [RESET_PID].
28382         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28383         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28384         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28386         * sysdeps/i386/nptl/Implies: New file.
28387         * sysdeps/x86_64/nptl/Implies: New file.
28388         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28389         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28390         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28391         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28393         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28395         (__libc_vfork): New strong alias.
28396         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28397         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28399         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28400         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28401         (__libc_vfork): New strong alias.
28402         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28403         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28405         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28406         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28407         (__libc_vfork): New strong alias.
28408         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28409         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28410         * nptl/pt-vfork.c: New file.
28411         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28412         (libpthread: GLIBC_2.20): New version set (empty).
28414 2014-05-14  Will Newton  <will.newton@linaro.org>
28416         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28417         rather than #if.
28419 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28421         [BZ #16564]
28422         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28423         arguments with exponent 65 or above.
28424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28425         arguments 0x1p113L or above.
28426         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28427         to arguments 0x1p107L or above.
28428         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28429         positive arguments with exponent 65 or above.
28430         * math/auto-libm-test-in: Add more tests of log1p.
28431         * math/auto-libm-test-out: Regenerated.
28433         [BZ #16928]
28434         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28435         non-finite arguments is +0.
28436         * math/s_cacosf.c (__cacosf): Likewise.
28437         * math/s_cacosl.c (__cacosl): Likewise.
28438         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28439         * sysdeps/i386/fpu/libm-test-ulps: Update.
28440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442         [BZ #16927]
28443         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28444         value.
28445         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28446         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28447         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28448         for explicit high bit of mantissa when testing for argument equal
28449         to 1.
28450         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28451         * sysdeps/i386/fpu/libm-test-ulps: Update.
28452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28454         [BZ #16516]
28455         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28456         (__erf): Scale by 16 instead of 8 in potentially underflowing
28457         case.  Ensure exception if result actually underflows.
28458         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28459         (__erff): Scale by 16 instead of 8 in potentially underflowing
28460         case.  Ensure exception if result actually underflows.
28461         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28462         (efx8): Remove variable.
28463         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28464         case.  Ensure exception if result actually underflows.
28465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28466         (efx8): Remove variable.
28467         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28468         case.  Ensure exception if result actually underflows.
28469         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28470         (efx8): Remove variable.
28471         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28472         case.  Ensure exception if result actually underflows.
28473         * math/auto-libm-test-in: Add more tests of erf.
28474         * math/auto-libm-test-out: Regenerated.
28476 2014-05-14  Andreas Schwab  <schwab@suse.de>
28478         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28479         Remove code conditionalized on USE___THREAD.
28481         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28482         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28483         not definedness.
28485 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28488         Define unconditionally.
28489         (__ASSUME_O_CLOEXEC): Likewise.
28490         (__ASSUME_SOCK_CLOEXEC): Likewise.
28491         (__ASSUME_IN_NONBLOCK): Likewise.
28492         (__ASSUME_PIPE2): Likewise.
28493         (__ASSUME_EVENTFD2): Likewise.
28494         (__ASSUME_SIGNALFD4): Likewise.
28495         (__ASSUME_DUP3): Likewise.
28496         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28497         (__ASSUME_DUP3): Do not define.
28498         (__ASSUME_EVENTFD2): Likewise.
28499         (__ASSUME_IN_NONBLOCK): Likewise.
28500         (__ASSUME_O_CLOEXEC): Likewise.
28501         (__ASSUME_PIPE2): Likewise.
28502         (__ASSUME_SIGNALFD4): Likewise.
28503         (__ASSUME_SOCK_CLOEXEC): Likewise.
28504         (__ASSUME_UTIMES): Undefine.
28505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28506         (__ASSUME_UTIMES): Do not define.
28507         (__ASSUME_O_CLOEXEC): Likewise.
28508         (__ASSUME_SOCK_CLOEXEC): Likewise.
28509         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28510         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28511         0x020621].
28512         (__ASSUME_PIPE2): Likewise.
28513         (__ASSUME_EVENTFD2): Likewise.
28514         (__ASSUME_SIGNALFD4): Likewise.
28515         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28516         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28517         Do not define.
28518         (__ASSUME_EVENTFD2): Likewise.
28519         (__ASSUME_SIGNALFD4): Likewise.
28520         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28521         (__ASSUME_32BITUIDS): Likewise.
28522         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28523         (__ASSUME_IPC64): Likewise.
28524         (__ASSUME_ST_INO_64_BIT): Likewise.
28525         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28526         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28527         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28528         (__ASSUME_UTIMES): Do not define.
28529         (__ASSUME_PSELECT): Likewise.
28530         (__ASSUME_PPOLL): Likewise.
28531         (__ASSUME_O_CLOEXEC): Likewise.
28532         (__ASSUME_SOCK_CLOEXEC): Likewise.
28533         (__ASSUME_IN_NONBLOCK): Likewise.
28534         (__ASSUME_PIPE2): Likewise.
28535         (__ASSUME_EVENTFD2): Likewise.
28536         (__ASSUME_SIGNALFD4): Likewise.
28537         (__ASSUME_DUP3): Likewise.
28538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28539         (__ASSUME_UTIMES): Likewise.
28540         (__ASSUME_O_CLOEXEC): Likewise.
28541         (__ASSUME_SOCK_CLOEXEC): Likewise.
28542         (__ASSUME_IN_NONBLOCK): Likewise.
28543         (__ASSUME_PIPE2): Likewise.
28544         (__ASSUME_EVENTFD2): Likewise.
28545         (__ASSUME_SIGNALFD4): Likewise.
28546         (__ASSUME_DUP3): Likewise.
28547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28548         (__ASSUME_UTIMES): Likewise.
28549         (__ASSUME_O_CLOEXEC): Likewise.
28550         (__ASSUME_SOCK_CLOEXEC): Likewise.
28551         (__ASSUME_IN_NONBLOCK): Likewise.
28552         (__ASSUME_PIPE2): Likewise.
28553         (__ASSUME_EVENTFD2): Likewise.
28554         (__ASSUME_SIGNALFD4): Likewise.
28555         (__ASSUME_DUP3): Likewise.
28556         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28557         Likewise.
28558         (__ASSUME_UTIMES): Likewise.
28559         (__ASSUME_EVENTFD2): Likewise.
28560         (__ASSUME_SIGNALFD4): Likewise.
28561         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28562         (__ASSUME_O_CLOEXEC): Likewise.
28563         (__ASSUME_SOCK_CLOEXEC): Likewise.
28564         (__ASSUME_IN_NONBLOCK): Likewise.
28565         (__ASSUME_PIPE2): Likewise.
28566         (__ASSUME_EVENTFD2): Likewise.
28567         (__ASSUME_SIGNALFD4): Likewise.
28568         (__ASSUME_DUP3): Likewise.
28569         (__ASSUME_UTIMES): Undefine.
28571         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28572         feclearexcept.  Remove symbol versioning code.
28573         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28574         symbol versioning code.
28575         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28576         symbol versioning code.
28577         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28578         feupdateenv.  Remove symbol versioning code.
28579         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28580         fegetexceptflag.  Remove symbol versioning code.
28581         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28582         fesetexceptflag.  Remove symbol versioning code.
28583         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28584         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28585         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28586         (__posix_fadvise64_l32): Remove prototype.
28587         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28588         code.
28590 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28592         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28593         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28594         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28595         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28597 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28599         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28600         current working directory
28602 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28604         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28605         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28606         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28607         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28608         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28609         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28610         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28611         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28613         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28614         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28615         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28616         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28617         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28618         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28619         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28621         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28623         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28624         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28625         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28626         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28627         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28629         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28630         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28631         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28632         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28633         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28634         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28635         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28636         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28637         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28638         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28639         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28640         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28641         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28642         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28643         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28644         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28645         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28647         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28648         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28650         * sysdeps/unix/sysv/linux/arm/Makefile
28651         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28652         Add rt-aeabi_unwind_cpp_pr1.
28653         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28654         Add nptl-aeabi_unwind_cpp_pr1.
28655         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28656         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28657         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28658         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28659         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28660         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28662         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28663         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28664         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28665         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28667         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28668         Deconditionalize the code that was previously under [RESET_PID].
28669         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28671         * sysdeps/generic/exit-thread.h: New file.
28672         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28673         * include/unistd.h (__exit_thread): Remove declaration.
28674         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28675         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28676         * csu/libc-start.c: Include <exit-thread.h>.
28677         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28678         * nptl/pthread_create.c: Include <exit-thread.h>.
28679         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28680         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28681         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28682         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28683         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28684         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28685         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28686         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28687         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28688         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28689         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28690         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28691         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28692         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28693         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28694         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28695         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28697 2014-05-13  Andreas Schwab  <schwab@suse.de>
28699         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28701 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28703         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28704         (__ASSUME_UTIMES): Do not condition on kernel version.
28705         (__ASSUME_PSELECT): Define unconditionally.
28706         (__ASSUME_PPOLL): Likewise.
28707         (__ASSUME_ATFCTS): Likewise.
28708         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28709         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28710         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28711         (__ASSUME_UTIMENSAT): Define unconditionally.
28712         (__ASSUME_PRIVATE_FUTEX): Likewise.
28713         (__ASSUME_FALLOCATE): Likewise.
28714         (__ASSUME_O_CLOEXEC): Likewise.
28715         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28716         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28717         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28718         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28719         (__ASSUME_IN_NONBLOCK): Likewise.
28720         (__ASSUME_PIPE2): Likewise.
28721         (__ASSUME_EVENTFD2): Likewise.
28722         (__ASSUME_SIGNALFD4): Likewise.
28723         (__ASSUME_DUP3): Likewise.
28724         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28725         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28726         (__ASSUME_AT_RANDOM): Likewise.
28727         (__ASSUME_PREADV): Likewise.
28728         (__ASSUME_PWRITEV): Likewise.
28729         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28730         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28731         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28732         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28733         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28734         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28735         (__ASSUME_O_CLOEXEC): Define unconditionally.
28736         (__ASSUME_PSELECT): Do not undefine conditionally.
28737         (__ASSUME_PPOLL): Likewise.
28738         (__ASSUME_ATFCTS): Likewise.
28739         (__ASSUME_SET_ROBUST_LIST): Likewise.
28740         (__ASSUME_UTIMENSAT): Likewise.
28741         (__ASSUME_FDATASYNC): Define unconditionally.
28742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28743         (__ASSUME_SIGFRAME_V2): Likewise.
28744         )__ASSUME_EVENTFD2): Likewise.
28745         (__ASSUME_SIGNALFD4): Likewise.
28746         (__ASSUME_PSELECT): Do not undefine conditionally.
28747         (__ASSUME_PPOLL): Likewise.
28748         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28749         (__ASSUME_PSELECT): Define unconditionally.
28750         (__ASSUME_PPOLL): Likewise.
28751         (__ASSUME_O_CLOEXEC): Likewise.
28752         (__ASSUME_SOCK_CLOEXEC): Likewise.
28753         (__ASSUME_IN_NONBLOCK): Likewise.
28754         (__ASSUME_PIPE2): Likewise.
28755         (__ASSUME_EVENTFD2): Likewise.
28756         (__ASSUME_SIGNALFD4): Likewise.
28757         (__ASSUME_DUP3): Likewise.
28758         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28759         (__ASSUME_O_CLOEXEC): Likewise.
28760         (__ASSUME_SOCK_CLOEXEC): Likewise.
28761         (__ASSUME_IN_NONBLOCK): Likewise.
28762         (__ASSUME_PIPE2): Likewise.
28763         (__ASSUME_EVENTFD2): Likewise.
28764         (__ASSUME_SIGNALFD4): Likewise.
28765         (__ASSUME_DUP3): Likewise.
28766         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28767         (__ASSUME_EVENTFD2): Likewise.
28768         (__ASSUME_SIGNALFD4): Likewise.
28769         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28771 2014-05-12  Andreas Schwab  <schwab@suse.de>
28773         [BZ #16932]
28774         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28775         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28776         than maximum RPC packet size.
28777         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28778         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28779         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28780         (_nss_nis_getservbyport_r): Likewise.
28782 2014-05-12  Will Newton  <will.newton@linaro.org>
28784         * malloc/Makefile (tests): Add tst-mallopt.
28785         * malloc/tst-mallopt.c: New file.
28787 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28789         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28790         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28792 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28794         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28795         (tst-tlsmod6.so): Likewise.
28797 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28799         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28801 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28803         [BZ #16064]
28804         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28805         and <dl-procinfo.h>.
28806         (__fegetenv): Save SSE state in envp->__eip if supported.
28807         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28808         envp->__eip if supported.
28809         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28810         and <dl-procinfo.h>.
28811         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28812         __data_offset and __data_selector in environment to 0.  Set SSE
28813         state if supported.
28814         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28815         test-fenv-sse.
28816         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28817         -mfpmath=sse.
28818         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28820 2014-05-09  Will Newton  <will.newton@linaro.org>
28822         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28823         and libc_relro_required for ARM.
28824         * sysdeps/arm/preconfigure: Regenerate.
28826 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28827             Stefan Liebler  <stli@linux.vnet.ibm.com>
28829         * config.make.in (enable-lock-elision): New Makefile variable.
28830         * configure.ac: Likewise.
28831         * configure: Regenerate.
28832         * sysdeps/s390/configure.ac:
28833         Add check for gcc transactions support.
28834         * sysdeps/s390/configure: Regenerate.
28835         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28836         Build elision files if enabled.
28837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28838         Add lock elision support for s390.
28839         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28840         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28842         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28843         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28844         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28846         Likewise.
28847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28848         Likewise.
28849         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28850         Likewise.
28851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28852         Likewise.
28853         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28854         (__lll_timedlock_elision, __lll_lock_elision)
28855         (__lll_unlock_elision, __lll_trylock_elision)
28856         (lll_timedlock_elision, lll_lock_elision)
28857         (lll_unlock_elision, lll_trylock_elision): Add.
28858         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28859         (pthread_mutex_t): Add lock elision support for s390.
28861 2014-05-14  Wilco  <wdijkstr@arm.com>
28863         * sysdeps/arm/fclrexcpt.c: Cleanup.
28864         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28865         * sysdeps/arm/feenablxcpt.c: Cleanup.
28866         * sysdeps/arm/fegetenv.c: Cleanup.
28867         * sysdeps/arm/fegetexcept.c: Cleanup.
28868         * sysdeps/arm/fegetround.c: Cleanup.
28869         * sysdeps/arm/feholdexcpt.c: Cleanup.
28870         * sysdeps/arm/fesetenv.c: Cleanup.
28871         * sysdeps/arm/fesetround.c: Cleanup.
28872         * sysdeps/arm/feupdateenv.c: Cleanup.
28873         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28874         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28875         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28876         * sysdeps/arm/ftestexcept.c: Cleanup.
28877         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28878         * sysdeps/arm/setfpucw.c: Cleanup.
28880 2014-05-09  Will Newton  <will.newton@linaro.org>
28882         * sysdeps/arm/armv7/strcmp.S: New file.
28883         * NEWS: Mention addition of ARMv7 optimized strcmp.
28885 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28887         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28888         look for %.ac rather than %.in.
28890         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28891         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28892         * sysdeps/mach/hurd/configure: Regenerated.
28893         * sysdeps/unix/sysv/linux/configure: Regenerated.
28895         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28897 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28899         [BZ# 16922]
28900         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28901         (LONG_SUB): Ditto.
28902         (PTR_SUB): Ditto.
28904 2014-05-07  Andreas Schwab  <schwab@suse.de>
28906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28907         when skipping over non-matching result from nscd.
28909 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28911         [BZ #16876]
28912         * nptl/sockperf.c (client): Check socket return value.
28914         [BZ #16877]
28915         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28916         nscd security class.
28918 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28920         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28921         * sysdeps/arm/unwind.h: ... here.
28923 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28925         [BZ# 16916]
28926         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28927         Define.
28929 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28931         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28932         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28933         multiarch strncpy for PPC64.
28934         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28935         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28937         multiarch optimizations.
28938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28939         (__libc_ifunc_impl_list): Likewise.
28940         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28941         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28942         multiarch stpncpy for PPC64.
28943         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28946 2014-05-06  Andreas Schwab  <schwab@suse.de>
28948         [BZ #16912]
28949         * gmon/mcount.c (_MCOUNT_DECL): Use
28950         atomic_compare_and_exchange_bool_acq instead of
28951         catomic_compare_and_exchange_bool_acq.
28953 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28955         * elf/Makefile (others, install-bin): Remove pldd.
28956         (pldd-modules): Variable removed.
28957         ($(objpfx)pldd): Target removed.
28958         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28959         (others, install-bin): Append pldd here.
28960         ($(objpfx)pldd): New target.
28962         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28963         to 0, so the first #if test emitted later doesn't see it undefined.
28964         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28965         * sysdeps/gnu/errlist.c: Regenerated.
28967 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28969         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28970         [libc_hidden_builtin_def]: Define to empty value.
28971         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28972         [libc_hidden_builtin_def]: Likewise.
28973         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28974         [libc_hidden_builtin_def]: Likewise.
28975         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28976         [libc_hidden_builtin_def]: Likewise.
28977         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28978         __redirect_memcpy and define ifunc as default hidden symbol.
28979         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28980         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28982 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28984         * locale/iso-4217.def: Reintroduce XDR currency.
28986 2014-05-04  Allan McRae  <allan@archlinux.org>
28988         * po/eo.po: Update Esperanto translation from translation project.
28990 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28992         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28993         and FEATURE_INDEX_MAX to 1.
28994         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28998         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28999         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29000         * iconvdata/big5.c (ONE_DIRECTION): Define.
29001         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29002         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29003         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29004         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29005         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29006         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29007         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29008         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29009         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29010         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29011         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29012         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29013         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29014         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29015         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29016         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29017         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29018         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29019         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29020         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29021         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29022         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29023         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29024         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29025         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29026         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29027         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29028         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29029         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29030         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29031         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29032         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29033         * iconvdata/johab.c (ONE_DIRECTION): Define.
29034         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29035         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29036         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29037         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29038         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29039         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29040         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29041         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29042         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29043         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29045 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29047         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29048         (_IO_JUMPS_OFFSET): Define to 0.
29050         * nptl/sysdeps/pthread/bits/libc-lock.h
29051         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29052         (__libc_lock_define_initialized_recursive): Always define using
29053         initializer.  Modern compilers treat uninitialized (implicit zero) and
29054         explicit zero initializers the same (i.e. put the datum in bss).
29056 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29058         * nscd/nscd-client.h: Include <string.h>.
29060 2014-05-01  David S. Miller  <davem@davemloft.net>
29062         [BZ #16885]
29063         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29064         multiple zero bytes exist at the end of a string.
29065         Reported by Aurelien Jarno <aurelien@aurel32.net>
29067         * string/test-strcmp.c (check): Add explicit test for situations where
29068         there are multiple zero bytes after the first.
29070 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29072         [BZ #16890]
29073         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29074         when compiling wprintf.
29075         * stdio-common/tstdiomisc.c (t3): New function.
29076         (main): Call it.
29078 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29080         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29081         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29082         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29083         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29085 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29087         * stdlib/longlong.h: Updated from GCC.
29089 2014-05-01  Will Newton  <will.newton@linaro.org>
29090             Bernard Ogden  <bernie.ogden@linaro.org>
29092         * NEWS: Update fixed bug list.
29094         [BZ #15119]
29095         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29097 2014-04-30  David S. Miller  <davem@davemloft.net>
29099         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29100         (libc_feholdexcept_setround_sparc_ctx): New function.
29101         (libc_fesetenv_sparc_ctx): Likewise.
29102         (libc_feupdateenv_sparc_ctx): Likewise.
29103         (libc_feholdsetround_sparc_ctx): Likewise.
29104         (libc_feholdexcept_setround_ctx): Define.
29105         (libc_feholdexcept_setroundf_ctx): Likewise.
29106         (libc_feholdexcept_setroundl_ctx): Likewise.
29107         (libc_fesetenv_ctx): Likewise.
29108         (libc_fesetenvf_ctx): Likewise.
29109         (libc_fesetenvl_ctx): Likewise.
29110         (libc_feupdateenv_ctx): Likewise.
29111         (libc_feupdateenvf_ctx): Likewise.
29112         (libc_feupdateenvl_ctx): Likewise.
29113         (libc_feresetround_ctx): Likewise.
29114         (libc_feresetroundf_ctx): Likewise.
29115         (libc_feresetroundl_ctx): Likewise.
29116         (libc_feholdsetround_ctx): Likewise.
29117         (libc_feholdsetroundf_ctx): Likewise.
29118         (libc_feholdsetroundl_ctx): Likewise.
29120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29121         with __USE_GNU instead of XOPEN cpp guards.
29123         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29124         0.
29126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29127         with XOPEN cpp guards.
29129 2014-04-30  Julian Brown  <julian@codesourcery.com>
29131         [BZ #16888]
29132         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29133         handling.
29135 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29137         [BZ #9894]
29138         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29139         Change to 2.6.32.
29140         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29141         * sysdeps/unix/sysv/linux/configure: Regenerated.
29142         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29143         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29144         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29145         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29146         * README: Update reference to required Linux kernel version.
29147         * manual/install.texi (Linux): Update reference to required Linux
29148         kernel headers version.
29149         * INSTALL: Regenerated.
29151         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29152         header inclusion.
29153         [POSIX] (limits.h): Likewise.
29154         [POSIX] (math.h): Likewise.
29155         [POSIX] (sys/wait.h): Likewise.
29156         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29157         function.
29158         [POSIX] (stddef.h): Do not allow header inclusion.
29160 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29162         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29164 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29166         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29167         Return immediately after lll_futex_wake.
29169 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29171         [BZ #16791]
29172         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29173         structure.
29174         (datahead_init_pos): Call datahead_init_common early.
29175         (datahead_init_neg): Likewise.
29177         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29178         datahead_init_neg): New functions.
29179         * nscd/aicache.c (addhstaiX): Use them.
29180         * nscd/grpcache.c (cache_addgr): Likewise.
29181         * nscd/hstcache.c (cache_addhst): Likewise.
29182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29183         * nscd/netgroupcache.c (do_notfound): Likewise.
29184         (addgetnetgrentX): Likewise.
29185         (addinnetgrX): Likewise.
29186         * nscd/pwdcache.c (cache_addpw): Likewise.
29187         * nscd/servicescache.c (cache_addserv): Likewise.
29189 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29190             Atsushi Onoe  <atsushi@onoe.org>
29192         [BZ #14308]
29193         [BZ #12994]
29194         [BZ #13651]
29195         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29196         one response is valid.
29197         * resolv/res_send.c (send_dg): Check for validity of other
29198         response if the current response is a referral.
29200 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29202         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29204 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29206         [BZ #16823]
29207         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29208         Always divide by positive zero when computing -Inf result.
29209         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29210         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29212 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29214         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29215         FPSCR if value do not change.
29216         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29217         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29218         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29219         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29220         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29221         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29222         function.
29224 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29226         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29227         * sysdeps/unix/sysv/linux/hppa: Move directory from
29228         ports/systeps/unix/sysv/linux/hppa.
29229         * README: Update listing for hppa-*-linux-gnu.
29231 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29233         [BZ #16754]
29234         * manual/stdio.texi (Hook functions): Fix types of stream hook
29235         functions.
29236         [BZ #16854]
29237         * socket/sys/socket.h: Fix typo in comment.
29239 2014-04-28  Wilco  <wdijkstr@arm.com>
29241         * sysdeps/arm/fenv_private.h: New file.
29242         * sysdeps/arm/math_private.h: New file.
29243         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29245 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29247         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29248         with __int128_t.
29249         (La_x86_64_retval): Likewise.
29251 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29253         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29254         fpsr if value didn't change.
29255         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29256         to fpcr if value didn't change.
29257         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29258         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29259         fpsr or fpcr if value didn't change.
29260         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29261         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29262         fpcr if value didn't change.
29263         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29264         to fpsr if value didn't change.
29266 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29268         * nptl/tst-sem3.c: Use test-skeleton.c
29269         (main): Rename to do_test.  Use return instead of
29270         exit.
29271         * nptl/tst-sem4.c: Use test-skeleton.c
29272         (main): Rename to do_test.
29274 2014-04-22  David S. Miller  <davem@davemloft.net>
29276         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29277         (struct sigaction): New struct member __glibc_reserved0, change
29278         type of sa_flags to int.
29280 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29282         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29283         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29285 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29287         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29288         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29290 2014-04-22  Will Newton  <will.newton@linaro.org>
29291             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29293         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29294         (__longjmp): Add longjmp and longjmp_target SystemTap
29295         probes.
29296         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29297         (__sigsetjmp): Add setjmp SystemTap probe.
29299 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29301         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29302         match manual order.
29304 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29306         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29308         * sysdeps/powerpc/fpu/fenv_private.h
29309         (libc_feholdexcept_setroundl_ctx): Define to
29310         libc_feholdexcept_setround_ppc_ctx.
29311         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29312         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29313         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29314         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29316 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29318         * sysdeps/aarch64/math-tests.h: New file.
29320 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29322         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29323         New.
29324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29325         Check and set bit_AVX2_Usable.
29326         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29327         macro.
29328         (bit_AVX2): Likewise.
29329         (index_AVX2_Usable): Likewise.
29330         (CPUID_AVX2): Likewise.
29331         (HAS_AVX2): Likewise.
29333 2014-04-17  Will Newton  <will.newton@linaro.org>
29335         * manual/setjmp.texi (System V contexts): Add note that
29336         calling setcontext on a context created by a call to a
29337         signal handler is undefined.  Update text to note that
29338         setcontext from a signal handler is possible but not
29339         recommended.
29341         [BZ #16629]
29342         * stdlib/tst-setcontext.c: Include signal.h.
29343         (main): Check that the signal stack before and
29344         after swapcontext is the same.
29346         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29347         Re-implement to restore registers in user code and avoid
29348         rt_sigreturn system call.
29350 2014-04-17  Wilco  <wdijkstr@arm.com>
29352         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29353         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29354         * math/test-fenv.c: Skip exception trap tests on targets which only
29355         support non-stop mode.
29357 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29358             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29360         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29361         (libc_feholdsetround_aarch64_ctx)
29362         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29363         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29364         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29365         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29366         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29367         (libc_feresetround_noexl_ctx): Define.
29369 2014-04-16  Richard Henderson  <rth@redhat.com>
29371         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29373         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29374         unwind tables.
29376         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29377         const from the non-libc, non-ldso copy.
29379         * sysdeps/alpha/libm-test-ulps: Regenerate.
29381 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29382             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29384         * sysdeps/aarch64/fpu/math_private.h: New file.
29386 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29388         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29390 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29392         [BZ #16275]
29393         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29394         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29395         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29396         Intel MPX bound registers before _dl_profile_fixup.
29397         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29398         registers after _dl_profile_fixup.  Save and restore bound
29399         registers bnd0/bnd1 when calling _dl_call_pltexit.
29400         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29401         (LR_BND_OFFSET): Likewise.
29402         (LRV_BND0_OFFSET): Likewise.
29403         (LRV_BND1_OFFSET): Likewise.
29405 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29407         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29408         to...
29409         * sysdeps/mach/hurd/i386/tls.h: ... here.
29410         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29411         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29412         fields.
29414 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29416         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29418 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29420         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29422 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29424         [BZ #14770]
29425         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29426         * sysdeps/s390/configure: Regenerate.
29428         [BZ #16824]
29429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29430         Set round-to-nearest internally to reduce error accumulation.
29432 2014-04-16  Alan Modra  <amodra@gmail.com>
29434         [BZ #16740]
29435         [BZ #16619]
29436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29437         * math/libm-test.inc (frexp_test_data): Add tests.
29438         * NEWS: Update fixed bug list.
29440 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29442         * benchtests/Makefile: Depend on libraries in build directory.
29443         (bench-math): Separate out math tests.
29444         (bench-pthread): Separate out pthread tests.
29445         (bench): Include math and pthread tests.
29447 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29449         [BZ #16831]
29450         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29451         _dl_debug_initialize.
29453         * configure.ac: Remove SELinux header check.
29454         * configure: Regenerate.
29455         * nscd/selinux.c (perms): Array of const char* to permission names.
29456         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29457         default policy. Call string_to_security_class and string_to_av_perm to
29458         translate strings. Enforce default policy and call avs_has_perm with
29459         results of translated strings.
29461 2014-04-13  David S. Miller  <davem@davemloft.net>
29463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29465 2014-04-12  Allan McRae  <allan@archlinux.org>
29467         [BZ #16838]
29468         * manual/string.texi (Collation Functions): Fix qsort argument
29469         order in example.
29470         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29472 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29474         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29475         Make the test a no-op if there are no exceptions defined.
29477 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29479         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29480         enable-hardcoded-path-in-tests
29482 2014-04-11  Will Newton  <will.newton@linaro.org>
29484         * benchtests/Makefile (extra-objs): Add json-lib.o.
29485         (bench-func): Tidy up JSON output.
29486         * benchtests/bench-skeleton.c: Include json-lib.h.
29487         (main): Use JSON library functions to do output of
29488         benchmark results.
29489         * benchtests/bench-timing-type.c (main): Output the
29490         timing type simply, leaving formatting to the user.
29491         * benchtests/json-lib.c: New file.
29492         * benchtests/json-lib.h: Likewise.
29494 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29496         [BZ #15215]
29497         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29498         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29499         memory barriers.  Add comments.
29500         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29501         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29502         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29503         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29504         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29505         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29507 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29509         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29510         * sysdeps/s390/s390-64/configure.ac: ... this ...
29511         * sysdeps/s390/configure.ac: ... to here.
29512         * sysdeps/s390/s390-32/configure: Delete file.
29513         * sysdeps/s390/s390-64/configure: Delete file.
29514         * sysdeps/s390/configure: Regenerate.
29516 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29518         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29520 2014-04-11  Will Newton  <will.newton@linaro.org>
29522         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29523         to zero if it is not defined elsewhere.  (mtrim): Test
29524         the value of MALLOC_DEBUG with #if rather than #ifdef.
29526 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29528         * benchtests/pthread_once-inputs: New file.
29529         * benchtests/pthread_once-source.c: New file.
29530         * benchtests/README: Update documentation.
29532 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29533             H.J. Lu  <hongjiu.lu@intel.com>
29535         [BZ #16275]
29536         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29537         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29538         * sysdeps/x86_64/configure: Regenerated.
29539         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29540         macro.
29541         (REGISTER_SAVE_RAX): Likewise.
29542         (REGISTER_SAVE_RCX): Likewise.
29543         (REGISTER_SAVE_RDX): Likewise.
29544         (REGISTER_SAVE_RSI): Likewise.
29545         (REGISTER_SAVE_RDI): Likewise.
29546         (REGISTER_SAVE_R8): Likewise.
29547         (REGISTER_SAVE_R9): Likewise.
29548         (REGISTER_SAVE_BND0): Likewise.
29549         (REGISTER_SAVE_BND1): Likewise.
29550         (REGISTER_SAVE_BND2): Likewise.
29551         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29552         bound registers when calling _dl_fixup.
29554 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29556         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29557         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29558         of its definition.
29559         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29560         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29561         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29562         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29563         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29564         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29565         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29567 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29569         [BZ #15514]
29570         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29571         pathconf(_PC_NAME_MAX).
29573 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29575         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29576         Remove macro usage.
29577         (__PTHREAD_SPINS): Move definition to ...
29578         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29579         (__PTHREAD_SPINS): ... here.
29580         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29581         (__PTHREAD_SPIN): Likewise.
29582         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29583         (__PTHREAD_SPIN): Likewise.
29584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29585         (__PTHREAD_SPIN): Likewise.
29586         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29587         (__PTHREAD_SPIN): Likewise.
29588         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29589         (__PTHREAD_SPIN): Likewise.
29590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29591         (__PTHREAD_SPIN): Likewise.
29592         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29593         (__PTHREAD_SPIN): Likewise.
29594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29595         (__PTHREAD_SPIN): Likewise.
29596         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29597         (__PTHREAD_SPIN): Likewise.
29598         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29599         (__PTHREAD_SPIN): Likewise.
29600         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29601         (__PTHREAD_SPIN): Likewise.
29602         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29603         (__PTHREAD_SPIN): Likewise.
29605         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29606         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29607         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29608         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29609         imply folder.
29610         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29611         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29612         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29613         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29614         correct imply path.
29615         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29616         strlen symbol for non multi-arch builds.
29617         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29618         missing hidden_def and weak_alias.
29620 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29622         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29624 2014-04-07  Will Newton  <will.newton@linaro.org>
29626         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29627         and contents.  [!_LIBC] Remove #ifndef and contents.
29628         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29629         * string/memccpy.c (__memccpy): Use ANSI prototype.
29630         * string/memfrob.c (memfrob): Likewise.
29631         * string/strcoll.c (STRCOLL): Likewise.
29632         * string/strlen.c (strlen): Likewise.
29633         * string/strtok.c (STRTOK): Likewise.
29634         * string/strcat.c: Remove unused #include of memcopy.h.
29635         (strcat): Use ANSI prototype.
29636         * string/strchr.c: Remove unused #include of memcopy.h.
29637         (strchr): Use ANSI prototype.
29638         * string/strcmp.c: Remove unused #include of memcopy.h.
29639         (strcmp): Use ANSI prototype.
29640         * string/strcpy.c: Remove unused #include of memcopy.h.
29641         (strcpy): Use ANSI prototype.
29643 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29645         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29646         * config.make.in (config-extra-cppflags): Set it from
29647         libc_extra_cppflags.
29648         * configure.ac (libc_extra_cflags): Make it accumulate over
29649         configure fragments.
29650         (libc_extra_cppflags): New flag.
29651         * configure. Regenerate.
29652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29653         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29654         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29657         [BZ #16815]
29658         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29659         result for FE_DOWNWARD rounding mode.
29660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29661         Likewise.
29662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29664 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29666         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29667         in function argument name.
29669 2014-04-03  David Svoboda  <svoboda@cert.org>
29671         [BZ #5666]
29672         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29673         explicitly.
29675 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29677         * elf/dl-unmap-segments.h: New file.
29678         * sysdeps/generic/ldsodefs.h
29679         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29680         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29681         * elf/dl-fptr.c: Likewise.
29682         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29683         * sysdeps/aarch64/tlsdesc.c: Likewise.
29684         * sysdeps/arm/tlsdesc.c: Likewise.
29685         * sysdeps/i386/tlsdesc.c: Likewise.
29686         * sysdeps/tile/dl-runtime.c: Likewise.
29687         * sysdeps/x86_64/tlsdesc.c: Likewise.
29688         * elf/dl-load.h: New file.
29689         * elf/dl-load.c: Include it.
29690         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29691         Macros moved to dl-load.h.
29692         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29693         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29694         Use _dl_unmap_segments in place of __munmap.
29695         Break out segment-mapping loop into ...
29696         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29698 2014-04-03  Will Newton  <will.newton@linaro.org>
29700         * elf/dl-lookup.c (do_lookup_x): Remove comment
29701         referring to nested function and move variable
29702         declarations down to before first use.
29704 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29706         [BZ #16799]
29707         [BZ #16800]
29708         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29709         with 0 numerator.
29710         * math/s_catanf.c (__catanf): Likewise.
29711         * math/s_catanh.c (__catanh): Likewise.
29712         * math/s_catanhf.c (__catanhf): Likewise.
29713         * math/s_catanhl.c (__catanhl): Likewise.
29714         * math/s_catanl.c (__catanl): Likewise.
29715         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29716         by positive zero when computing -Inf result.
29717         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29718         (catanh_test): Likewise.
29719         * sysdeps/i386/fpu/libm-test-ulps: Update.
29720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29722         [BZ #16789]
29723         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29724         instead of using underflowing value in computing result.
29725         * math/s_clog10.c (__clog10): Likewise.
29726         * math/s_clog10f.c (__clog10f): Likewise.
29727         * math/s_clog10l.c (__clog10l): Likewise.
29728         * math/s_clogf.c (__clogf): Likewise.
29729         * math/s_clogl.c (__clogl): Likewise.
29730         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29731         (clog10_test): Likewise.
29732         * sysdeps/i386/fpu/libm-test-ulps: Update.
29733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29735 2014-04-02  Alan Modra  <amodra@gmail.com>
29737         [BZ #16739]
29738         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29739         output when value is near a power of two.  Use int64_t for lx and
29740         remove casts.  Use decimal rather than hex exponent constants.
29741         Don't use long double multiplication when double will suffice.
29742         * math/libm-test.inc (nextafter_test_data): Add tests.
29743         * NEWS: Add 16739 and 16786 to bug list.
29745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29747         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29749 2014-04-01  Will Newton  <will.newton@linaro.org>
29751         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29752         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29754 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29756         [BZ #13347]
29757         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29758         * nptl/tst-setuid2.c: New file.
29759         * nptl/Makefile (xtests): Add tst-setuid2.
29761 2014-04-01  Alan Modra  <amodra@gmail.com>
29763         [BZ #16786]
29764         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29766 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #6803]
29769         [BZ #6804]
29770         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29771         set errno as appropriate.
29772         * math/w_scalbf.c (__scalbf): Likewise.
29773         * math/w_scalbl.c (__scalbl): Likewise.
29774         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29775         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29776         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29777         Add more NaN tests.
29779         [BZ #16349]
29780         * math/w_atan2.c: Include <errno.h>.
29781         (__atan2): Set errno for result underflowing to zero.
29782         * math/w_atan2f.c: Include <errno.h>.
29783         (__atan2f): Set errno for result underflowing to zero.
29784         * math/w_atan2l.c: Include <errno.h>.
29785         (__atan2l): Set errno for result underflowing to zero.
29786         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29787         tests.
29788         * math/auto-libm-test-out: Regenerated.
29790 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29792         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29793         Encode instruction correctly in little endian.
29794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29795         Likewise.
29796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29797         Likewise.
29798         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29799         Likewise.
29800         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29801         Likewise.
29803 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29805         [BZ #9894]
29806         * sysdeps/unix/sysv/linux/kernel-features.h
29807         [__sparc__ && !__arch64__ && !__sparc_v9__]
29808         (__ASSUME_SET_ROBUST_LIST): Do not define.
29809         [__sparc__ && !__arch64__ && !__sparc_v9__]
29810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29811         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29812         Likewise.
29813         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29814         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29815         (__ASSUME_REQUEUE_PI): Likewise.
29816         (__ASSUME_SET_ROBUST_LIST): Likewise.
29817         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29818         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29819         Undefine.
29820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29822         Likewise.
29823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29824         Likewise.
29825         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29826         Likewise.
29827         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29828         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29829         Undefine.
29830         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29831         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29832         Likewise.
29834         [BZ #16648]
29835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29837         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29839 2014-03-31  Will Newton  <will.newton@linaro.org>
29841         * benchtests/Makefile (bench): Add ffs and ffsll to list
29842         of tests.
29843         * benchtests/ffs-inputs: New file.
29844         * benchtests/ffsll-inputs: Likewise.
29846 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29848         [BZ #16770]
29849         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29850         too large before casting to int.
29851         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29852         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29853         * math/libm-test.inc (scalb_test_data): Add more tests.
29855 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29857         * benchtests/Makefile (DETAILED_OPT): New make option.
29858         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29859         set.
29860         * benchtests/bench-skeleton.c: Include stdbool.h.
29861         (main): Store and print timings per input.
29862         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29863         member to each argument value.
29864         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29865         (_print_arg_data): Initialize per-input timing to 0.
29867         * benchtests/Makefile (timing-type): New binary.
29868         (bench-clean): Also remove bench-timing-type.
29869         (bench): New target for timing-type.
29870         (bench-func): Print output in JSON format.
29871         * benchtests/bench-skeleton.c (main): Print output in JSON
29872         format.
29873         * benchtests/bench-timing-type.c: New file.
29874         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29875         (TIMING_PRINT_STATS): Remove.
29876         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29877         name separately.
29879         * benchtests/bench-modf.c: Remove.
29880         * benchtests/modf-inputs: New inputs file.
29882 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29884         [BZ #16362]
29885         * math/s_clog10.c (M_PI_LOG10E): New macro.
29886         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29887         imaginary parts are 0.
29888         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29889         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29890         imaginary parts are 0.
29891         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29892         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29893         imaginary parts are 0.
29894         * math/libm-test.inc (clog10_test_data): Update expected results
29895         for when real and imaginary parts are 0.
29897 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29899         * elf/dl-load.c: Finish conversion of __builtin_expect into
29900         __glibc_{un}likely.
29902 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29904         [BZ #16348]
29905         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29906         1+x for argument with exponent below -67.
29907         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29908         Likewise.
29909         * math/auto-libm-test-in: Add more tests of exp.
29910         * math/auto-libm-test-out: Regenerated.
29912 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29914         [BZ #16759]
29915         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29916         (nscd_getnetgrent): Use it.
29918         [BZ #16760]
29919         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29920         of stpcpy.
29922 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29924         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29925         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29926         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29927         (lll_robust_unlock): Remove out of line section. Use cfi
29928         intrinsics.
29929         (LLL_STUB_UNWIND_INFO*): Remove.
29930         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29931         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29932         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29933         (lll_robust_unlock): Remove out of line section. Use cfi
29934         intrinsics.
29935         (LLL_STUB_UNWIND_INFO*): Remove.
29937 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29939         [BZ #16758]
29940         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29941         blank values.
29943 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29945         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29947 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29949         [BZ #16198]
29950         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29951         fnstenv.
29952         * math/test-fenv-preserve.c: New file.
29953         * math/Makefile (tests): Add test-fenv-preserve.
29955 2014-03-26  Will Newton <will.newton@linaro.org>
29957         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29959 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29961         * scripts/versionlist.awk: Partition the version sets and emit all
29962         GLIBC_* (sorted) before all others (sorted).
29964 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29966         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29967         GLIBC_2.2.5 version.
29969 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29971         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29972         calls.
29974         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29975         previous change.
29977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29979 2014-03-25  Andreas Schwab  <schwab@suse.de>
29981         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29982         label to be used after in6ailist is initialized.
29984 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29986         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29987         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29989 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29991         [BZ #16357]
29992         [BZ #16599]
29993         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29994         min_plus_half.
29995         (fp_formats): Update initializers.
29996         (init_fp_formats): Initialize new field.
29997         (output_for_one_input_case): Allow underflow for results up to
29998         min_plus_half.
29999         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30000         * math/auto-libm-test-in: Don't mark some underflows from asin and
30001         atanh as spurious.
30002         * math/auto-libm-test-out: Regenerated.
30003         * sysdeps/i386/fpu/libm-test-ulps: Update.
30004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30006 2014-03-25  Andreas Schwab  <schwab@suse.de>
30008         * libio/Makefile (tst-ftell-partial-wide-ENV)
30009         (tst-ftell-active-handler-ENV): Define.
30011 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30013         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30015 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30017         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30019 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30021         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30022         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30023         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30025 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30027         [BZ #16634]
30028         * elf/dl-load.c (open_verify): Add mode parameter.
30029         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30030         (open_path): Change from boolean 'secure' to complete flag 'mode'
30031         (_dl_map_object): Adjust.
30032         * elf/Makefile (tests): Add tst-dlopen-aout.
30033         * elf/tst-dlopen-aout.c: New test.
30035 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30037         [BZ #16714]
30038         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30039         (struct stat): Rename member pad0 to __glibc_reserved0.
30041         [BZ #16712]
30042         * sysdeps/s390/s390-32/bits/wordsize.h
30043         (__WORDSIZE32_SIZE_ULONG): New define.
30044         * sysdeps/s390/s390-64/bits/wordsize.h
30045         (__WORDSIZE32_SIZE_ULONG): Likewise.
30046         * sysdeps/generic/stdint.h (SIZE_MAX):
30047         Define as UL if __WORDSIZE32_SIZE_ULONG.
30049         [BZ #16713]
30050         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30051         (__glibc_reserved0): New variable.
30052         (sa_flags): Change type to int.
30054         * posix/Makefile (before-compile): Use += before-compile instead
30055         of a :=.
30057         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30058         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30060 2014-03-20  Andreas Schwab  <schwab@suse.de>
30062         [BZ #16743]
30063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30064         non-matching result from nscd.
30066 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30068         * scripts/bench.py: Moved to ...
30069         * benchtests/scripts/bench.py: ... here.
30070         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30072 2014-03-24  Andreas Schwab  <schwab@suse.de>
30074         [BZ #16002]
30075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30076         alloca_account and account alloca use for struct in6ailist.
30078 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30080         [BZ #16284]
30081         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30082         rounding mode to recompute results that overflow to infinity or
30083         underflow to zero.
30084         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30085         bug 16284.
30086         * math/auto-libm-test-out: Regenerated.
30087         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30088         (ccosh_test): Likewise.
30089         (csin_test_data): Use plus_oflow.
30090         (csin_test): Use ALL_RM_TEST.
30091         (csinh_test_data): Use plus_oflow.
30092         (csinh_test): Use ALL_RM_TEST.
30093         * sysdeps/i386/fpu/libm-test-ulps: Update.
30094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30096 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30098         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30099         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30100         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30102         [BZ #16731]
30103         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30104         when x - 1 is zero.
30105         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30106         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30107         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30108         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30109         argument is 1.
30110         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30111         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30112         zero.
30113         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30114         * sysdeps/i386/fpu/libm-test-ulps: Update.
30115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30117 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30119         * scripts/bench.pl: Remove file.
30120         * scripts/bench.py: New benchmark script.
30121         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30122         * benchtests/README: Mention python dependency.
30123         * scripts/pylintrc: New file.
30124         * scripts/pylint: New file.
30126         * bits/mathdef.h: Use #ifdef instead of #if.
30127         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30128         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30129         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30130         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30131         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30132         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30134 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30135             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30137         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30139         and strpbrk-ppc64 objects.
30140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30141         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30143         multiarch strpbrk for POWER7.
30144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30145         multiarch strpbrk for PPC64.
30146         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30147         ifunc selector.
30148         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30149         strpbrk for POWER7.
30151 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30153         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30154         (atan_test): Likewise.
30155         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30156         (atanh_test): Use ALL_RM_TEST.
30157         (atan2_test_data): Likewise.
30158         (cabs_test): Likewise.
30159         (cacosh_test): Likewise.
30160         (carg_test): Likewise.
30161         (casin_test): Likewise.
30162         (casinh_test): Likewise.
30163         (cbrt_test): Likewise.
30164         (csqrt_test): Likewise.
30165         (erf_test): Likewise.
30166         (erfc_test): Likewise.
30167         (pow10_test): Likewise.
30168         (exp2_test): Likewise.
30169         (hypot_test): Likewise.
30170         (j0_test): Likewise.
30171         (j1_test): Likewise.
30172         (lgamma_test): Likewise.
30173         (gamma_test): Likewise.
30174         (sincos_test): Likewise.
30175         (tanh_test): Likewise.
30176         (y0_test): Likewise.
30177         (y1_test): Likewise.
30178         * sysdeps/i386/fpu/libm-test-ulps: Update.
30179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30181 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30183         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30185         and strcspn-ppc64 objects.
30186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30187         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30188         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30189         multiarch strcspn for POWER7.
30190         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30191         multiarch strcspn for PPC64.
30192         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30193         ifunc selector.
30194         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30195         strcspn for POWER7.
30197 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30199         * math/gen-libm-test.pl (generate_testfile): Expect only function
30200         name as argument to AUTO_TESTS_* and pass results for all rounding
30201         modes to parse_args.
30202         (parse_auto_input): Separate inputs of automatic tests from
30203         outputs before storing in %auto_tests.
30204         * math/libm-test.inc (acos_test_data): Update call to
30205         AUTO_TESTS_f_f.
30206         (acos_test): Use ALL_RM_TEST.
30207         (acos_tonearest_test_data): Remove.
30208         (acos_test_tonearest): Likewise.
30209         (acos_towardzero_test_data): Likewise.
30210         (acos_test_towardzero): Likewise.
30211         (acos_downward_test_data): Likewise.
30212         (acos_test_downward): Likewise.
30213         (acos_upward_test_data): Likewise.
30214         (acos_test_upward): Likewise.
30215         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30216         (asin_test_data): Likewise.
30217         (asin_test): Use ALL_RM_TEST.
30218         (asin_tonearest_test_data): Remove.
30219         (asin_test_tonearest): Likewise.
30220         (asin_towardzero_test_data): Likewise.
30221         (asin_test_towardzero): Likewise.
30222         (asin_downward_test_data): Likewise.
30223         (asin_test_downward): Likewise.
30224         (asin_upward_test_data): Likewise.
30225         (asin_test_upward): Likewise.
30226         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30227         (atan_test_data): Likewise.
30228         (atanh_test_data): Likewise.
30229         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30230         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30231         (carg_test_data): Likewise.
30232         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30233         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30234         (ccosh_test_data): Likewise.
30235         (cexp_test_data): Likewise.
30236         (clog_test_data): Likewise.
30237         (clog10_test_data): Likewise.
30238         (cos_test_data): Update call to AUTO_TESTS_f_f.
30239         (cos_test): Use ALL_RM_TEST.
30240         (cos_tonearest_test_data): Remove.
30241         (cos_test_tonearest): Likewise.
30242         (cos_towardzero_test_data): Likewise.
30243         (cos_test_towardzero): Likewise.
30244         (cos_downward_test_data): Likewise.
30245         (cos_test_downward): Likewise.
30246         (cos_upward_test_data): Likewise.
30247         (cos_test_upward): Likewise.
30248         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30249         (cosh_test): Use ALL_RM_TEST.
30250         (cosh_tonearest_test_data): Remove.
30251         (cosh_test_tonearest): Likewise.
30252         (cosh_towardzero_test_data): Likewise.
30253         (cosh_test_towardzero): Likewise.
30254         (cosh_downward_test_data): Likewise.
30255         (cosh_test_downward): Likewise.
30256         (cosh_upward_test_data): Likewise.
30257         (cosh_test_upward): Likewise.
30258         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30259         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30260         (ctan_test_data): Likewise.
30261         (ctan_test): Use ALL_RM_TEST.
30262         (ctan_tonearest_test_data): Remove.
30263         (ctan_test_tonearest): Likewise.
30264         (ctan_towardzero_test_data): Likewise.
30265         (ctan_test_towardzero): Likewise.
30266         (ctan_downward_test_data): Likewise.
30267         (ctan_test_downward): Likewise.
30268         (ctan_upward_test_data): Likewise.
30269         (ctan_test_upward): Likewise.
30270         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30271         (ctanh_test): Use ALL_RM_TEST.
30272         (ctanh_tonearest_test_data): Remove.
30273         (ctanh_test_tonearest): Likewise.
30274         (ctanh_towardzero_test_data): Likewise.
30275         (ctanh_test_towardzero): Likewise.
30276         (ctanh_downward_test_data): Likewise.
30277         (ctanh_test_downward): Likewise.
30278         (ctanh_upward_test_data): Likewise.
30279         (ctanh_test_upward): Likewise.
30280         (erf_test_data): Update call to AUTO_TESTS_f_f.
30281         (erfc_test_data): Likewise.
30282         (exp_test_data): Likewise.
30283         (exp_test): Use ALL_RM_TEST.
30284         (exp_tonearest_test_data): Remove.
30285         (exp_test_tonearest): Likewise.
30286         (exp_towardzero_test_data): Likewise.
30287         (exp_test_towardzero): Likewise.
30288         (exp_downward_test_data): Likewise.
30289         (exp_test_downward): Likewise.
30290         (exp_upward_test_data): Likewise.
30291         (exp_test_upward): Likewise.
30292         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30293         (exp10_test): Use ALL_RM_TEST.
30294         (exp10_tonearest_test_data): Remove.
30295         (exp10_test_tonearest): Likewise.
30296         (exp10_towardzero_test_data): Likewise.
30297         (exp10_test_towardzero): Likewise.
30298         (exp10_downward_test_data): Likewise.
30299         (exp10_test_downward): Likewise.
30300         (exp10_upward_test_data): Likewise.
30301         (exp10_test_upward): Likewise.
30302         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30303         (expm1_test_data): Likewise.
30304         (expm1_test): Use ALL_RM_TEST.
30305         (expm1_tonearest_test_data): Remove.
30306         (expm1_test_tonearest): Likewise.
30307         (expm1_towardzero_test_data): Likewise.
30308         (expm1_test_towardzero): Likewise.
30309         (expm1_downward_test_data): Likewise.
30310         (expm1_test_downward): Likewise.
30311         (expm1_upward_test_data): Likewise.
30312         (expm1_test_upward): Likewise.
30313         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30314         (fma_test): Use ALL_RM_TEST.
30315         (fma_towardzero_test_data): Remove.
30316         (fma_test_towardzero): Likewise.
30317         (fma_downward_test_data): Likewise.
30318         (fma_test_downward): Likewise.
30319         (fma_upward_test_data): Likewise.
30320         (fma_test_upward): Likewise.
30321         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30322         (j0_test_data): Update call to AUTO_TESTS_f_f.
30323         (j1_test_data): Likewise.
30324         (jn_test_data): Update call to AUTO_TESTS_if_f.
30325         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30326         (log_test_data): Update call to AUTO_TESTS_f_f.
30327         (log10_test_data): Likewise.
30328         (log1p_test_data): Likewise.
30329         (log2_test_data): Likewise.
30330         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30331         (pow_tonearest_test_data): Likewise.
30332         (sin_test_data): Update call to AUTO_TESTS_f_f.
30333         (sin_test): Use ALL_RM_TEST.
30334         (sin_tonearest_test_data): Remove.
30335         (sin_test_tonearest): Likewise.
30336         (sin_towardzero_test_data): Likewise.
30337         (sin_test_towardzero): Likewise.
30338         (sin_downward_test_data): Likewise.
30339         (sin_test_downward): Likewise.
30340         (sin_upward_test_data): Likewise.
30341         (sin_test_upward): Likewise.
30342         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30343         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30344         (sinh_test): Use ALL_RM_TEST.
30345         (sinh_tonearest_test_data): Remove.
30346         (sinh_test_tonearest): Likewise.
30347         (sinh_towardzero_test_data): Likewise.
30348         (sinh_test_towardzero): Likewise.
30349         (sinh_downward_test_data): Likewise.
30350         (sinh_test_downward): Likewise.
30351         (sinh_upward_test_data): Likewise.
30352         (sinh_test_upward): Likewise.
30353         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30354         (sqrt_test): Use ALL_RM_TEST.
30355         (sqrt_tonearest_test_data): Remove.
30356         (sqrt_test_tonearest): Likewise.
30357         (sqrt_towardzero_test_data): Likewise.
30358         (sqrt_test_towardzero): Likewise.
30359         (sqrt_downward_test_data): Likewise.
30360         (sqrt_test_downward): Likewise.
30361         (sqrt_upward_test_data): Likewise.
30362         (sqrt_test_upward): Likewise.
30363         (tan_test_data): Update call to AUTO_TESTS_f_f.
30364         (tan_test): Use ALL_RM_TEST.
30365         (tan_tonearest_test_data): Remove.
30366         (tan_test_tonearest): Likewise.
30367         (tan_towardzero_test_data): Likewise.
30368         (tan_test_towardzero): Likewise.
30369         (tan_downward_test_data): Likewise.
30370         (tan_test_downward): Likewise.
30371         (tan_upward_test_data): Likewise.
30372         (tan_test_upward): Likewise.
30373         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30374         (tgamma_test_data): Likewise.
30375         (y0_test_data): Likewise.
30376         (y1_test_data): Likewise.
30377         (yn_test_data): Update call to AUTO_TESTS_if_f.
30378         (main): Do not call removed functions.
30380 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30382         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30383         (ldexp_test_data): Remove.
30384         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30385         scalbn_test_data.
30386         (scalb_test): Use ALL_RM_TEST.
30388 2014-03-19  Andreas Schwab  <schwab@suse.de>
30390         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30392 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30394         [BZ #16649]
30395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30396         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30399         (__ASSUME_PREADV): Undefine.
30400         (__ASSUME_PWRITEV): Likewise.
30402 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30404         * bits/mman-linux.h: Add comment about non-Linux use.
30405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30406         bits/mman-linux.h resting place.
30408         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30409         * bits/mman-linux.h: ... here.
30411 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30413         * conform/conformtest.pl: Add standard definition when calling C
30414         preprocessor on data files.
30415         (checknamespace): Remove unused variable.
30417 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30419         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30420         minus_oflow, plus_uflow and minus_uflow in expected results.
30421         * math/libm-test.inc (scalbn_test_data): Add more tests of
30422         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30423         minus_uflow.
30424         (scalbn_test): Use ALL_RM_TEST.
30425         (scalbln_test_data): Add more tests of negative arguments.  Use
30426         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30427         (scalbln_test): Use ALL_RM_TEST.
30429 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30431         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30433 2014-03-18  Will Newton  <will.newton@linaro.org>
30435         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30436         inaccurate comment.
30438 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30440         * Makerules [!subdir] (check-abi): Exit with error status if a
30441         test failed.
30443 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30445         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30446         for rint.  Include results for all rounding modes.
30447         (nearbyint_test): Use ALL_RM_TEST.
30448         (rint_test_data): Include all tests used for nearbyint.
30450 2014-03-17  Will Newton  <will.newton@linaro.org>
30452         * nptl/sysdeps/pthread/pthread.h: Revert previous
30453         change.
30455         * sysdeps/generic/ldsodefs.h: Revert previous
30456         change.
30458         * libio/genops.c: Revert previous change.
30459         * libio/libioP.h: Likewise.
30460         * stdio-common/vfprintf.c: Likewise.
30462         * sysdeps/generic/math_private.h: Revert previous
30463         change.
30465         * sysdeps/generic/math_private.h: Check whether
30466         HAVE_RM_CTX is defined with #ifdef rather
30467         than #if.
30469         * argp/argp-fmtstream.h: Check whether
30470         __STRICT_ANSI__ is defined with #ifdef rather
30471         than #if.
30472         * argp/argp.h: Likewise.
30474         * libio/genops.c: Check whether
30475         _IO_JUMPS_OFFSET is defined with #ifdef rather
30476         than #if.
30477         * libio/libioP.h: Likewise.
30478         * stdio-common/vfprintf.c: Likewise.
30480         * sysdeps/generic/ldsodefs.h: Check whether
30481         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30482         than #if.
30484         * nptl/sysdeps/pthread/pthread.h: Check
30485         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30486         its value.
30488 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30491         setting O_APPEND.
30492         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30493         test case.
30495         [BZ #16680]
30496         * libio/fileops.c (_IO_file_open): Seek to end of file but
30497         don't cache the offset.
30498         (get_file_offset): Remove function.
30499         (do_ftell): Use cached offset when available.
30500         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30501         don't cache the offset.
30502         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30503         case.
30504         (do_one_test): Call it.
30505         (do_ftell_test): Fix up expected old offset for a+ mode.
30506         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30507         available.
30509         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30510         up test status with function return status.
30511         (do_write_test): Likewise.
30512         (do_append_test): Likewise.
30514         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30515         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30516         Remove.
30518 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30520         * math/gen-libm-test.pl (parse_args): Handle results specified for
30521         each rounding mode separately.
30522         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30523         tests and results from lrint_tonearest_test_data,
30524         lrint_towardzero_test_data, lrint_downward_test_data and
30525         lrint_upward_test_data.
30526         (lrint_test): Use ALL_RM_TEST.
30527         (lrint_tonearest_test_data): Remove.
30528         (lrint_test_tonearest): Likewise.
30529         (lrint_towardzero_test_data): Likewise.
30530         (lrint_test_towardzero): Likewise.
30531         (lrint_downward_test_data): Likewise.
30532         (lrint_test_downward): Likewise.
30533         (lrint_upward_test_data): Likewise.
30534         (lrint_test_upward): Likewise.
30535         (llrint_test_data): Merge in per-rounding-mode tests and results
30536         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30537         llrint_downward_test_data and llrint_upward_test_data.
30538         (llrint_test): Use ALL_RM_TEST.
30539         (llrint_tonearest_test_data): Remove.
30540         (llrint_test_tonearest): Likewise.
30541         (llrint_towardzero_test_data): Likewise.
30542         (llrint_test_towardzero): Likewise.
30543         (llrint_downward_test_data): Likewise.
30544         (llrint_test_downward): Likewise.
30545         (llrint_upward_test_data): Likewise.
30546         (llrint_test_upward): Likewise.
30547         (rint_test_data): Merge in per-rounding-mode tests and results
30548         from rint_tonearest_test_data, rint_towardzero_test_data,
30549         rint_downward_test_data and rint_upward_test_data.  Add
30550         per-rounding-mode results for tests not in those arrays.
30551         (rint_test): Use ALL_RM_TEST.
30552         (rint_tonearest_test_data): Remove.
30553         (rint_test_tonearest): Likewise.
30554         (rint_towardzero_test_data): Likewise.
30555         (rint_test_towardzero): Likewise.
30556         (rint_downward_test_data): Likewise.
30557         (rint_test_downward): Likewise.
30558         (rint_upward_test_data): Likewise.
30559         (rint_test_upward): Likewise.
30560         (main): Don't call removed functions.
30562 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30564         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30565         "Compiled on ..." crapola.  It is anti-useful.
30567 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30569         * scripts/evaluate-test.sh: Handle fourth argument to determine
30570         whether test run should stop on failure.
30571         * Makeconfig (stop-on-test-failure): New variable.
30572         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30573         $(stop-on-test-failure).
30574         * Makefile (tests): Give a summary of results from testing and
30575         exit with failure status if they include an ERROR or FAIL.
30576         (xtests): Likewise.
30577         * manual/install.texi (Configuring and compiling): Mention
30578         stop-on-test-failure=y.
30579         * INSTALL: Regenerated.
30581 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30583         * scripts/versionlist.awk: New file.
30584         * Makerules [$(build-shared) = yes]
30585         (postclean-generated): Add Versions.def, not Versions.def.v and
30586         Versions.def.v.i.
30587         ($(common-objpfx)Versions.def.v.i): Target removed.
30588         ($(common-objpfx)Versions.def): New target.
30589         ($(common-objpfx)Versions.all): Depend on that rather that
30590         $(common-objpfx)Versions.def.v.
30591         * Versions.def: File removed.
30593         * Makeconfig (+gccwarn): Add -Wundef.
30594         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30595         a dl-sysdep.h breaking its contract.
30596         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30597         * include/stackinfo.h: New file.
30598         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30599         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30600         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30601         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30602         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30603         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30604         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30605         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30606         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30607         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30608         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30609         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30610         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30611         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30612         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30614 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30616         [BZ #16707]
30617         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30618         implementation.
30619         * math/libm-test.inc (round_test_data): Add more tests.
30621         [BZ #16706]
30622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30623         implementation.
30624         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30626         [BZ #16701]
30627         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30628         implementation.
30629         * math/libm-test.inc (ceil_test_data): Add more tests.
30631         * math/libm-test.inc (trunc_test_data): Add more tests related to
30632         BZ#16414.
30634 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30636         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30637         with #if rather than #ifdef.
30638         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30640 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30642         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30643         first.  Disable AVX-512 GCC support if assembler doesn't support
30644         it.
30645         * sysdeps/x86_64/configure: Regenerated.
30647 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30649         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30650         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30651         (__old_pthread_attr_setstack): Likewise.
30652         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30653         [!_STACK_GROWS_DOWN]: Likewise.
30655 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30657         * config.make.in (have-bash2): Delete.
30658         * configure.ac (libc_cv_have_bash2): Delete.
30659         * configure: Regenerate.
30660         * elf/Makefile (common-ldd-rewrite): Rename to ...
30661         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30662         (sh-ldd-rewrite): Delete.
30663         (bash-ldd-rewrite): Delete.
30664         (have-bash2): Delete checks.
30665         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30666         ldd-rewrite.
30668         * config.make.in (have-ksh): Delete.
30669         (KSH): Delete.
30670         * configure.ac (libc_cv_have_ksh): Delete.
30671         * configure: Regenerate.
30673         * elf/Makefile: Delete $(have-ksh) check.
30674         ($(objpfx)sotruss): Change KSH to BASH.
30675         * elf/sotruss.ksh: Rename to ...
30676         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30677         function style to match POSIX.  Drop ksh vim mode setting.
30679         * manual/time.texi (Specifying the Time Zone with TZ): Change
30680         Tuesday to Thursday.
30682         * debug/tst-longjmp_chk2.c: Update header comment.
30683         (stackoverflow_handler): Add comment.  Call assert on pass value.
30685 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30687         [BZ #16194]
30688         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30689         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30690         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30691         (La_x86_64_vector): Add zmm.
30692         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30693         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30694         ($(objpfx)tst-audit10): New target.
30695         ($(objpfx)tst-audit10.out): Likewise.
30696         (tst-audit10-ENV): New.
30697         (AVX512-CFLAGS): Likewise.
30698         (CFLAGS-tst-audit10.c): Likewise.
30699         (CFLAGS-tst-auditmod10a.c): Likewise.
30700         (CFLAGS-tst-auditmod10b.c): Likewise.
30701         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30702         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30703         * sysdeps/x86_64/configure: Regenerated.
30704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30705         AVX-512 zmm register support.
30706         (_dl_x86_64_save_sse): Likewise.
30707         (_dl_x86_64_restore_sse): Likewise.
30708         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30709         size vector registers.
30710         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30711         (ZMM_SIZE): Likewise.
30712         * sysdeps/x86_64/tst-audit10.c: New file.
30713         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30714         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30716 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30718         * configure.ac (HAVE_EHDR_START): New check.
30719         * configure: Regenerated.
30720         * config.h.in (HAVE_EHDR_START): New #undef.
30721         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30722         assuming the lowest-addressed segment maps the start of the file.
30724 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30726         * INSTALL: Regenerated.
30728 2014-03-13  Will Newton  <will.newton@linaro.org>
30730         * manual/setjmp.texi (System V contexts): Improve
30731         clarity and grammar of documentation.
30733 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30735         [BZ #16381]
30736         * elf/Makefile (tests): Add tst-pie2.
30737         (tests-pie): Add tst-pie2.
30738         * elf/tst-pie2.c: New file.
30739         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30740         for ET_EXEC.
30741         * elf/rtld.c (map_doit): Load executable as lt_executable.
30742         (dl_main): Likewise.
30744 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30746         [BZ #16642]
30747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30748         (__ASSUME_PSELECT): Undefine.
30750 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30752         [BZ #16689]
30753         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30754         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30755         static build.
30756         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30757         selector for static builds.
30759 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         [BZ #16695]
30762         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30763         key in the buffer.
30765 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30767         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30768         IFUNC selector for static builds.
30770 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30772         * sysdeps/mips/math_private.h [__mips_hard_float]
30773         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30774         libc_feresetround_mips_ctx.
30775         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30776         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30777         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30779         [BZ #16677]
30780         * math/s_nextafter.c (__nextafter): Do not return value from
30781         overflowing computation.
30782         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30783         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30784         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30785         Likewise.
30786         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30787         Likewise.
30788         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30789         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30791 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30793         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30794         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30795         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30796         the new mov targetting sp.
30798 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30800         [BZ #16683]
30801         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30802         Define it for static builds as well.
30803         (NO_BZERO_IMPL): Likewise.
30805 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30807         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30808         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30809         multiarch strspn for PPC64.
30810         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30811         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30813         (__libc_ifunc_impl_list): Likewise.
30814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30815         multiarch optimizations
30816         * string/strspn.c (strspn): Using macro to redefine symbol name.
30818 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30819             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30821         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30822         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30823         multiarch strncat for PPC64.
30824         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30827         (__libc_ifunc_impl_list): Likewise.
30828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30829         multiarch optimizations
30831 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30833         [BZ #16639]
30834         * nscd/nscd.service: Make service type forking.
30836 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30838         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30839         sign in non default rounding modes.
30840         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30842 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30844         * math/libm-test.inc (ALL_RM_TEST): New macro.
30845         (ceil_test): Use ALL_RM_TEST.
30846         (cimag_test): Likewise.
30847         (conj_test): Likewise.
30848         (copysign_test): Likewise.
30849         (cproj_test): Likewise.
30850         (creal_test): Likewise.
30851         (fabs_test): Likewise.
30852         (floor_test): Likewise.
30853         (fmax_test): Likewise.
30854         (fmin_test): Likewise.
30855         (fmod_test): Likewise.
30856         (fpclassify_test): Likewise.
30857         (frexp_test): Likewise.
30858         (ilogb_test): Likewise.
30859         (isfinite_test): Likewise.
30860         (finite_test): Likewise.
30861         (isgreater_test): Likewise.
30862         (isgreaterequal_test): Likewise.
30863         (isinf_test): Likewise.
30864         (isless_test): Likewise.
30865         (islessequal_test): Likewise.
30866         (islessgreater_test): Likewise.
30867         (isnan_test): Likewise.
30868         (isnormal_test): Likewise.
30869         (issignaling_test): Likewise.
30870         (isunordered_test): Likewise.
30871         (logb_test): Likewise.
30872         (logb_downward_test_data): Remove.
30873         (logb_test_downward): Likewise.
30874         (lround_test): Use ALL_RM_TEST.
30875         (llround_test): Likewise.
30876         (modf_test): Likewise.
30877         (nexttoward_test): Likewise.
30878         (remainder_test): Likewise.
30879         (drem_test): Likewise.
30880         (remainder_tonearest_test_data): Likewise.
30881         (remainder_test_tonearest): Likewise.
30882         (drem_test_tonearest): Likewise.
30883         (remainder_towardzero_test_data): Likewise.
30884         (remainder_test_towardzero): Likewise.
30885         (drem_test_towardzero): Likewise.
30886         (remainder_downward_test_data): Likewise.
30887         (remainder_test_downward): Likewise.
30888         (drem_test_downward): Likewise.
30889         (remainder_upward_test_data): Likewise.
30890         (remainder_test_upward): Likewise.
30891         (drem_test_upward): Likewise.
30892         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30893         (round_test): Use ALL_RM_TEST.
30894         (signbit_test): Likewise.
30895         (trunc_test): Likewise.
30896         (significand_test): Likewise.
30897         (main): Don't call removed functions.
30899 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30901         [BZ #16674]
30902         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30903         || __USE_XOPEN2K8].
30904         (ILL_ILLOPN): Likewise.
30905         (ILL_ILLADR): Likewise.
30906         (ILL_ILLTRP): Likewise.
30907         (ILL_PRVOPC): Likewise.
30908         (ILL_PRVREG): Likewise.
30909         (ILL_COPROC): Likewise.
30910         (ILL_BADSTK): Likewise.
30911         (FPE_INTDIV): Likewise.
30912         (FPE_INTOVF): Likewise.
30913         (FPE_FLTDIV): Likewise.
30914         (FPE_FLTOVF): Likewise.
30915         (FPE_FLTUND): Likewise.
30916         (FPE_FLTRES): Likewise.
30917         (FPE_FLTINV): Likewise.
30918         (FPE_FLTSUB): Likewise.
30919         (SEGV_MAPERR): Likewise.
30920         (SEGV_ACCERR): Likewise.
30921         (BUS_ADRALN): Likewise.
30922         (BUS_ADRERR): Likewise.
30923         (BUS_OBJERR): Likewise.
30924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30925         (TRAP_TRACE): Likewise.
30926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30927         __USE_XOPEN2K8].
30928         (CLD_KILLED): Likewise.
30929         (CLD_DUMPED): Likewise.
30930         (CLD_TRAPPED): Likewise.
30931         (CLD_STOPPED): Likewise.
30932         (CLD_CONTINUED): Likewise.
30933         (POLL_IN): Likewise.
30934         (POLL_OUT): Likewise.
30935         (POLL_MSG): Likewise.
30936         (POLL_ERR): Likewise.
30937         (POLL_PRI): Likewise.
30938         (POLL_HUP): Likewise.
30939         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30940         Likewise.
30941         (ILL_ILLOPN): Likewise.
30942         (ILL_ILLADR): Likewise.
30943         (ILL_ILLTRP): Likewise.
30944         (ILL_PRVOPC): Likewise.
30945         (ILL_PRVREG): Likewise.
30946         (ILL_COPROC): Likewise.
30947         (ILL_BADSTK): Likewise.
30948         (FPE_INTDIV): Likewise.
30949         (FPE_INTOVF): Likewise.
30950         (FPE_FLTDIV): Likewise.
30951         (FPE_FLTOVF): Likewise.
30952         (FPE_FLTUND): Likewise.
30953         (FPE_FLTRES): Likewise.
30954         (FPE_FLTINV): Likewise.
30955         (FPE_FLTSUB): Likewise.
30956         (SEGV_MAPERR): Likewise.
30957         (SEGV_ACCERR): Likewise.
30958         (BUS_ADRALN): Likewise.
30959         (BUS_ADRERR): Likewise.
30960         (BUS_OBJERR): Likewise.
30961         (BUS_MCEERR_AR): Likewise.
30962         (BUS_MCEERR_AO): Likewise.
30963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30964         (TRAP_TRACE): Likewise.
30965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30966         __USE_XOPEN2K8].
30967         (CLD_KILLED): Likewise.
30968         (CLD_DUMPED): Likewise.
30969         (CLD_TRAPPED): Likewise.
30970         (CLD_STOPPED): Likewise.
30971         (CLD_CONTINUED): Likewise.
30972         (POLL_IN): Likewise.
30973         (POLL_OUT): Likewise.
30974         (POLL_MSG): Likewise.
30975         (POLL_ERR): Likewise.
30976         (POLL_PRI): Likewise.
30977         (POLL_HUP): Likewise.
30978         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30979         (ILL_ILLOPN): Likewise.
30980         (ILL_ILLADR): Likewise.
30981         (ILL_ILLTRP): Likewise.
30982         (ILL_PRVOPC): Likewise.
30983         (ILL_PRVREG): Likewise.
30984         (ILL_COPROC): Likewise.
30985         (ILL_BADSTK): Likewise.
30986         (FPE_INTDIV): Likewise.
30987         (FPE_INTOVF): Likewise.
30988         (FPE_FLTDIV): Likewise.
30989         (FPE_FLTOVF): Likewise.
30990         (FPE_FLTUND): Likewise.
30991         (FPE_FLTRES): Likewise.
30992         (FPE_FLTINV): Likewise.
30993         (FPE_FLTSUB): Likewise.
30994         (SEGV_MAPERR): Likewise.
30995         (SEGV_ACCERR): Likewise.
30996         (BUS_ADRALN): Likewise.
30997         (BUS_ADRERR): Likewise.
30998         (BUS_OBJERR): Likewise.
30999         (BUS_MCEERR_AR): Likewise.
31000         (BUS_MCEERR_AO): Likewise.
31001         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31002         (TRAP_TRACE): Likewise.
31003         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31004         __USE_XOPEN2K8].
31005         (CLD_KILLED): Likewise.
31006         (CLD_DUMPED): Likewise.
31007         (CLD_TRAPPED): Likewise.
31008         (CLD_STOPPED): Likewise.
31009         (CLD_CONTINUED): Likewise.
31010         (POLL_IN): Likewise.
31011         (POLL_OUT): Likewise.
31012         (POLL_MSG): Likewise.
31013         (POLL_ERR): Likewise.
31014         (POLL_PRI): Likewise.
31015         (POLL_HUP): Likewise.
31016         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31017         Likewise.
31018         (ILL_ILLOPN): Likewise.
31019         (ILL_ILLADR): Likewise.
31020         (ILL_ILLTRP): Likewise.
31021         (ILL_PRVOPC): Likewise.
31022         (ILL_PRVREG): Likewise.
31023         (ILL_COPROC): Likewise.
31024         (ILL_BADSTK): Likewise.
31025         (ILL_BADIADDR): Likewise.
31026         (ILL_BREAK): Likewise.
31027         (FPE_INTDIV): Likewise.
31028         (FPE_INTOVF): Likewise.
31029         (FPE_FLTDIV): Likewise.
31030         (FPE_FLTOVF): Likewise.
31031         (FPE_FLTUND): Likewise.
31032         (FPE_FLTRES): Likewise.
31033         (FPE_FLTINV): Likewise.
31034         (FPE_FLTSUB): Likewise.
31035         (FPE_DECOVF): Likewise.
31036         (FPE_DECDIV): Likewise.
31037         (FPE_DECERR): Likewise.
31038         (FPE_INVASC): Likewise.
31039         (FPE_INVDEC): Likewise.
31040         (SEGV_MAPERR): Likewise.
31041         (SEGV_ACCERR): Likewise.
31042         (SEGV_PSTKOVF): Likewise.
31043         (BUS_ADRALN): Likewise.
31044         (BUS_ADRERR): Likewise.
31045         (BUS_OBJERR): Likewise.
31046         (BUS_MCEERR_AR): Likewise.
31047         (BUS_MCEERR_AO): Likewise.
31048         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31049         (TRAP_TRACE): Likewise.
31050         (TRAP_BRANCH): Likewise.
31051         (TRAP_HWBKPT): Likewise.
31052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31053         __USE_XOPEN2K8].
31054         (CLD_KILLED): Likewise.
31055         (CLD_DUMPED): Likewise.
31056         (CLD_TRAPPED): Likewise.
31057         (CLD_STOPPED): Likewise.
31058         (CLD_CONTINUED): Likewise.
31059         (POLL_IN): Likewise.
31060         (POLL_OUT): Likewise.
31061         (POLL_MSG): Likewise.
31062         (POLL_ERR): Likewise.
31063         (POLL_PRI): Likewise.
31064         (POLL_HUP): Likewise.
31065         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31066         (ILL_ILLOPN): Likewise.
31067         (ILL_ILLADR): Likewise.
31068         (ILL_ILLTRP): Likewise.
31069         (ILL_PRVOPC): Likewise.
31070         (ILL_PRVREG): Likewise.
31071         (ILL_COPROC): Likewise.
31072         (ILL_BADSTK): Likewise.
31073         (FPE_INTDIV): Likewise.
31074         (FPE_INTOVF): Likewise.
31075         (FPE_FLTDIV): Likewise.
31076         (FPE_FLTOVF): Likewise.
31077         (FPE_FLTUND): Likewise.
31078         (FPE_FLTRES): Likewise.
31079         (FPE_FLTINV): Likewise.
31080         (FPE_FLTSUB): Likewise.
31081         (SEGV_MAPERR): Likewise.
31082         (SEGV_ACCERR): Likewise.
31083         (BUS_ADRALN): Likewise.
31084         (BUS_ADRERR): Likewise.
31085         (BUS_OBJERR): Likewise.
31086         (BUS_MCEERR_AR): Likewise.
31087         (BUS_MCEERR_AO): Likewise.
31088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31089         (TRAP_TRACE): Likewise.
31090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31091         __USE_XOPEN2K8].
31092         (CLD_KILLED): Likewise.
31093         (CLD_DUMPED): Likewise.
31094         (CLD_TRAPPED): Likewise.
31095         (CLD_STOPPED): Likewise.
31096         (CLD_CONTINUED): Likewise.
31097         (POLL_IN): Likewise.
31098         (POLL_OUT): Likewise.
31099         (POLL_MSG): Likewise.
31100         (POLL_ERR): Likewise.
31101         (POLL_PRI): Likewise.
31102         (POLL_HUP): Likewise.
31103         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31104         (ILL_ILLOPN): Likewise.
31105         (ILL_ILLADR): Likewise.
31106         (ILL_ILLTRP): Likewise.
31107         (ILL_PRVOPC): Likewise.
31108         (ILL_PRVREG): Likewise.
31109         (ILL_COPROC): Likewise.
31110         (ILL_BADSTK): Likewise.
31111         (FPE_INTDIV): Likewise.
31112         (FPE_INTOVF): Likewise.
31113         (FPE_FLTDIV): Likewise.
31114         (FPE_FLTOVF): Likewise.
31115         (FPE_FLTUND): Likewise.
31116         (FPE_FLTRES): Likewise.
31117         (FPE_FLTINV): Likewise.
31118         (FPE_FLTSUB): Likewise.
31119         (SEGV_MAPERR): Likewise.
31120         (SEGV_ACCERR): Likewise.
31121         (BUS_ADRALN): Likewise.
31122         (BUS_ADRERR): Likewise.
31123         (BUS_OBJERR): Likewise.
31124         (BUS_MCEERR_AR): Likewise.
31125         (BUS_MCEERR_AO): Likewise.
31126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31127         (TRAP_TRACE): Likewise.
31128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31129         __USE_XOPEN2K8].
31130         (CLD_KILLED): Likewise.
31131         (CLD_DUMPED): Likewise.
31132         (CLD_TRAPPED): Likewise.
31133         (CLD_STOPPED): Likewise.
31134         (CLD_CONTINUED): Likewise.
31135         (POLL_IN): Likewise.
31136         (POLL_OUT): Likewise.
31137         (POLL_MSG): Likewise.
31138         (POLL_ERR): Likewise.
31139         (POLL_PRI): Likewise.
31140         (POLL_HUP): Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31142         (ILL_ILLOPN): Likewise.
31143         (ILL_ILLADR): Likewise.
31144         (ILL_ILLTRP): Likewise.
31145         (ILL_PRVOPC): Likewise.
31146         (ILL_PRVREG): Likewise.
31147         (ILL_COPROC): Likewise.
31148         (ILL_BADSTK): Likewise.
31149         (FPE_INTDIV): Likewise.
31150         (FPE_INTOVF): Likewise.
31151         (FPE_FLTDIV): Likewise.
31152         (FPE_FLTOVF): Likewise.
31153         (FPE_FLTUND): Likewise.
31154         (FPE_FLTRES): Likewise.
31155         (FPE_FLTINV): Likewise.
31156         (FPE_FLTSUB): Likewise.
31157         (SEGV_MAPERR): Likewise.
31158         (SEGV_ACCERR): Likewise.
31159         (BUS_ADRALN): Likewise.
31160         (BUS_ADRERR): Likewise.
31161         (BUS_OBJERR): Likewise.
31162         (BUS_MCEERR_AR): Likewise.
31163         (BUS_MCEERR_AO): Likewise.
31164         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31165         (TRAP_TRACE): Likewise.
31166         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31167         __USE_XOPEN2K8].
31168         (CLD_KILLED): Likewise.
31169         (CLD_DUMPED): Likewise.
31170         (CLD_TRAPPED): Likewise.
31171         (CLD_STOPPED): Likewise.
31172         (CLD_CONTINUED): Likewise.
31173         (POLL_IN): Likewise.
31174         (POLL_OUT): Likewise.
31175         (POLL_MSG): Likewise.
31176         (POLL_ERR): Likewise.
31177         (POLL_PRI): Likewise.
31178         (POLL_HUP): Likewise.
31179         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31180         (ILL_ILLOPN): Likewise.
31181         (ILL_ILLADR): Likewise.
31182         (ILL_ILLTRP): Likewise.
31183         (ILL_PRVOPC): Likewise.
31184         (ILL_PRVREG): Likewise.
31185         (ILL_COPROC): Likewise.
31186         (ILL_BADSTK): Likewise.
31187         (ILL_DBLFLT): Likewise.
31188         (ILL_HARDWALL): Likewise.
31189         (FPE_INTDIV): Likewise.
31190         (FPE_INTOVF): Likewise.
31191         (FPE_FLTDIV): Likewise.
31192         (FPE_FLTOVF): Likewise.
31193         (FPE_FLTUND): Likewise.
31194         (FPE_FLTRES): Likewise.
31195         (FPE_FLTINV): Likewise.
31196         (FPE_FLTSUB): Likewise.
31197         (SEGV_MAPERR): Likewise.
31198         (SEGV_ACCERR): Likewise.
31199         (BUS_ADRALN): Likewise.
31200         (BUS_ADRERR): Likewise.
31201         (BUS_OBJERR): Likewise.
31202         (BUS_MCEERR_AR): Likewise.
31203         (BUS_MCEERR_AO): Likewise.
31204         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31205         (TRAP_TRACE): Likewise.
31206         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31207         __USE_XOPEN2K8].
31208         (CLD_KILLED): Likewise.
31209         (CLD_DUMPED): Likewise.
31210         (CLD_TRAPPED): Likewise.
31211         (CLD_STOPPED): Likewise.
31212         (CLD_CONTINUED): Likewise.
31213         (POLL_IN): Likewise.
31214         (POLL_OUT): Likewise.
31215         (POLL_MSG): Likewise.
31216         (POLL_ERR): Likewise.
31217         (POLL_PRI): Likewise.
31218         (POLL_HUP): Likewise.
31219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31220         (ILL_ILLOPN): Likewise.
31221         (ILL_ILLADR): Likewise.
31222         (ILL_ILLTRP): Likewise.
31223         (ILL_PRVOPC): Likewise.
31224         (ILL_PRVREG): Likewise.
31225         (ILL_COPROC): Likewise.
31226         (ILL_BADSTK): Likewise.
31227         (FPE_INTDIV): Likewise.
31228         (FPE_INTOVF): Likewise.
31229         (FPE_FLTDIV): Likewise.
31230         (FPE_FLTOVF): Likewise.
31231         (FPE_FLTUND): Likewise.
31232         (FPE_FLTRES): Likewise.
31233         (FPE_FLTINV): Likewise.
31234         (FPE_FLTSUB): Likewise.
31235         (SEGV_MAPERR): Likewise.
31236         (SEGV_ACCERR): Likewise.
31237         (BUS_ADRALN): Likewise.
31238         (BUS_ADRERR): Likewise.
31239         (BUS_OBJERR): Likewise.
31240         (BUS_MCEERR_AR): Likewise.
31241         (BUS_MCEERR_AO): Likewise.
31242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31243         (TRAP_TRACE): Likewise.
31244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31245         __USE_XOPEN2K8].
31246         (CLD_KILLED): Likewise.
31247         (CLD_DUMPED): Likewise.
31248         (CLD_TRAPPED): Likewise.
31249         (CLD_STOPPED): Likewise.
31250         (CLD_CONTINUED): Likewise.
31251         (POLL_IN): Likewise.
31252         (POLL_OUT): Likewise.
31253         (POLL_MSG): Likewise.
31254         (POLL_ERR): Likewise.
31255         (POLL_PRI): Likewise.
31256         (POLL_HUP): Likewise.
31257         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31258         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31260         [BZ #16670]
31261         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31262         before #include of <time.h>.
31263         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31264         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31265         (test-xfail-UNIX98/sched.h/conform): Likewise.
31267 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31269         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31270         error absence of trapping exception support.
31271         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31273 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31275         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31276         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31277         * timezone/Makefile (testdata): Move definition above include of
31278         Rules.
31279         (test-zones): New variable.
31280         (tests-special): Add zone files.
31281         (build-testdata): Use $(evaluate-test).
31283         * elf/Makefile (tests-special): Rename tests to end with .out.
31284         ($(objpfx)noload-mem): Likewise.
31285         ($(objpfx)tst-leaks1-mem): Likewise.
31286         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31287         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31288         $(objpfx)test-iconvconfig.out.
31289         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31290         set -e inside subshell and redirect output to file.
31291         * iconvdata/Makefile (generated): Rename tests to end with .out.
31292         Correct type.
31293         (tests-special): Rename tests to end with .out.
31294         ($(objpfx)mtrace-tst-loading): Likewise.
31295         * intl/Makefile (generated): Likewise.
31296         (tests-special): Likewise.
31297         ($(objpfx)mtrace-tst-gettext): Likewise.
31298         * misc/Makefile (generated): Likewise.
31299         (tests-special): Likewise.
31300         ($(objpfx)tst-error1-mem): Likewise.
31301         * nptl/Makefile (tests-special): Likewise.
31302         ($(objpfx)tst-stack3-mem): Likewise.
31303         (generated): Likewise.
31304         * posix/Makefile (generated): Likewise.
31305         (tests-special): Likewise.
31306         (xtests-special): Likewise.
31307         ($(objpfx)tst-fnmatch-mem): Likewise.
31308         ($(objpfx)bug-regex2-mem): Likewise.
31309         ($(objpfx)bug-regex14-mem): Likewise.
31310         ($(objpfx)bug-regex21-mem): Likewise.
31311         ($(objpfx)bug-regex31-mem): Likewise.
31312         ($(objpfx)tst-vfork3-mem): Likewise.
31313         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31314         ($(objpfx)tst-pcre-mem): Likewise.
31315         ($(objpfx)tst-boost-mem): Likewise.
31316         ($(objpfx)bug-ga2-mem): Likewise.
31317         ($(objpfx)bug-glob2-mem): Likewise.
31318         * resolv/Makefile (generate): Likewise.
31319         (tests-special): Likewise.
31320         (xtests-special): Likewise.
31321         (generated): Likewise.
31322         ($(objpfx)mtrace-tst-leaks): Likewise.
31323         ($(objpfx)mtrace-tst-leaks2): Likewise.
31325         * scripts/merge-test-results.sh: New file.
31326         * Makefile (tests-special-notdir): New variable.
31327         (tests): Run merge-test-results.sh.
31328         (xtests): Likewise.
31329         * Rules (tests-special-notdir): New variable.
31330         (xtests-special-notdir): Likewise.
31331         (tests): Run merge-test-results.sh
31332         (xtests): Likewise.
31334         * Makeconfig (test-xfail-name): New variable.
31335         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31336         compute variable name for expected failures.
31337         * conform/Makefile (conformtest-headers-data): New variable.
31338         (conformtest-standards): Likewise.
31339         (conformtest-headers-ISO): Likewise.
31340         (conformtest-headers-ISO99): Likewise.
31341         (conformtest-headers-ISO11): Likewise.
31342         (conformtest-headers-POSIX): Likewise.
31343         (conformtest-headers-XPG3): Likewise.
31344         (conformtest-headers-XPG4): Likewise.
31345         (conformtest-headers-UNIX98): Likewise.
31346         (conformtest-headers-XOPEN2K): Likewise.
31347         (conformtest-headers-POSIX2008): Likewise.
31348         (conformtest-headers-XOPEN2K8): Likewise.
31349         (conformtest-header-list-base): Likewise.
31350         (conformtest-header-list-tests): Likewise.
31351         (conformtest-header-base): Likewise.
31352         (conformtest-header-tests): Likewise.
31353         (tests-special): Add $(conformtest-header-list-tests).  If
31354         [$(fast-check) && !$(cross-compiling)], add
31355         $(conformtest-header-tests) instead of
31356         $(objpfx)run-conformtest.out.
31357         (generated): Add $(conformtest-header-list-base).  If
31358         [$(fast-check) && !$(cross-compiling)], add
31359         $(conformtest-header-base).  Remove previous setting.
31360         ($(conformtest-header-list-tests)): New target.
31361         (test-xfail-run-conformtest): Remove variable.
31362         ($(objpfx)run-conformtest.out): Remove target.
31363         (test-xfail-ISO11/complex.h/conform): New variable.
31364         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31365         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31366         (test-xfail-XPG3/varargs.h/conform): Likewise.
31367         (test-xfail-XPG4/varargs.h/conform): Likewise.
31368         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31369         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31370         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31371         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31372         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31373         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31374         (test-xfail-XPG3/ftw.h/conform): Likewise.
31375         (test-xfail-XPG3/grp.h/conform): Likewise.
31376         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31377         (test-xfail-XPG3/limits.h/conform): Likewise.
31378         (test-xfail-XPG3/pwd.h/conform): Likewise.
31379         (test-xfail-XPG3/search.h/conform): Likewise.
31380         (test-xfail-XPG3/signal.h/conform): Likewise.
31381         (test-xfail-XPG3/stdio.h/conform): Likewise.
31382         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31383         (test-xfail-XPG3/string.h/conform): Likewise.
31384         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31385         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31386         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31387         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31388         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31389         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31390         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31391         (test-xfail-XPG3/termios.h/conform): Likewise.
31392         (test-xfail-XPG3/time.h/conform): Likewise.
31393         (test-xfail-XPG3/unistd.h/conform): Likewise.
31394         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31395         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31396         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31397         (test-xfail-XPG4/netdb.h/conform): Likewise.
31398         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31399         (test-xfail-XPG4/signal.h/conform): Likewise.
31400         (test-xfail-XPG4/stdio.h/conform): Likewise.
31401         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31402         (test-xfail-XPG4/stropts.h/conform): Likewise.
31403         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31404         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31405         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31406         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31407         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31408         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31409         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31410         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31411         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31412         (test-xfail-XPG4/termios.h/conform): Likewise.
31413         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31414         (test-xfail-XPG4/unistd.h/conform): Likewise.
31415         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31416         (test-xfail-POSIX/sched.h/conform): Likewise.
31417         (test-xfail-POSIX/signal.h/conform): Likewise.
31418         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31419         (test-xfail-POSIX/tar.h/conform): Likewise.
31420         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31421         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31422         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31423         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31424         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31425         (test-xfail-UNIX98/sched.h/conform): Likewise.
31426         (test-xfail-UNIX98/signal.h/conform): Likewise.
31427         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31428         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31429         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31430         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31431         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31432         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31433         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31434         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31435         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31436         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31437         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31438         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31439         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31440         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31441         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31442         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31443         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31444         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31445         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31446         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31447         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31448         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31449         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31450         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31451         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31452         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31453         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31454         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31455         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31456         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31457         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31458         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31459         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31460         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31461         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31462         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31463         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31464         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31465         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31466         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31467         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31468         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31469         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31470         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31471         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31472         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31473         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31474         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31475         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31476         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31477         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31478         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31479         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31480         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31481         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31482         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31483         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31484         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31485         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31486         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31487         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31488         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31489         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31490         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31491         (conformtest-cc-flags): Likewise.
31492         ($(conformtest-header-tests): New target.
31493         * conform/check-header-lists.sh: New file.
31494         * conform/run-conformtest.sh: Remove.
31496         * conform/conformtest.pl: Allow ' and \ in values given for
31497         constants.
31498         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31499         inclusion.
31500         [POSIX] (sys/types.h): Likewise.
31501         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31502         inclusion.
31503         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31504         inclusion.
31505         * conform/data/signal.h-data (SIGIO): Remove expectation.
31506         [XPG3] (SIGBUS): Do not expect.
31507         [POSIX || XPG3] (SIGPOLL): Likewise.
31508         [POSIX || XPG3] (SIGPROF): Likewise.
31509         [POSIX || XPG3] (SIGSYS): Likewise.
31510         [XPG3] (SIGTRAP): Likewise.
31511         [POSIX || XPG3] (SIGURG): Likewise.
31512         [POSIX || XPG3] (SIGVTALRM): Likewise.
31513         [POSIX || XPG3] (SIGXCPU): Likewise.
31514         [POSIX || XPG3] (SIGXFSZ): Likewise.
31515         [POSIX] (SA_SIGINFO): Expect.
31516         [XPG3] (siginfo_t): Do not expect type or contents.
31517         [POSIX] (si_pid): Do not expect element.
31518         [POSIX] (si_uid): Likewise.
31519         [POSIX] (si_addr): Likewise.
31520         [POSIX] (si_status): Likewise.
31521         [POSIX] (si_band): Likewise.
31522         [XPG4] (si_value): Likewise.
31523         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31524         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31525         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31526         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31527         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31528         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31529         [POSIX || XPG3] (ILL_COPROC): Likewise.
31530         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31531         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31532         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31533         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31534         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31535         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31536         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31537         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31538         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31539         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31540         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31541         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31542         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31543         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31544         [POSIX || XPG3] (CLD_EXITED): Likewise.
31545         [POSIX || XPG3] (CLD_KILLED): Likewise.
31546         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31547         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31548         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31549         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31550         [POSIX || XPG3] (POLL_IN): Likewise.
31551         [POSIX || XPG3] (POLL_OUT): Likewise.
31552         [POSIX || XPG3] (POLL_MSG): Likewise.
31553         [POSIX || XPG3] (POLL_ERR): Likewise.
31554         [POSIX || XPG3] (POLL_PRI): Likewise.
31555         [POSIX || XPG3] (POLL_HUP): Likewise.
31556         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31557         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31558         (SIG*): Do not allow.
31559         [XPG3] (si_*): Likewise.
31560         [XPG3] (SI_*): Likewise.
31561         [XPG3 || XPG4] (sigev_*): Likewise.
31562         [XPG3 || XPG4] (SIGEV_*): Likewise.
31563         [XPG3 || XPG4] (sival_*): Likewise.
31564         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31565         [POSIX || XPG3] (BUS_*): Likewise.
31566         [POSIX || XPG3] (CLD_*): Likewise.
31567         [POSIX || XPG3] (FPE_*): Likewise.
31568         [POSIX || XPG3] (ILL_*): Likewise.
31569         [POSIX || XPG3] (POLL_*): Likewise.
31570         [POSIX || XPG3] (SEGV_*): Likewise.
31571         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31572         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31573         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31574         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31575         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31576         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31577         Specify type and value.
31578         (TVERSLEN): Likewise.
31579         (REGTYPE): Likewise.
31580         (AREGTYPE): Likewise.
31581         (LNKTYPE): Likewise.
31582         (SYMTYPE): Likewise.
31583         (CHRTYPE): Likewise.
31584         (BLKTYPE): Likewise.
31585         (DIRTYPE): Likewise.
31586         (FIFOTYPE): Likewise.
31587         (CONTTYPE): Likewise.
31588         (TSUID): Likewise.
31589         (TSGID): Likewise.
31590         (TSVTX): Likewise.
31591         (TUREAD): Likewise.
31592         (TUWRITE): Likewise.
31593         (TUEXEC): Likewise.
31594         (TGREAD): Likewise.
31595         (TGWRITE): Likewise.
31596         (TGEXEC): Likewise.
31597         (TOREAD): Likewise.
31598         (TOWRITE): Likewise.
31599         (TOEXEC): Likewise.
31600         [POSIX] (TSVTX): Expect constant.
31602 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31604         * Makefile (tests): Change dependencies to ....
31605         (tests-special): ... additions to this variable.
31606         (tests): Depend on $(tests-special).
31607         * Makerules (check-abi-list): New variable.
31608         (check-abi): Depend on $(check-abi-list).
31609         [$(subdir) = elf] (tests-special): Add
31610         $(objpfx)check-abi-libc.out.
31611         [$(build-shared) = yes && subdir] (tests-special): Add
31612         $(check-abi-list).
31613         [$(build-shared) = yes && subdir] (tests): Do not depend on
31614         check-abi.
31615         * Rules (tests): Depend on $(tests-special).
31616         (xtests): Depend on $(xtests-special).
31617         * catgets/Makefile (tests): Change dependencies to ....
31618         (tests-special): ... additions to this variable.
31619         * conform/Makefile (tests): Change dependencies to ....
31620         (tests-special): ... additions to this variable.
31621         * elf/Makefile (tests): Change dependencies to ....
31622         (tests-special): ... additions to this variable.
31623         * grp/Makefile (tests): Change dependencies to ....
31624         (tests-special): ... additions to this variable.
31625         * iconv/Makefile (xtests): Change dependencies to ....
31626         (xtests-special): ... additions to this variable.
31627         * iconvdata/Makefile (tests): Change dependencies to ....
31628         (tests-special): ... additions to this variable.
31629         * intl/Makefile (tests): Change dependencies to ....
31630         (tests-special): ... additions to this variable.  Also add
31631         $(objpfx)tst-gettext.out.
31632         * io/Makefile (tests): Change dependencies to ....
31633         (tests-special): ... additions to this variable.
31634         * libio/Makefile (tests): Change dependencies to ....
31635         (tests-special): ... additions to this variable.
31636         * malloc/Makefile (tests): Change dependencies to ....
31637         (tests-special): ... additions to this variable.
31638         * misc/Makefile (tests): Change dependencies to ....
31639         (tests-special): ... additions to this variable.
31640         * nptl/Makefile (tests): Change dependencies to ....
31641         (tests-special): ... additions to this variable.
31642         * nptl_db/Makefile (tests): Change dependencies to ....
31643         (tests-special): ... additions to this variable.
31644         * posix/Makefile (tests): Change dependencies to ....
31645         (tests-special): ... additions to this variable.
31646         (xtests): Change dependencies to ....
31647         (xtests-special): ... additions to this variable.
31648         * resolv/Makefile (tests): Change dependencies to ....
31649         (tests-special): ... additions to this variable.
31650         (xtests): Change dependencies to ....
31651         (xtests-special): ... additions to this variable.
31652         * stdio-common/Makefile (tests): Change dependencies to ....
31653         (tests-special): ... additions to this variable.
31654         (do-tst-unbputc): Remove target.
31655         (do-tst-printf): Likewise.
31656         * stdlib/Makefile (tests): Change dependencies to ....
31657         (tests-special): ... additions to this variable.
31658         * string/Makefile (tests): Change dependencies to ....
31659         (tests-special): ... additions to this variable.
31660         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31661         (tests-special): ... additions to this variable.
31663         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31664         whole file.
31665         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31666         whole file.
31667         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31668         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31670         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31671         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31672         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31673         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31674         * conform/data/libgen.h-data [XPG3]: Likewise.
31675         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31676         * conform/data/ndbm.h-data [XPG3]: Likewise.
31677         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31678         * conform/data/netdb.h-data [XPG3]: Likewise.
31679         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31680         * conform/data/poll.h-data [XPG3]: Likewise.
31681         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31682         * conform/data/strings.h-data [XPG3]: Likewise.
31683         * conform/data/stropts.h-data [XPG3]: Likewise.
31684         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31685         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31686         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31687         Likewise.
31688         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31689         * conform/data/sys/time.h-data [XPG3]: Likewise.
31690         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31691         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31692         * conform/data/sys/un.h-data [XPG3]: Likewise.
31693         * conform/data/syslog.h-data [XPG3]: Likewise.
31694         * conform/data/ucontext.h-data [XPG3]: Likewise.
31695         * conform/data/utmpx.h-data [XPG3]: Likewise.
31696         * conform/data/varargs.h-data [UNIX98]: Enable file.
31698         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31700         * math/libm-test.inc (struct test_f_f_data): Move expected results
31701         into structure for each rounding mode.
31702         (struct test_ff_f_data): Likewise.
31703         (struct test_ff_f_data_nexttoward): Likewise.
31704         (struct test_fi_f_data): Likewise.
31705         (struct test_fl_f_data): Likewise.
31706         (struct test_if_f_data): Likewise.
31707         (struct test_fff_f_data): Likewise.
31708         (struct test_c_f_data): Likewise.
31709         (struct test_f_f1_data): Likewise.
31710         (struct test_fF_f1_data): Likewise.
31711         (struct test_ffI_f1_data): Likewise.
31712         (struct test_c_c_data): Likewise.
31713         (struct test_cc_c_data): Likewise.
31714         (struct test_f_i_data): Likewise.
31715         (struct test_ff_i_data): Likewise.
31716         (struct test_f_l_data): Likewise.
31717         (struct test_f_L_data): Likewise.
31718         (struct test_fFF_11_data): Likewise.
31719         (RM_): New macro.
31720         (RM_FE_DOWNWARD): Likewise.
31721         (RM_FE_TONEAREST): Likewise.
31722         (RM_FE_TOWARDZERO): Likewise.
31723         (RM_FE_UPWARD): Likewise.
31724         (RUN_TEST_LOOP_f_f): Update references to expected results.
31725         (RUN_TEST_LOOP_2_f): Likewise.
31726         (RUN_TEST_LOOP_fff_f): Likewise.
31727         (RUN_TEST_LOOP_c_f): Likewise.
31728         (RUN_TEST_LOOP_f_f1): Likewise.
31729         (RUN_TEST_LOOP_fF_f1): Likewise.
31730         (RUN_TEST_LOOP_fI_f1): Likewise.
31731         (RUN_TEST_LOOP_ffI_f1): Likewise.
31732         (RUN_TEST_LOOP_c_c): Likewise.
31733         (RUN_TEST_LOOP_cc_c): Likewise.
31734         (RUN_TEST_LOOP_f_i): Likewise.
31735         (RUN_TEST_LOOP_f_i_tg): Likewise.
31736         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31737         (RUN_TEST_LOOP_f_b): Likewise.
31738         (RUN_TEST_LOOP_f_b_tg): Likewise.
31739         (RUN_TEST_LOOP_f_l): Likewise.
31740         (RUN_TEST_LOOP_f_L): Likewise.
31741         (RUN_TEST_LOOP_fFF_11): Likewise.
31742         * math/gen-libm-test.pl (parse_args): Output four copies of
31743         expected results for each test.
31745         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31746         (__ASSUME_UTIMES): Remove.
31747         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31748         (__ASSUME_UTIMES): Likewise.
31750         * math/gen-auto-libm-tests.c: Update comment on output format.
31751         (output_for_one_input_case): Generate before-rounding and
31752         after-rounding information as conditions on output flags not
31753         floating-point format.
31754         * math/auto-libm-test-out: Regenerated.
31755         * math/gen-libm-test.pl (cond_value): New function.
31756         (or_cond_value): Use cond_value.
31757         (generate_testfile): Handle conditional exceptions.
31759 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31761         * math/libm-test.inc (max_valid_error): New variable.
31762         (init_max_error): Take new argument specifying whether function
31763         results are exactly determined.  Set max_valid_error and bound
31764         other variables for errors based on this argument.
31765         (set_max_error): Do not record results above max_valid_error.
31766         (check_float_internal): Only accept errors of up to 0.5ulps if
31767         also at most max_valid_error.
31768         (START): Take new argument EXACT and pass it to init_max_error.
31769         (acos_test): Update call to START.
31770         (acos_test_tonearest): Likewise.
31771         (acos_test_towardzero): Likewise.
31772         (acos_test_downward): Likewise.
31773         (acos_test_upward): Likewise.
31774         (acosh_test): Likewise.
31775         (asin_test): Likewise.
31776         (asin_test_tonearest): Likewise.
31777         (asin_test_towardzero): Likewise.
31778         (asin_test_downward): Likewise.
31779         (asin_test_upward): Likewise.
31780         (asinh_test): Likewise.
31781         (atan_test): Likewise.
31782         (atanh_test): Likewise.
31783         (atan2_test): Likewise.
31784         (cabs_test): Likewise.
31785         (cacos_test): Likewise.
31786         (cacosh_test): Likewise.
31787         (carg_test): Likewise.
31788         (casin_test): Likewise.
31789         (casinh_test): Likewise.
31790         (catan_test): Likewise.
31791         (catanh_test): Likewise.
31792         (cbrt_test): Likewise.
31793         (ccos_test): Likewise.
31794         (ccosh_test): Likewise.
31795         (ceil_test): Likewise.
31796         (cexp_test): Likewise.
31797         (cimag_test): Likewise.
31798         (clog_test): Likewise.
31799         (clog10_test): Likewise.
31800         (conj_test): Likewise.
31801         (copysign_test): Likewise.
31802         (cos_test): Likewise.
31803         (cos_test_tonearest): Likewise.
31804         (cos_test_towardzero): Likewise.
31805         (cos_test_downward): Likewise.
31806         (cos_test_upward): Likewise.
31807         (cosh_test): Likewise.
31808         (cosh_test_tonearest): Likewise.
31809         (cosh_test_towardzero): Likewise.
31810         (cosh_test_downward): Likewise.
31811         (cosh_test_upward): Likewise.
31812         (cpow_test): Likewise.
31813         (cproj_test): Likewise.
31814         (creal_test): Likewise.
31815         (csin_test): Likewise.
31816         (csinh_test): Likewise.
31817         (csqrt_test): Likewise.
31818         (ctan_test): Likewise.
31819         (ctan_test_tonearest): Likewise.
31820         (ctan_test_towardzero): Likewise.
31821         (ctan_test_downward): Likewise.
31822         (ctan_test_upward): Likewise.
31823         (ctanh_test): Likewise.
31824         (ctanh_test_tonearest): Likewise.
31825         (ctanh_test_towardzero): Likewise.
31826         (ctanh_test_downward): Likewise.
31827         (ctanh_test_upward): Likewise.
31828         (erf_test): Likewise.
31829         (erfc_test): Likewise.
31830         (exp_test): Likewise.
31831         (exp_test_tonearest): Likewise.
31832         (exp_test_towardzero): Likewise.
31833         (exp_test_downward): Likewise.
31834         (exp_test_upward): Likewise.
31835         (exp10_test): Likewise.
31836         (exp10_test_tonearest): Likewise.
31837         (exp10_test_towardzero): Likewise.
31838         (exp10_test_downward): Likewise.
31839         (exp10_test_upward): Likewise.
31840         (pow10_test): Likewise.
31841         (exp2_test): Likewise.
31842         (expm1_test): Likewise.
31843         (expm1_test_tonearest): Likewise.
31844         (expm1_test_towardzero): Likewise.
31845         (expm1_test_downward): Likewise.
31846         (expm1_test_upward): Likewise.
31847         (fabs_test): Likewise.
31848         (fdim_test): Likewise.
31849         (floor_test): Likewise.
31850         (fma_test): Likewise.
31851         (fma_test_towardzero): Likewise.
31852         (fma_test_downward): Likewise.
31853         (fma_test_upward): Likewise.
31854         (fmax_test): Likewise.
31855         (fmin_test): Likewise.
31856         (fmod_test): Likewise.
31857         (fpclassify_test): Likewise.
31858         (frexp_test): Likewise.
31859         (hypot_test): Likewise.
31860         (ilogb_test): Likewise.
31861         (isfinite_test): Likewise.
31862         (finite_test): Likewise.
31863         (isgreater_test): Likewise.
31864         (isgreaterequal_test): Likewise.
31865         (isinf_test): Likewise.
31866         (isless_test): Likewise.
31867         (islessequal_test): Likewise.
31868         (islessgreater_test): Likewise.
31869         (isnan_test): Likewise.
31870         (isnormal_test): Likewise.
31871         (issignaling_test): Likewise.
31872         (isunordered_test): Likewise.
31873         (j0_test): Likewise.
31874         (j1_test): Likewise.
31875         (jn_test): Likewise.
31876         (ldexp_test): Likewise.
31877         (lgamma_test): Likewise.
31878         (gamma_test): Likewise.
31879         (lrint_test): Likewise.
31880         (lrint_test_tonearest): Likewise.
31881         (lrint_test_towardzero): Likewise.
31882         (lrint_test_downward): Likewise.
31883         (lrint_test_upward): Likewise.
31884         (llrint_test): Likewise.
31885         (llrint_test_tonearest): Likewise.
31886         (llrint_test_towardzero): Likewise.
31887         (llrint_test_downward): Likewise.
31888         (llrint_test_upward): Likewise.
31889         (log_test): Likewise.
31890         (log10_test): Likewise.
31891         (log1p_test): Likewise.
31892         (log2_test): Likewise.
31893         (logb_test): Likewise.
31894         (logb_test_downward): Likewise.
31895         (lround_test): Likewise.
31896         (llround_test): Likewise.
31897         (modf_test): Likewise.
31898         (nearbyint_test): Likewise.
31899         (nextafter_test): Likewise.
31900         (nexttoward_test): Likewise.
31901         (pow_test): Likewise.
31902         (pow_test_tonearest): Likewise.
31903         (pow_test_towardzero): Likewise.
31904         (pow_test_downward): Likewise.
31905         (pow_test_upward): Likewise.
31906         (remainder_test): Likewise.
31907         (drem_test): Likewise.
31908         (remainder_test_tonearest): Likewise.
31909         (drem_test_tonearest): Likewise.
31910         (remainder_test_towardzero): Likewise.
31911         (drem_test_towardzero): Likewise.
31912         (remainder_test_downward): Likewise.
31913         (drem_test_downward): Likewise.
31914         (remainder_test_upward): Likewise.
31915         (drem_test_upward): Likewise.
31916         (remquo_test): Likewise.
31917         (rint_test): Likewise.
31918         (rint_test_tonearest): Likewise.
31919         (rint_test_towardzero): Likewise.
31920         (rint_test_downward): Likewise.
31921         (rint_test_upward): Likewise.
31922         (round_test): Likewise.
31923         (scalb_test): Likewise.
31924         (scalbn_test): Likewise.
31925         (scalbln_test): Likewise.
31926         (signbit_test): Likewise.
31927         (sin_test): Likewise.
31928         (sin_test_tonearest): Likewise.
31929         (sin_test_towardzero): Likewise.
31930         (sin_test_downward): Likewise.
31931         (sin_test_upward): Likewise.
31932         (sincos_test): Likewise.
31933         (sinh_test): Likewise.
31934         (sinh_test_tonearest): Likewise.
31935         (sinh_test_towardzero): Likewise.
31936         (sinh_test_downward): Likewise.
31937         (sinh_test_upward): Likewise.
31938         (sqrt_test): Likewise.
31939         (sqrt_test_tonearest): Likewise.
31940         (sqrt_test_towardzero): Likewise.
31941         (sqrt_test_downward): Likewise.
31942         (sqrt_test_upward): Likewise.
31943         (tan_test): Likewise.
31944         (tan_test_tonearest): Likewise.
31945         (tan_test_towardzero): Likewise.
31946         (tan_test_downward): Likewise.
31947         (tan_test_upward): Likewise.
31948         (tanh_test): Likewise.
31949         (tgamma_test): Likewise.
31950         (trunc_test): Likewise.
31951         (y0_test): Likewise.
31952         (y1_test): Likewise.
31953         (yn_test): Likewise.
31954         (significand_test): Likewise.
31956         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31957         individual tests in comment.
31958         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31959         (prev_max_error): New variable.
31960         (prev_real_max_error): Likewise.
31961         (prev_imag_max_error): Likewise.
31962         (compare_ulp_data): Don't refer to test names in comment.
31963         (find_test_ulps): Remove function.
31964         (find_function_ulps): Likewise.
31965         (find_complex_function_ulps): Likewise.
31966         (init_max_error): Take function name as argument.  Look up ulps
31967         for that function.
31968         (print_ulps): Remove function.
31969         (print_max_error): Use prev_max_error instead of calling
31970         find_function_ulps.
31971         (print_complex_max_error): Use prev_real_max_error and
31972         prev_imag_max_error instead of calling find_complex_function_ulps.
31973         (check_float_internal): Take max_ulp parameter instead of calling
31974         find_test_ulps.  Don't call print_ulps.
31975         (check_float): Update call to check_float_internal.
31976         (check_complex): Update calls to check_float_internal.
31977         (START): Pass argument to init_max_error.
31978         * math/gen-libm-test.pl (%results): Don't include "kind"
31979         information.
31980         (parse_ulps): Don't handle ulps of individual tests.
31981         (print_ulps_file): Likewise.
31982         (output_ulps): Likewise.
31983         * math/README.libm-test: Update.
31984         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31985         individual tests.
31986         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31987         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31988         * sysdeps/arm/libm-test-ulps: Likewise.
31989         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31990         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31991         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31992         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31993         * sysdeps/microblaze/libm-test-ulps: Likewise.
31994         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31995         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31996         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31997         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31998         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31999         * sysdeps/sh/libm-test-ulps: Likewise.
32000         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32001         * sysdeps/tile/libm-test-ulps: Likewise.
32002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32006         * math/libm-test.inc (print_complex_max_error): Check separately
32007         whether real and imaginary errors are within allowed range and
32008         pass 0 to print_complex_function_ulps instead of value within
32009         allowed range.
32011 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32013         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32014         formatting.
32015         (get_handles_fopen): Likewise.
32016         (do_write_test): Likewise.
32018         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32020         * libio/fileops.c (do_ftell): Use cached offset when
32021         available.
32022         * libio/iofwide.c (do_ftell_wide): Likewise.
32023         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32024         _IO_file_attach.
32025         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32027         [BZ #16532]
32028         * libio/libioP.h (get_file_offset): New function.
32029         * libio/fileops.c (get_file_offset): Likewise.
32030         (do_ftell): Likewise.
32031         (_IO_new_file_seekoff): Split out ftell logic.
32032         * libio/wfileops.c (do_ftell_wide): Likewise.
32033         (_IO_wfile_seekoff): Split out ftell logic.
32034         * libio/tst-ftell-active-handler.c: New test case.
32035         * libio/Makefile (tests): Add it.
32037 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32039         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32040         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32042 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         [BZ #16639]
32045         * nscd/connections.c (nscd_init): Call do_exit.
32046         (start_threads): Call do_exit and notify_parent.
32047         (begin_drop_privileges): Call do_exit.
32048         (finish_drop_privileges): Likewise.
32049         * nscd/selinux.c (preserve_capabilities): Likewise.
32050         (install_real_capabilities): Likewise.
32051         (nscd_selinux_enabled): Likewise.
32052         (avc_create_thread): Likewise.
32053         (avc_alloc_lock): Likewise.
32054         (nscd_avc_init): Likewise.
32055         * nscd/nscd.c (parent_fd): New static variable.
32056         (main): Create a pipe between parent and child processes.
32057         Skip closing parent_fd.
32058         (monitor_child): New function.
32059         (do_exit): Likewise.
32060         (notify_parent): Likewise.
32061         * nscd/nscd.h (notify_parent): Likewise.
32062         (do_exit): Likewise.
32064 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32066         * malloc/malloc.c (__libc_calloc): Revert last change.
32068 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32072 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32074         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32076         implementation.
32077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32078         (__libc_ifunc_impl_list): Likewise.
32079         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32080         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32081         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32082         * string/strrchr.c: Define STRRCHR.
32084 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32086         * benchtest/bench-strtok.c (simple_strtok): Delete.
32087         (strtok_string): Use as benchmark.
32088         * string/strtok (STRTOK): New macro.
32090 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32092         * manual/threads.texi: Add header and standard comments to all
32093         functions.
32095         * elf/dl-lookup.c (check_match): New function.
32096         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32097         (do_lookup_x): Remove nested function check_match. Use non-nested
32098         function check_match.
32100 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32102         * csu/Makefile (generated, before-compile): Use += rather than =.
32103         * catgets/Makefile (generated, generated-dirs): Likewise.
32104         * debug/Makefile (generated): Likewise.
32105         * dlfcn/Makefile (generated): Likewise.
32106         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32107         * iconvdata/Makefile (before-compile, generated): Likewise.
32108         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32109         * libio/Makefile (generated): Likewise.
32110         * malloc/Makefile (generated): Likewise.
32111         * manual/Makefile (generated, generated-dirs): Likewise.
32112         * misc/Makefile (generated): Likewise.
32113         * posix/Makefile (generated): Likewise.
32114         * resolv/Makefile (generated): Likewise.
32115         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32116         * timezone/Makefile (generated, generated-dirs): Likewise.
32118         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32120 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32123         power8 implementation.
32124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32125         file: POWER8 llround ifunc implementation.
32126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32127         (__lllround): Add POWER8 implementation.
32128         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32129         POWER8 llround implementation.
32131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32132         power8 implementation.
32133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32134         file: POWER8 llrint ifunc implementation.
32135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32136         Add POWER8 implementation.
32137         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32138         POWER8 llrint implementation.
32140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32141         power8 implementation.
32142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32143         file: POWER8 finite ifunc implementation.
32144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32145         Add POWER8 implementation.
32146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32147         Likewise.
32148         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32149         POWER8 finite implementation.
32150         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32153         power8 implementation.
32154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32155         file: POWER8 isinf ifunc implementation.
32156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32157         POWER8 implementation.
32158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32159         Likewise.
32160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32161         isinf implementation.
32162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32164         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32165         (INIT_ARCH): Add hwcap2 initialization.
32166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32167         power8 implementation.
32168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32169         file: POWER8 isnan ifunc implementation.
32170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32171         POWER8 implementation.
32172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32173         Likewise.
32174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32175         isnan implementation.
32176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32178 2014-02-27  Joey Ye  <joey.ye@arm.com>
32180         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32181         (_FP_NANFRAC_Q): Set to zero.
32183 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32185         [BZ #16623]
32186         * math/auto-libm-test-in: New test inputs.
32187         * math/auto-libm-test-out: Regenerate.
32188         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32189         and DA.
32190         (__cos): Likewise.
32191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32193 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32195         * scripts/evaluate-test.sh: Take new argument indicating whether
32196         failure is expected.
32197         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32198         indicating whether failure is expected.
32199         * conform/Makefile (test-xfail-run-conformtest): New variable.
32200         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32201         level.
32202         * posix/Makefile (test-xfail-annexc): New variable.
32203         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32205 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32207         * argp/Makefile: Include Makeconfig immediately after defining
32208         subdir.
32209         * assert/Makefile: Likewise.
32210         * benchtests/Makefile: Likewise.
32211         * catgets/Makefile: Likewise.
32212         * conform/Makefile: Likewise.
32213         * crypt/Makefile: Likewise.
32214         * csu/Makefile: Likewise.
32215         (all): Remove target.
32216         * ctype/Makefile: Include Makeconfig immediately after defining
32217         subdir.
32218         * debug/Makefile: Likewise.
32219         * dirent/Makefile: Likewise.
32220         * dlfcn/Makefile: Likewise.
32221         * gmon/Makefile: Likewise.
32222         * gnulib/Makefile: Likewise.
32223         * grp/Makefile: Likewise.
32224         * gshadow/Makefile: Likewise.
32225         * hesiod/Makefile: Likewise.
32226         * hurd/Makefile: Likewise.
32227         (all): Remove target.
32228         * iconvdata/Makefile: Include Makeconfig immediately after
32229         defining subdir.
32230         * inet/Makefile: Likewise.
32231         * intl/Makefile: Likewise.
32232         * io/Makefile: Likewise.
32233         * libio/Makefile: Likewise.
32234         (all): Remove target.
32235         * locale/Makefile: Include Makeconfig immediately after defining
32236         subdir.
32237         * login/Makefile: Likewise.
32238         * mach/Makefile: Likewise.
32239         (all): Remove target.
32240         * malloc/Makefile: Include Makeconfig immediately after defining
32241         subdir.
32242         (all): Remove target.
32243         * manual/Makefile: Include Makeconfig immediately after defining
32244         subdir.
32245         * math/Makefile: Likewise.
32246         * misc/Makefile: Likewise.
32247         * nis/Makefile: Likewise.
32248         * nss/Makefile: Likewise.
32249         * po/Makefile: Likewise.
32250         (all): Remove target.
32251         * posix/Makefile: Include Makeconfig immediately after defining
32252         subdir.
32253         * pwd/Makefile: Likewise.
32254         * resolv/Makefile: Likewise.
32255         * resource/Makefile: Likewise.
32256         * rt/Makefile: Likewise.
32257         * setjmp/Makefile: Likewise.
32258         * shadow/Makefile: Likewise.
32259         * signal/Makefile: Likewise.
32260         * socket/Makefile: Likewise.
32261         * soft-fp/Makefile: Likewise.
32262         * stdio-common/Makefile: Likewise.
32263         * stdlib/Makefile: Likewise.
32264         * streams/Makefile: Likewise.
32265         * string/Makefile: Likewise.
32266         * sunrpc/Makefile: Likewise.
32267         (all): Remove target.
32268         * sysvipc/Makefile: Include Makeconfig immediately after defining
32269         subdir.
32270         * termios/Makefile: Likewise.
32271         * time/Makefile: Likewise.
32272         * timezone/Makefile: Likewise.
32273         (all): Remove target.
32274         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32275         subdir.
32276         * wctype/Makefile: Likewise.
32278 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32280         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32281         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32282         (libc_feholdexcept_setround_mips): Ditto.
32283         (libc_feholdsetround): New.
32284         (libc_feholdsetroundf): New.
32285         (libc_feholdsetroundl): New.
32286         (libc_feupdateenv_test_mips): New.
32287         (libc_feupdateenv_test): New.
32288         (libc_feupdateenv_testf): New.
32289         (libc_feupdateenv_testl): New.
32290         (libc_feresetround): New.
32291         (libc_feresetroundf): New.
32292         (libc_feresetroundl): New.
32293         (libc_fetestexcept_mips): New.
32294         (libc_fetestexcept): New.
32295         (libc_fetestexceptf): New.
32296         (libc_fetestexceptl): New.
32297         (HAVE_RM_CTX): New.
32298         (libc_feholdexcept_setround_mips_ctx): New.
32299         (libc_feholdexcept_setround_ctx): New.
32300         (libc_feholdexcept_setroundf_ctx): New.
32301         (libc_feholdexcept_setroundl_ctx): New.
32302         (libc_fesetenv_mips_ctx): New.
32303         (libc_fesetenv_ctx): New.
32304         (libc_fesetenv_ctxf): New.
32305         (libc_fesetenv_ctxl): New.
32306         (libc_feupdateenv_mips_ctx): New.
32307         (libc_feupdateenv_ctx): New.
32308         (libc_feupdateenvf_ctx): New.
32309         (libc_feupdateenvl_ctx): New.
32310         (libc_feholdsetround_mips_ctx): New.
32311         (libc_feholdsetround_ctx): New.
32312         (libc_feholdsetroundf_ctx): New.
32313         (libc_feholdsetroundl_ctx): New.
32314         (libc_feresetround_mips_ctx): New.
32315         (libc_feresetround_ctx): New.
32316         (libc_feresetroundf_ctx): New.
32317         (libc_feresetroundl_ctx): New.
32319 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32321         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32323         * manual/ipc.texi: New file.
32324         * manual/Makefile (chapters): Add ipc.
32325         * manual/job.texi: Add "Inter-Process Communication" to next.
32326         * manual/process.texi: Add "Inter-Process Communication" to prev.
32328 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32332 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32334         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32336         * manual/arith.texi: Fix spaces after sentences.
32337         * manual/charset.texi: Likewise.
32338         * manual/errno.texi: Likewise.
32339         * manual/install.texi: Likewise.
32340         * manual/llio.texi: Likewise.
32341         * manual/locale.texi: Likewise.
32342         * manual/maint.texi: Likewise.
32343         * manual/math.texi: Likewise.
32344         * manual/memory.texi: Likewise.
32345         * manual/message.texi: Likewise.
32346         * manual/probes.texi: Likewise.
32347         * manual/resource.texi: Likewise.
32348         * manual/signal.texi: Likewise.
32349         * manual/socket.texi: Likewise.
32350         * manual/stdio.texi: Likewise.
32351         * manual/string.texi: Likewise.
32352         * manual/time.texi: Likewise.
32353         * manual/users.texi: Likewise.
32355 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32357         [BZ #16632]
32358         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32359         _DEFAULT_SOURCE is defined.
32361 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32362             Carlos O'Donell  <carlos@redhat.com>
32364         [BZ #16613]
32365         * elf/dl-tls.c (_dl_count_modids): New function.
32366         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32367         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32368         audit library and increment generation counter.
32369         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32370         * elf/tst-audit9.c: New file.
32371         * elf/tst-auditmod9a.c: New file.
32372         * elf/tst-auditmod9b.c: New file.
32373         * elf/Makefile: Add rules to build and run tst-audit9.
32375 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32377         [BZ #15347]
32378         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32380 2014-02-25  Will Newton  <will.newton@linaro.org>
32382         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32383         (__longjmp): Restore sp and lr before restoring callee
32384         saved registers.  Add longjmp and longjmp_target
32385         SystemTap probe point.
32386         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32387         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32388         Define to zero to match jmpbuf layout.
32389         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32390         (__sigsetjmp): Save sp and lr before saving callee
32391         saved registers.  Add setjmp SystemTap probe point.
32393 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32397 2014-02-24  Andreas Schwab  <schwab@suse.de>
32399         [BZ #15804]
32400         * elf/pldd.c (wait_for_ptrace_stop): New function.
32401         (main): Call it after attaching.
32403 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32405         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32406         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32407         Versions files is now verboten.
32408         * hurd/Versions (libc: GLIBC_2.0):
32409         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32410         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32411         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32412         * mach/Versions: Likewise.
32414         * csu/Versions: Remove unused %include.
32415         * resolv/Versions: Likewise.
32417 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32419         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32420         ($(objpfx)check-local-headers.out): Likewise.
32421         ($(objpfx)begin-end-check.out): Likewise.
32422         * Makerules (check-abi-%.out): Likewise.
32423         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32424         ($(objpfx)test2.cat): Likewise.
32425         ($(objpfx)de/libc.cat): Likewise.
32426         ($(objpfx)test-gencat.out): Likewise.
32427         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32428         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32429         ($(objpfx)noload-mem): Likewise.
32430         ($(objpfx)tst-pathopt.out): Likewise.
32431         ($(objpfx)tst-rtld-load-self.out): Likewise.
32432         ($(objpfx)tst-array1-cmp.out): Likewise.
32433         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32434         ($(objpfx)tst-array2-cmp.out): Likewise.
32435         ($(objpfx)tst-array3-cmp.out): Likewise.
32436         ($(objpfx)tst-array4-cmp.out): Likewise.
32437         ($(objpfx)tst-array5-cmp.out): Likewise.
32438         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32439         ($(objpfx)check-textrel.out): Likewise.
32440         ($(objpfx)check-execstack.out): Likewise.
32441         ($(objpfx)check-localplt.out): Likewise.
32442         ($(objpfx)order2-cmp.out): Likewise.
32443         ($(objpfx)tst-leaks1-mem): Likewise.
32444         ($(objpfx)tst-leaks1-static-mem): Likewise.
32445         ($(objpfx)tst-initorder-cmp.out): Likewise.
32446         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32447         ($(objpfx)tst-unused-dep.out): Likewise.
32448         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32449         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32450         * iconv/Makefile (test-iconvconfig): Likewise.
32451         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32452         ($(objpfx)iconv-test.out): Likewise.
32453         ($(objpfx)tst-tables.out): Likewise.
32454         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32455         ($(objpfx)tst-gettext.out): Likewise.
32456         ($(objpfx)tst-translit.out): Likewise.
32457         ($(objpfx)tst-gettext2.out): Likewise.
32458         ($(objpfx)tst-gettext4.out): Likewise.
32459         ($(objpfx)tst-gettext6.out): Likewise.
32460         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32461         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32462         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32463         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32465         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32466         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32467         ($(objpfx)wordexp-tst.out): Likewise.
32468         ($(objpfx)annexc.out): Likewise.
32469         ($(objpfx)tst-fnmatch-mem): Likewise.
32470         ($(objpfx)bug-regex2-mem): Likewise.
32471         ($(objpfx)bug-regex14-mem): Likewise.
32472         ($(objpfx)bug-regex21-mem): Likewise.
32473         ($(objpfx)bug-regex31-mem): Likewise.
32474         ($(objpfx)tst-vfork3-mem): Likewise.
32475         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32476         ($(objpfx)tst-pcre-mem): Likewise.
32477         ($(objpfx)tst-boost-mem): Likewise.
32478         ($(objpfx)tst-getconf.out): Likewise.
32479         ($(objpfx)bug-ga2-mem): Likewise.
32480         ($(objpfx)bug-glob2-mem): Likewise.
32481         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32482         ($(objpfx)mtrace-tst-leaks2): Likewise.
32483         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32484         ($(objpfx)tst-printf.out): Likewise.
32485         ($(objpfx)tst-setvbuf1.out): Likewise.
32486         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32487         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32488         ($(objpfx)tst-fmtmsg.out): Likewise.
32489         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32490         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32492         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32493         * bits/sigaction.h [__USE_MISC]: Likewise.
32494         * bits/waitstatus.h: Update #endif comments.
32495         * ctype/ctype.h: Likewise.
32496         * dirent/dirent.h: Likewise.
32497         [__USE_MISC]: Remove redundant conditionals.
32498         * grp/grp.h: Update #endif comments.
32499         [__USE_GNU]: Remove redundant conditionals.
32500         [__USE_MISC]: Likewise.
32501         * inet/netinet/in.h [__USE_GNU]: Likewise.
32502         * io/sys/stat.h [__USE_MISC]: Likewise.
32503         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32504         * libio/bits/stdio.h: Update #endif comments.
32505         [__USE_MISC]: Remove redundant conditionals.
32506         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32507         * libio/stdio.h: Update #endif comments.
32508         [__USE_MISC]: Remove redundant conditionals.
32509         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32510         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32511         * math/math.h: Update #else and #endif comments.
32512         [__USE_MISC]: Remove redundant conditionals.
32513         * misc/sys/uio.h: Update #endif comments.
32514         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32515         * posix/glob.h [__USE_MISC]: Likewise.
32516         * posix/sys/types.h: Update #endif comments.
32517         [__USE_MISC]: Remove redundant conditionals.
32518         * posix/sys/wait.h: Update #endif comments.
32519         [__USE_MISC]: Remove redundant conditionals.
32520         * posix/unistd.h: Update #endif comments.
32521         [__USE_MISC]: Remove redundant conditionals.
32522         * pwd/pwd.h [__USE_GNU]: Likewise.
32523         [__USE_MISC]: Likewise.
32524         * resolv/netdb.h [__USE_GNU]: Likewise.
32525         * signal/signal.h: Update #endif comments.
32526         [__USE_MISC]: Remove redundant conditionals.
32527         * stdlib/stdlib.h: Update #else and #endif comments.
32528         [__USE_MISC]: Remove redundant conditionals.
32529         [__USE_GNU]: Likewise.
32530         * string/bits/string2.h [__USE_MISC]: Likewise.
32531         * string/string.h: Update #endif comments.
32532         [__USE_MISC]: Remove redundant conditionals.
32533         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32534         Likewise.
32535         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32536         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32537         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32538         Likewise.
32539         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32540         Likewise.
32541         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32542         comments.
32543         [__USE_MISC]: Remove redundant conditionals.
32544         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32545         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32546         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32547         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32548         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32549         Likewise.
32550         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32551         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32552         Likewise.
32553         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32554         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32555         Likewise.
32556         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32557         Likewise.
32558         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32559         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32560         Likewise.
32561         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32562         Likewise.
32563         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32564         * sysdeps/x86/bits/string.h: Update #endif comments.
32565         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32566         conditionals.
32567         * time/sys/time.h: Update #endif comments.
32568         * time/time.h: Likewise.
32569         [__USE_MISC]: Remove redundant conditionals.
32571 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32573         [BZ #16600]
32574         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32576 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32578         * Versions.def (librt): Add GLIBC_2.17.
32580 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32582         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32583         synonym for _SYS_AUXV_H to allow direct inclusion.
32584         * sysdeps/sparc/bits/hwcap.h: Likewise.
32585         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32586         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32587         * sysdeps/sparc/sysdep.h: Likewise.
32589 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32591         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32593 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32595         * benchtests/bench-strrchr.c: Print length instead of position.
32597 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32599         [BZ #16611]
32600         * sysdeps/unix/sysv/linux/kernel-features.h
32601         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32602         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32603         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32604         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32605         Likewise.
32606         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32607         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32608         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32609         (__ASSUME_SENDMMSG): Define instead of using previous
32610         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32612         (__ASSUME_SENDMMSG_SYSCALL): Define.
32613         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32614         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32615         Likewise.
32616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32618         Likewise.
32619         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32620         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32621         Likewise.
32622         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32623         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32624         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32625         [__ASSUME_SENDMMSG]: Change conditionals to
32626         [__ASSUME_SENDMMSG_SOCKETCALL].
32627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32628         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32629         Define.
32630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32631         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32632         Likewise.
32633         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32634         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32635         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32636         [!__ASSUME_SENDMMSG]: Change conditional to
32637         [!__ASSUME_SENDMMSG_SOCKETCALL].
32638         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32640         Define.
32642         [BZ #16610]
32643         * sysdeps/unix/sysv/linux/kernel-features.h
32644         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32645         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32646         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32647         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32648         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32649         [__i386__ || __sparc__]
32650         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32651         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32652         (__ASSUME_RECVMMSG): Define instead of using previous
32653         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32654         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32655         (__ASSUME_RECVMMSG_SYSCALL): Define.
32656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32658         Likewise.
32659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32660         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32661         Likewise.
32662         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32664         Likewise.
32665         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32666         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32667         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32668         [__ASSUME_RECVMMSG]: Change condition to
32669         [__ASSUME_RECVMMSG_SOCKETCALL].
32670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32672         Define.
32673         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32674         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32676         Likewise.
32677         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32678         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32679         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32680         [!__ASSUME_RECVMMSG]: Change condition to
32681         [!__ASSUME_RECVMMSG_SOCKETCALL].
32682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32683         (__ASSUME_RECVMMSG_SYSCALL): Define.
32685         [BZ #16609]
32686         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32687         __powerpc__ || __s390__ || __sh__ || __sparc__]
32688         (__ASSUME_SOCKETCALL): Define.
32689         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32690         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32691         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32692         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32693         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32694         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32695         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32696         (__ASSUME_ACCEPT4): Define instead of using previous
32697         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32698         __powerpc__ || __sparc__ || __s390__)] condition.
32699         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32700         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32701         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32702         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32703         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32704         [!__ASSUME_ACCEPT4]: Change condition to
32705         [!__ASSUME_ACCEPT4_SOCKETCALL].
32706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32707         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32708         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32710         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32711         __ASSUME_ACCEPT4_SYSCALL.
32712         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32713         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32715         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32716         __ASSUME_ACCEPT4_SYSCALL.
32717         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32718         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32719         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32720         [__ASSUME_ACCEPT4]: Change condition to
32721         [__ASSUME_ACCEPT4_SOCKETCALL].
32722         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32723         (__ASSUME_SOCKETCALL): Define.
32724         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32726         (__ASSUME_SOCKETCALL): Define.
32727         (__ASSUME_ACCEPT4): Remove.
32728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32729         Define.
32730         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32731         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32732         Likewise.
32733         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32734         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32736         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32737         macro.
32738         (HWCAP_ARM_LPAE): Likewise.
32739         (HWCAP_ARM_EVTSTRM): Likewise.
32740         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32741         Add vpfd32, lpae and evtstrm.
32742         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32743         Increase to 22.
32745 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32747         * math/auto-libm-test-in: Add tests of clog10.
32748         * math/auto-libm-test-out: Regenerated.
32749         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32750         * sysdeps/i386/fpu/libm-test-ulps: Update.
32751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32753 2014-02-18  Andreas Schwab  <schwab@suse.de>
32755         [BZ #16574]
32756         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32757         Store non-zero if the second buffer was newly allocated.
32758         (send_dg): Likewise.
32759         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32760         to send_vc and send_dg.
32761         (res_nsend): Pass NULL for ansp2_malloced.
32762         * resolv/res_query.c (__libc_res_nquery): Add parameter
32763         answerp2_malloced and pass it down to __libc_res_nsend.
32764         (res_nquery): Pass additional NULL to __libc_res_nquery.
32765         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32766         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32767         second answer buffer if answerp2_malloced was set.
32768         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32769         (__libc_res_nquerydomain): Add parameter
32770         answerp2_malloced and pass it down to __libc_res_nquery.
32771         (res_nquerydomain): Pass additional NULL to
32772         __libc_res_nquerydomain.
32773         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32774         additional NULL to __libc_res_nsend and __libc_res_nquery.
32775         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32776         additional NULL to __libc_res_nsearch.
32777         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32778         parameter of __libc_res_nsearch to check for separately allocated
32779         second buffer.
32780         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32781         __libc_res_nquery.
32782         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32783         additional NULL to __libc_res_nquery.
32784         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32785         __libc_res_nsearch.
32786         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32787         * include/resolv.h: Update prototypes of __libc_res_nquery,
32788         __libc_res_nsearch, __libc_res_nsend.
32790 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32792         * math/auto-libm-test-in: Add tests of fma.
32793         * math/auto-libm-test-out: Regenerated.
32794         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32795         (fma_towardzero_test_data): Likewise.
32796         (fma_downward_test_data): Likewise.
32797         (fma_upward_test_data): Likewise.
32798         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32799         mpc_mode.
32800         (rounding_modes): Add values for new field.
32801         (func_calc_method): Add value mpfr_fff_f.
32802         (func_calc_desc): Add mpfr_fff_f union field.
32803         (test_function): Add field exact_args.
32804         (FUNC): Add macro argument EXACT_ARGS.
32805         (FUNC_mpfr_f_f): Update call to FUNC.
32806         (FUNC_mpfr_f_f): Likewise.
32807         (FUNC_mpfr_ff_f): Likewise.
32808         (FUNC_mpfr_if_f): Likewise.
32809         (FUNC_mpc_c_f): Likewise.
32810         (FUNC_mpc_c_c): Likewise.
32811         (test_functions): Add fma.  Update calls to FUNC.
32812         (handle_input_arg): Add argument exact_args.
32813         (add_test): Update call to handle_input_arg.
32814         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32815         (output_for_one_input_case): Update call to calc_generic_results.
32816         Recalculate exact zero results in each rounding mode.
32818         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32819         non-negative before setting low bit.
32820         * math/auto-libm-test-in: Mark one asin test possibly having
32821         spurious underflow.
32822         * math/auto-libm-test-out: Regenerated.
32823         * sysdeps/i386/fpu/libm-test-ulps: Update.
32824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32826 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32828         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32829         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32830         ports/sysdeps/unix/sysv/linux/microblaze.
32831         * README: Add missing listing for microblaze*-*-linux-gnu.
32833 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32835         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32836         duplicate code
32838 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32840         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32841         * sysdeps/unix/sysv/linux/ia64: Move directory from
32842         ports/sysdeps/unix/sysv/linux/ia64.
32843         * README: Update listing for ia64-*-linux-gnu.
32845 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32846             Joseph Myers  <joseph@codesourcery.com>
32848         * Makeconfig (test-name): New variable.
32849         (evaluate-test): Likewise.
32850         * Makerules (do-test-clean): Remove .test-result files.
32851         (common-mostlyclean): Likewise.
32852         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32853         * scripts/evaluate-test.sh: New file.
32855 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32857         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32858         separate $(objpfx)tst-fopenloc-cmp.out and
32859         $(objpfx)tst-fopenloc-mem.out targets.
32860         (tests): Update dependencies.
32861         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32862         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32863         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32864         (tst-rxspencer-no-utf8-ARGS): New variable.
32865         (tst-rxspencer-no-utf8-ENV): Likewise.
32866         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32867         instead of $(objpfx)tst-rxspencer-mem.
32868         ($(objpfx)tst-rxspencer-mem): Change target to
32869         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32870         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32871         * posix/tst-rxspencer-no-utf8.c: New file.
32873         * elf/Makefile ($(objpfx)order.out): Remove rule.
32874         [$(run-built-tests) = yes] (tests): Depend on
32875         $(objpfx)order-cmp.out.
32876         ($(objpfx)order-cmp.out): New rule.
32877         [$(run-built-tests) = yes] (tests): Depend on
32878         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32879         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32880         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32881         $(objpfx)tst-array5-static-cmp.out.
32882         ($(objpfx)tst-array1.out): Remove rule.
32883         ($(objpfx)tst-array1-cmp.out): New rule.
32884         ($(objpfx)tst-array1-static.out): Remove rule.
32885         ($(objpfx)tst-array1-static-cmp.out): New rule.
32886         ($(objpfx)tst-array2.out): Remove rule.
32887         ($(objpfx)tst-array2-cmp.out): New rule.
32888         ($(objpfx)tst-array3.out): Remove rule.
32889         ($(objpfx)tst-array3-cmp.out): New rule.
32890         ($(objpfx)tst-array4.out): Remove rule.
32891         ($(objpfx)tst-array4-cmp.out): New rule.
32892         ($(objpfx)tst-array5.out): Remove rule.
32893         ($(objpfx)tst-array5-cmp.out): New rule.
32894         ($(objpfx)tst-array5-static.out): Remove rule.
32895         ($(objpfx)tst-array5-static-cmp.out): New rule.
32896         [$(run-built-tests) = yes] (tests): Depend on
32897         $(objpfx)order2-cmp.out.
32898         ($(objpfx)order2.out): Remove rule.
32899         ($(objpfx)order2-cmp.out): New rule.
32900         ($(objpfx)tst-initorder.out): Remove rule.
32901         [$(run-built-tests) = yes] (tests): Depend on
32902         $(objpfx)tst-initorder-cmp.out.
32903         ($(objpfx)tst-initorder-cmp.out): New rule.
32904         ($(objpfx)tst-initorder2.out): Remove rule.
32905         [$(run-built-tests) = yes] (tests): Depend on
32906         $(objpfx)tst-initorder2-cmp.out.
32907         ($(objpfx)tst-initorder2-cmp.out): New rule.
32908         [$(run-built-tests) = yes] (tests): Depend on
32909         $(objpfx)tst-unused-dep-cmp.out.
32910         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32911         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32912         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32913         on $(objpfx)tst-setvbuf1-cmp.out.
32914         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32915         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32916         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32917         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32918         ($(objpfx)tst-svc.out): Remove rule.
32919         ($(objpfx)tst-svc-cmp.out): New rule.
32921 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32923         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32924         * ctype/ctype.h [__USE_MISC]: Likewise.
32925         * dirent/dirent.h [__USE_MISC]: Likewise.
32926         * grp/grp.h [__USE_MISC]: Likewise.
32927         * io/fcntl.h [__USE_MISC]: Likewise.
32928         * io/sys/stat.h [__USE_MISC]: Likewise.
32929         * libio/stdio.h [__USE_MISC]: Likewise.
32930         * posix/unistd.h [__USE_MISC]: Likewise.
32931         * pwd/pwd.h [__USE_MISC]: Likewise.
32932         * stdlib.h [__USE_MISC]: Likewise.
32933         * string/bits/string2.h [__USE_MISC]: Likewise.
32934         * string/string.h [__USE_MISC]: Likewise.
32935         * time/time.h [__USE_MISC]: Likewise.
32937 2014-02-13  Andreas Schwab  <schwab@suse.de>
32939         [BZ #16574]
32940         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32941         second answer buffer if it was separately allocated.
32943 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32945         * sysdeps/mips/math-tests.h: Include <features.h>.
32946         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32947         (ROUNDING_TESTS_long_double): Do not define.
32948         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32949         (EXCEPTION_TESTS_long_double): Likewise.
32950         * sysdeps/mips/mips64/libm-test-ulps: Update.
32952         * include/features.h (__USE_BSD): Remove macro definitions.
32953         (__USE_SVID): Likewise.
32954         (_BSD_SOURCE): Likewise.
32955         (_SVID_SOURCE): Likewise.
32956         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32957         from definition of _DEFAULT_SOURCE.
32958         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32959         [_DEFAULT_SOURCE].
32960         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32961         * bits/mman.h [__USE_BSD]: Likewise.
32962         * bits/termios.h [__USE_BSD]: Likewise.
32963         * bits/waitstatus.h [__USE_BSD]: Likewise.
32964         * ctype/ctype.h [__USE_SVID]: Likewise.
32965         * dirent/dirent.h [__USE_BSD]: Likewise.
32966         * grp/grp.h [__USE_SVID]: Likewise.
32967         [__USE_BSD]: Likewise.
32968         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32969         * io/fcntl.h [__USE_BSD]: Likewise.
32970         * io/ftw.h [__USE_BSD]: Likewise.
32971         * io/sys/stat.h [__USE_BSD]: Likewise.
32972         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32973         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32974         * libio/stdio.h [__USE_SVID]: Likewise.
32975         [__USE_BSD]: Likewise.
32976         * math/math.h [__USE_SVID]: Likewise.
32977         [__USE_BSD]: Likewise.
32978         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32979         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32980         * misc/search.h [__USE_SVID]: Likewise.
32981         * misc/sys/mman.h [__USE_BSD]: Likewise.
32982         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32983         * misc/sys/uio.h [__USE_BSD]: Likewise.
32984         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32985         * posix/glob.h [__USE_BSD]: Likewise.
32986         * posix/regex.h [__USE_BSD]: Likewise.
32987         * posix/sys/types.h [__USE_BSD]: Likewise.
32988         [__USE_SVID]: Likewise.
32989         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32990         * posix/sys/wait.h [__USE_BSD]: Likewise.
32991         [__USE_SVID]: Likewise.
32992         * posix/unistd.h [__USE_BSD]: Likewise.
32993         [__USE_SVID]: Likewise.
32994         * pwd/pwd.h [__USE_SVID]: Likewise.
32995         * resolv/netdb.h [__USE_BSD]: Likewise.
32996         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32997         * signal/signal.h [__USE_BSD]: Likewise.
32998         [__USE_SVID]: Likewise.
32999         * socket/sys/socket.h [__USE_BSD]: Likewise.
33000         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33001         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33002         [__USE_SVID]: Likewise.
33003         * string/bits/string2.h [__USE_BSD]: Likewise.
33004         [__USE_SVID]: Likewise.
33005         * string/bits/string3.h [__USE_BSD]: Likewise.
33006         * string/endian.h [__USE_BSD]: Likewise.
33007         * string/string.h [__USE_SVID]: Likewise.
33008         [__USE_BSD]: Likewise.
33009         * string/strings.h [__USE_BSD]: Likewise.
33010         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33011         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33012         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33013         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33014         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33015         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33016         Likewise.
33017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33018         Likewise.
33019         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33020         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33021         Likewise.
33022         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33023         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33024         Likewise.
33025         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33026         Likewise.
33027         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33028         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33029         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33030         Likewise.
33031         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33032         Likewise.
33033         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33034         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33035         * termios/termios.h [__USE_BSD]: Likewise.
33036         * time/sys/time.h [__USE_BSD]: Likewise.
33037         * time/time.h [__USE_BSD]: Likewise.
33038         [__USE_SVID]: Likewise.
33040         * Makefile (subdir_targets): Remove subdir_lint.out.
33042         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33043         (do-tst-printf): Likewise.
33044         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33045         $(objpfx)tst-printf.out.
33047         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33049         * Makerules (check-abi-%): Change target to
33050         $(objpfx)check-abi-%.out.
33051         (check-abi target): Update dependencies.
33052         (check-abi-pattern variable): Redirect output of diff to $@.
33053         (check-abi variable): Likewise.
33054         * elf/Makefile (check-abi): Update dependencies.
33056         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33057         unused.
33058         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33059         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33060         subnormal range.
33061         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33062         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33063         value has largest subnormal exponent.
33064         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33065         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33066         * sysdeps/aarch64/soft-fp/sfp-machine.h
33067         (_FP_TININESS_AFTER_ROUNDING): New macro.
33068         * sysdeps/alpha/soft-fp/sfp-machine.h
33069         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33070         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33071         Likewise.
33072         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33073         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33074         * sysdeps/mips/soft-fp/sfp-machine.h
33075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33076         * sysdeps/powerpc/soft-fp/sfp-machine.h
33077         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33078         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33079         Likewise.
33080         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33081         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33082         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33084         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33085         Likewise.
33087 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33089         [BZ #16545]
33090         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33091         model 1.
33093 2014-02-12  Richard Henderson  <rth@redhat.com>
33095         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33096         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33097         * sysdeps/unix/sysv/linux/alpha: Move directory from
33098         ports/sysdeps/unix/sysv/linux/alpha.
33099         * README: Update listing for alpha-*-linux-gnu.
33101 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33103         * include/features.h: Update comment documenting feature test
33104         macros.
33105         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33106         _DEFAULT_SOURCE.
33107         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33108         (_SVID_SOURCE): Likewise.
33109         (_DEFAULT_SOURCE): Update description of default features.
33110         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33111         with _GNU_SOURCE.
33112         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33113         (S_ISVTX): Likewise.
33114         * manual/math.texi (Mathematical Constants): Likewise.
33115         * manual/signal.texi (Interrupted Primitives): Likewise.
33116         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33117         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33118         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33119         Don't refer to _SVID_SOURCE in warning text.
33121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33123         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33124         already defined.
33125         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33126         * sysdeps/mips/dl-lookup.c: Remove.
33127         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33129 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33131         [BZ #16447]
33132         * math/auto-libm-test-in: Add testcase for expl.
33133         * math/auto-libm-test-out: Regenerate.
33134         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33135         calculation of unsafe.
33136         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33138 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33140         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33141         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33142         ports/sysdeps/unix/sysv/linux/aarch64.
33143         * README: Update listing for aarch64*-*-linux-gnu.
33145 2014-02-11  Will Newton  <will.newton@linaro.org>
33147         * manual/probes.texi (Mathematical Function Probes): Use
33148         "triggered" instead of "hit".
33150         * manual/probes.texi (Internal Probes): Add documentation
33151         of setjmp, longjmp and longjmp_target probes.
33153         * include/stap-probe.h: Add comment about probe argument
33154         format.
33156         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33157         definition.  (tr_where, tr_freehook, tr_mallochook,
33158         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33160 2014-02-11  David S. Miller  <davem@davemloft.net>
33162         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33163         processing int_tests.
33165 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33167         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33168         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33169         * sysdeps/unix/sysv/linux/mips: Move directory from
33170         ports/sysdeps/unix/sysv/linux/mips.
33171         * README: Update listing for mips-*-linux-gnu and
33172         mips64-*-linux-gnu.
33174 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33176         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33177         * sysdeps/unix/sysv/linux/m68k: Move directory from
33178         ports/sysdeps/unix/sysv/linux/m68k.
33179         * README: Update listing for m68k-*-linux-gnu.
33181 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33183         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33184         * sysdeps/unix/sysv/linux/generic: Move directory from
33185         ports/sysdeps/unix/sysv/linux/generic.
33186         * sysdeps/unix/sysv/linux/tile: Move directory from
33187         ports/sysdeps/unix/sysv/linux/tile.
33188         * README: Update listing for tile*-*-linux-gnu.
33190 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33192         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33193         __builtin_expect.
33194         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33195         * catgets/open_catalog.c (__open_catalog): Likewise.
33196         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33197         * debug/confstr_chk.c: Likewise.
33198         * debug/fread_chk.c (__fread_chk): Likewise.
33199         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33200         * debug/getgroups_chk.c: Likewise.
33201         * debug/mbsnrtowcs_chk.c: Likewise.
33202         * debug/mbsrtowcs_chk.c: Likewise.
33203         * debug/mbstowcs_chk.c: Likewise.
33204         * debug/memcpy_chk.c: Likewise.
33205         * debug/memmove_chk.c: Likewise.
33206         * debug/mempcpy_chk.c: Likewise.
33207         * debug/memset_chk.c: Likewise.
33208         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33209         * debug/strcat_chk.c (__strcat_chk): Likewise.
33210         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33211         * debug/strncat_chk.c (__strncat_chk): Likewise.
33212         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33213         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33214         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33215         * debug/wcpncpy_chk.c: Likewise.
33216         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33217         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33218         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33219         * debug/wcsncpy_chk.c: Likewise.
33220         * debug/wcsnrtombs_chk.c: Likewise.
33221         * debug/wcsrtombs_chk.c: Likewise.
33222         * debug/wcstombs_chk.c: Likewise.
33223         * debug/wmemcpy_chk.c: Likewise.
33224         * debug/wmemmove_chk.c: Likewise.
33225         * debug/wmempcpy_chk.c: Likewise.
33226         * debug/wmemset_chk.c: Likewise.
33227         * dirent/scandirat.c (SCANDIRAT): Likewise.
33228         * dlfcn/dladdr1.c (dladdr1): Likewise.
33229         * dlfcn/dladdr.c (dladdr): Likewise.
33230         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33231         * dlfcn/dlerror.c (__dlerror): Likewise.
33232         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33233         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33234         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33235         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33236         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33237         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33238         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33239         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33240         Likewise.
33241         * elf/dl-conflict.c: Likewise.
33242         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33243         * elf/dl-dst.h: Likewise.
33244         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33245         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33246         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33247         * elf/dl-init.c (call_init, _dl_init): Likewise.
33248         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33249         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33250         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33251         Likewise.
33252         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33253         Likewise.
33254         * elf/dl-minimal.c (__libc_memalign): Likewise.
33255         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33256         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33257         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33258         * elf/dl-sym.c (do_sym): Likewise.
33259         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33260         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33261         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33262         * elf/dl-writev.h (_dl_writev): Likewise.
33263         * elf/ldconfig.c (search_dir): Likewise.
33264         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33265         (dl_main): Likewise.
33266         * elf/setup-vdso.h (setup_vdso): Likewise.
33267         * grp/compat-initgroups.c (compat_call): Likewise.
33268         * grp/fgetgrent.c (fgetgrent): Likewise.
33269         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33270         * grp/putgrent.c (putgrent): Likewise.
33271         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33272         Likewise.
33273         * hurd/hurdinit.c: Likewise.
33274         * iconvdata/8bit-gap.c (struct): Likewise.
33275         * iconvdata/ansi_x3.110.c : Likewise.
33276         * iconvdata/big5.c : Likewise.
33277         * iconvdata/big5hkscs.c : Likewise.
33278         * iconvdata/cp1255.c: Likewise.
33279         * iconvdata/cp1258.c : Likewise.
33280         * iconvdata/cp932.c : Likewise.
33281         * iconvdata/euc-cn.c: Likewise.
33282         * iconvdata/euc-jisx0213.c : Likewise.
33283         * iconvdata/euc-jp.c: Likewise.
33284         * iconvdata/euc-jp-ms.c : Likewise.
33285         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33286         * iconvdata/gb18030.c : Likewise.
33287         * iconvdata/gbbig5.c (const): Likewise.
33288         * iconvdata/gbgbk.c: Likewise.
33289         * iconvdata/gbk.c : Likewise.
33290         * iconvdata/ibm1364.c : Likewise.
33291         * iconvdata/ibm930.c : Likewise.
33292         * iconvdata/ibm932.c: Likewise.
33293         * iconvdata/ibm933.c : Likewise.
33294         * iconvdata/ibm935.c : Likewise.
33295         * iconvdata/ibm937.c : Likewise.
33296         * iconvdata/ibm939.c : Likewise.
33297         * iconvdata/ibm943.c: Likewise.
33298         * iconvdata/iso_11548-1.c: Likewise.
33299         * iconvdata/iso-2022-cn.c : Likewise.
33300         * iconvdata/iso-2022-cn-ext.c : Likewise.
33301         * iconvdata/iso-2022-jp-3.c: Likewise.
33302         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33303         * iconvdata/iso-2022-kr.c : Likewise.
33304         * iconvdata/iso646.c (gconv_end): Likewise.
33305         * iconvdata/iso_6937-2.c : Likewise.
33306         * iconvdata/iso_6937.c : Likewise.
33307         * iconvdata/iso8859-1.c: Likewise.
33308         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33309         * iconvdata/shift_jisx0213.c : Likewise.
33310         * iconvdata/sjis.c : Likewise.
33311         * iconvdata/t.61.c : Likewise.
33312         * iconvdata/tcvn5712-1.c : Likewise.
33313         * iconvdata/tscii.c: Likewise.
33314         * iconvdata/uhc.c : Likewise.
33315         * iconvdata/unicode.c (gconv_end): Likewise.
33316         * iconvdata/utf-16.c (gconv_end): Likewise.
33317         * iconvdata/utf-32.c (gconv_end): Likewise.
33318         * iconvdata/utf-7.c (base64): Likewise.
33319         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33320         * iconv/gconv_close.c (__gconv_close): Likewise.
33321         * iconv/gconv_open.c (__gconv_open): Likewise.
33322         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33323         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33324         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33325         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33326         (ucs4le_internal_loop_single): Likewise.
33327         * iconv/iconv.c (iconv): Likewise.
33328         * iconv/iconv_close.c: Likewise.
33329         * iconv/loop.c (SINGLE): Likewise.
33330         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33331         * include/atomic.h: Likewise.
33332         * inet/inet6_option.c (option_alloc): Likewise.
33333         * intl/bindtextdom.c (set_binding_values): Likewise.
33334         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33335         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33336         * intl/localealias.c (read_alias_file): Likewise.
33337         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33338         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33339         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33340         * libio/fmemopen.c (fmemopen): Likewise.
33341         * libio/iofgets.c (_IO_fgets): Likewise.
33342         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33343         * libio/iofgetws.c (fgetws): Likewise.
33344         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33345         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33346         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33347         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33348         * locale/findlocale.c (_nl_find_locale): Likewise.
33349         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33350         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33351         Likewise.
33352         * locale/setlocale.c (setlocale): Likewise.
33353         * login/programs/pt_chown.c (main): Likewise.
33354         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33355         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33356         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33357         (mmap, mmap64, mremap, munmap): Likewise.
33358         * math/e_exp2l.c: Likewise.
33359         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33360         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33361         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33362         * math/s_catan.c (__catan): Likewise.
33363         * math/s_catanf.c (__catanf): Likewise.
33364         * math/s_catanh.c (__catanh): Likewise.
33365         * math/s_catanhf.c (__catanhf): Likewise.
33366         * math/s_catanhl.c (__catanhl): Likewise.
33367         * math/s_catanl.c (__catanl): Likewise.
33368         * math/s_ccosh.c (__ccosh): Likewise.
33369         * math/s_ccoshf.c (__ccoshf): Likewise.
33370         * math/s_ccoshl.c (__ccoshl): Likewise.
33371         * math/s_cexp.c (__cexp): Likewise.
33372         * math/s_cexpf.c (__cexpf): Likewise.
33373         * math/s_cexpl.c (__cexpl): Likewise.
33374         * math/s_clog10.c (__clog10): Likewise.
33375         * math/s_clog10f.c (__clog10f): Likewise.
33376         * math/s_clog10l.c (__clog10l): Likewise.
33377         * math/s_clog.c (__clog): Likewise.
33378         * math/s_clogf.c (__clogf): Likewise.
33379         * math/s_clogl.c (__clogl): Likewise.
33380         * math/s_csin.c (__csin): Likewise.
33381         * math/s_csinf.c (__csinf): Likewise.
33382         * math/s_csinh.c (__csinh): Likewise.
33383         * math/s_csinhf.c (__csinhf): Likewise.
33384         * math/s_csinhl.c (__csinhl): Likewise.
33385         * math/s_csinl.c (__csinl): Likewise.
33386         * math/s_csqrt.c (__csqrt): Likewise.
33387         * math/s_csqrtf.c (__csqrtf): Likewise.
33388         * math/s_csqrtl.c (__csqrtl): Likewise.
33389         * math/s_ctan.c (__ctan): Likewise.
33390         * math/s_ctanf.c (__ctanf): Likewise.
33391         * math/s_ctanh.c (__ctanh): Likewise.
33392         * math/s_ctanhf.c (__ctanhf): Likewise.
33393         * math/s_ctanhl.c (__ctanhl): Likewise.
33394         * math/s_ctanl.c (__ctanl): Likewise.
33395         * math/w_pow.c: Likewise.
33396         * math/w_powf.c: Likewise.
33397         * math/w_powl.c: Likewise.
33398         * math/w_scalb.c (sysv_scalb): Likewise.
33399         * math/w_scalbf.c (sysv_scalbf): Likewise.
33400         * math/w_scalbl.c (sysv_scalbl): Likewise.
33401         * misc/error.c (error_tail): Likewise.
33402         * misc/pselect.c (__pselect): Likewise.
33403         * nis/nis_callback.c (__nis_create_callback): Likewise.
33404         * nis/nis_call.c (__nisfind_server): Likewise.
33405         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33406         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33407         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33408         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33409         * nis/nis_lookup.c (nis_lookup): Likewise.
33410         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33411         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33412         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33413         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33414         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33415         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33416         * nis/nss_compat/compat-initgroups.c (add_group)
33417         (internal_getgrent_r): Likewise.
33418         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33419         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33420         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33421         (internal_getspnam_r): Likewise.
33422         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33423         (_nss_nis_getaliasbyname_r): Likewise.
33424         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33425         (_nss_nis_getntohost_r): Likewise.
33426         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33427         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33428         (_nss_nis_getgrgid_r): Likewise.
33429         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33430         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33431         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33432         (_nss_nis_gethostbyname4_r): Likewise.
33433         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33434         (initgroups_netid): Likewise.
33435         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33436         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33437         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33438         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33439         (_nss_nis_getprotobynumber_r): Likewise.
33440         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33441         (_nss_nis_getsecretkey): Likewise.
33442         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33443         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33444         (_nss_nis_getpwuid_r): Likewise.
33445         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33446         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33447         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33448         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33449         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33450         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33451         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33452         Likewise.
33453         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33454         (_nss_nisplus_getntohost_r): Likewise.
33455         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33456         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33457         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33458         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33459         Likewise.
33460         * nis/nss_nisplus/nisplus-initgroups.c
33461         (_nss_nisplus_initgroups_dyn): Likewise.
33462         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33463         (_nss_nisplus_getnetbyaddr_r): Likewise.
33464         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33465         (_nss_nisplus_getprotobynumber_r): Likewise.
33466         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33467         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33468         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33469         Likewise.
33470         * nis/nss_nisplus/nisplus-service.c
33471         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33472         (_nss_nisplus_getservbyport_r): Likewise.
33473         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33474         (_nss_nisplus_getspnam_r): Likewise.
33475         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33476         Likewise.
33477         * nscd/aicache.c (addhstaiX): Likewise.
33478         * nscd/cache.c (cache_search, prune_cache): Likewise.
33479         * nscd/connections.c (register_traced_file, send_ro_fd)
33480         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33481         (main_loop_epoll): Likewise.
33482         * nscd/grpcache.c (addgrbyX): Likewise.
33483         * nscd/hstcache.c (addhstbyX): Likewise.
33484         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33485         * nscd/mem.c (gc, mempool_alloc): Likewise.
33486         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33487         (addinnetgrX): Likewise.
33488         * nscd/nscd-client.h (__nscd_acquire_maplock)
33489         (__nscd_drop_map_ref): Likewise.
33490         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33491         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33492         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33493         Likewise.
33494         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33495         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33496         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33497         (__nscd_get_map_ref): Likewise.
33498         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33499         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33500         Likewise.
33501         * nscd/pwdcache.c (addpwbyX): Likewise.
33502         * nscd/selinux.c (preserve_capabilities): Likewise.
33503         * nscd/servicescache.c (addservbyX): Likewise.
33504         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33505         * posix/fnmatch.c (fnmatch): Likewise.
33506         * posix/getopt.c (_getopt_internal_r): Likewise.
33507         * posix/glob.c (glob, glob_in_dir): Likewise.
33508         * posix/wordexp.c (exec_comm_child): Likewise.
33509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33510         (getanswer_r, gaih_getanswer_slice): Likewise.
33511         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33512         * resolv/res_init.c: Likewise.
33513         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33514         * resolv/res_query.c (__libc_res_nquery): Likewise.
33515         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33516         Likewise.
33517         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33518         * stdio-common/perror.c (perror): Likewise.
33519         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33520         * stdio-common/tmpnam.c (tmpnam): Likewise.
33521         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33522         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33523         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33524         Likewise.
33525         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33526         * stdlib/putenv.c (putenv): Likewise.
33527         * stdlib/setenv.c (__add_to_environ): Likewise.
33528         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33529         * stdlib/strtol_l.c (INTERNAL): Likewise.
33530         * string/memmem.c (memmem): Likewise.
33531         * string/strerror.c (strerror): Likewise.
33532         * string/strnlen.c (__strnlen): Likewise.
33533         * string/test-memmem.c (simple_memmem): Likewise.
33534         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33535         * sunrpc/pm_getport.c (__get_socket): Likewise.
33536         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33537         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33538         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33539         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33540         Likewise.
33541         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33542         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33543         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33544         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33545         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33546         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33547         Likewise.
33548         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33549         Likewise.
33550         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33551         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33553         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33554         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33556         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33557         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33558         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33559         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33560         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33561         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33562         Likewise.
33563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33564         Likewise.
33565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33566         Likewise.
33567         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33568         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33569         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33571         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33573         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33576         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33577         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33579         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33580         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33582         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33583         Likewise.
33584         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33585         Likewise.
33586         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33587         Likewise.
33588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33589         Likewise.
33590         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33592         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33593         Likewise.
33594         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33595         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33596         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33597         * sysdeps/posix/sleep.c: Likewise.
33598         * sysdeps/posix/tempname.c: Likewise.
33599         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33600         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33601         Likewise.
33602         * sysdeps/powerpc/powerpc32/dl-machine.h
33603         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33604         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33606         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33607         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33608         Likewise.
33609         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33611         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33613         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33614         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33615         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33616         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33617         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33618         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33620         (elf_machine_lazy_rel): Likewise.
33621         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33623         (elf_machine_lazy_rel): Likewise.
33624         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33625         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33626         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33627         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33628         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33629         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33630         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33632         Likewise.
33633         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33634         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33635         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33636         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33637         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33638         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33639         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33640         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33641         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33642         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33643         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33644         Likewise.
33645         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33646         (__posix_fallocate64_l64): Likewise.
33647         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33648         (posix_fallocate): Likewise.
33649         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33650         Likewise.
33651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33652         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33653         (getifaddrs_internal): Likewise.
33654         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33655         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33656         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33657         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33658         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33659         (__posix_fallocate64_l64): Likewise.
33660         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33661         Likewise.
33662         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33663         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33664         (__get_clockfreq): Likewise.
33665         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33666         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33667         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33670         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33671         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33672         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33673         Likewise.
33674         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33675         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33676         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33679         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33680         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33681         Likewise.
33682         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33683         (posix_fallocate): Likewise.
33684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33685         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33686         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33687         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33688         (elf_machine_rela, elf_machine_rela_relative)
33689         (elf_machine_lazy_rel): Likewise.
33690         * time/asctime.c (asctime_internal): Likewise.
33691         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33692         * time/tzset.c (__tzset_parse_tz): Likewise.
33693         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33694         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33695         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33696         * wcsmbs/wcsmbsload.h: Likewise.
33698         [BZ #15894]
33699         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33701         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33702         (arena_get2): Remove THREAD_STATS conditionals.
33703         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33704         (__malloc_stats, int): Likewise.
33706 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33708         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33709         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33711         * manual/setjmp.texi: Fix typos/grammar errors.
33713         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33714         Only return early when n is <= 0.  Delete unused return statement.
33716         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33717         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33718         * debug/tst-longjmp_chk3.c: New file.
33720         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33721         (test_main): Replace code with set_fortify_handler call.
33722         * debug/test-strcpy_chk.c: Likewise.
33723         * debug/tst-chk1.c: Likewise.
33724         * debug/tst-longjmp_chk.c: Likewise.
33725         * test-skeleton.c: Include fcntl.h & paths.h
33726         (set_fortify_handler): Define.
33728         * debug/tst-longjmp_chk.c: Add header comment and include
33729         ../test-skeleton.c.
33730         (do_test): Mark static.
33731         (TEST_FUNCTION): Define.
33733         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33734         (IP_PMTUDISC_INTERFACE): Likewise.
33735         (IP_MULTICAST_IF): Likewise.
33736         (IP_MULTICAST_TTL): Likewise.
33737         (IP_MULTICAST_LOOP): Likewise.
33738         (IP_ADD_MEMBERSHIP): Likewise.
33739         (IP_DROP_MEMBERSHIP): Likewise.
33740         (IP_UNBLOCK_SOURCE): Likewise.
33741         (IP_BLOCK_SOURCE): Likewise.
33742         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33743         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33744         (IP_MSFILTER): Likewise.
33745         (MCAST_JOIN_GROUP): Likewise.
33746         (MCAST_BLOCK_SOURCE): Likewise.
33747         (MCAST_UNBLOCK_SOURCE): Likewise.
33748         (MCAST_LEAVE_GROUP): Likewise.
33749         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33750         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33751         (MCAST_MSFILTER): Likewise.
33752         (IP_MULTICAST_ALL): Likewise.
33753         (IP_UNICAST_IF): Likewise.
33755         * timezone/Makefile: Delete $(have-ksh) check.
33756         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33757         * timezone/tzselect.ksh: Add +x mode bits.
33759         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33760         (ANON_INODE_FS_MAGIC): Likewise.
33761         (BDEVFS_MAGIC): Likewise.
33762         (BINFMTFS_MAGIC): Likewise.
33763         (BTRFS_TEST_MAGIC): Likewise.
33764         (CRAMFS_MAGIC_WEND): Likewise.
33765         (DEBUGFS_MAGIC): Likewise.
33766         (ECRYPTFS_SUPER_MAGIC): Likewise.
33767         (EXT3_SUPER_MAGIC): Likewise.
33768         (EXT4_SUPER_MAGIC): Likewise.
33769         (FUTEXFS_SUPER_MAGIC): Likewise.
33770         (HOSTFS_SUPER_MAGIC): Likewise.
33771         (HUGETLBFS_MAGIC): Likewise.
33772         (MINIX3_SUPER_MAGIC): Likewise.
33773         (MTD_INODE_FS_MAGIC): Likewise.
33774         (NILFS_SUPER_MAGIC): Likewise.
33775         (OPENPROM_SUPER_MAGIC): Likewise.
33776         (PIPEFS_MAGIC): Likewise.
33777         (PSTOREFS_MAGIC): Likewise.
33778         (QNX6_SUPER_MAGIC): Likewise.
33779         (RAMFS_MAGIC): Likewise.
33780         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33781         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33782         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33783         (SECURITYFS_MAGIC): Likewise.
33784         (SELINUX_MAGIC): Likewise.
33785         (SMACK_MAGIC): Likewise.
33786         (SOCKFS_MAGIC): Likewise.
33787         (SQUASHFS_MAGIC): Likewise.
33788         (STACK_END_MAGIC): Likewise.
33789         (TMPFS_MAGIC): Likewise.
33790         (USBDEVICE_SUPER_MAGIC): Likewise.
33791         (V9FS_MAGIC): Likewise.
33792         (XENFS_SUPER_MAGIC): Likewise.
33793         (CRAMFS_MAGIC): Fix typo in comment.
33794         (EXT2_SUPER_MAGIC): Update comment.
33795         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33797 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33799         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33800         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33801         * sysdeps/unix/sysv/linux/arm: Move directory from
33802         ports/sysdeps/unix/sysv/linux/arm.
33803         * README: Update listing for arm-*-linux-gnueabi.
33805         * README: Remove mention of am33.
33807 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33809         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33810         than the comma operator, to avoid "rhs of comma has no effect"
33811         compiler warnings.
33812         (__sigfillset, __sigandset, __sigorset): Likewise.
33813         * include/signal.h (__sigemptyset): Likewise.
33814         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33816 2014-02-07  Allan McRae  <allan@archlinux.org>
33818         * version.h (RELEASE): Set to "development".
33819         (VERSION): Set to "2.19.90"
33820         * NEWS: Add 2.20 section.
33822 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33824         [BZ #16529]
33825         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33827 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33829         * manual/contrib.texi: Update entry for Carlos O'Donell,
33830         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33832 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33834         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33836         * sysdeps/unix/sysv/linux/kernel-features.h
33837         [__LINUX_KERNEL_VERSION >= 0x020621]
33838         (__ASSUME_PROC_PID_TASK_COMM): Define.
33840 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33842         [BZ #16398]
33843         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33844         conversion when destination buffer does not have enough space.
33845         * libio/tst-ftell-partial-wide.c: New test case.
33846         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33848         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33849         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33850         Leonard and Allan McRae.
33852 2014-02-04  David S. Miller  <davem@davemloft.net>
33854         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33855         32-bit.
33857 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33860         New file
33861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33862         New file
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33864         New file.
33865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33866         New file.
33867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33868         New file.
33869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33870         New file.
33871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33872         New file.
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33874         New file.
33875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33876         New file.
33877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33878         New file.
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33880         New file.
33881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33882         New file.
33883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33884         New file.
33886 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33888         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33889         * shlib-versions: Likewise.
33891 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33892             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33894         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33895         (abilist-pattern): New variable, set to %-le.abilist.
33897         * Makerules (abilist-pattern): New variable.
33898         (vpath): Use $(abilist-pattern) in place of %.abilist.
33899         (check-abi-% pattern rule): Likewise.
33900         (check-abi, update-abi): Likewise.
33902 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33906 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33908         * manual/startup.texi: Add next, previous, and top entries for
33909         the `Program Arguments' and `Environment Variables' nodes.
33911 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33913         * manual/macros.texi: Add comments before MTASC-safety macros.
33915         * manual/users.texi: Document MTASC-safety properties.
33917         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33918         (pthread_getspecific, pthread_setspecific): Format with
33919         @deftypefun, and add @safety note.
33920         * manual/signal.texi: Move comments that analyze the above
33921         functions to their home place.
33923 2014-02-03  Allan McRae  <allan@archlinux.org>
33925         * po/sl.po: Update Slovenian translation from translation project.
33927 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33929         * manual/time.texi (timegm): Add missing blank after @c.
33930         Reported by Joseph Myers <joseph@codesourcery.com>.
33932 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33934         * manual/check-safety.sh: New.
33935         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33937         * manual/terminal.texi: Document MTASC-safety properties.
33939         * manual/filesys.texi: Document MTASC-safety properties.
33941         * manual/errno.texi: Document MTASC-safety properties.
33943         * manual/intro.texi: Document safety identifiers and
33944         conditionals.
33946         * manual/string.texi (wcstok): Fix prototype.
33947         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33949         * manual/time.texi: Document MTASC-safety properties.
33951         * manual/string.texi: Document MTASC-safety properties.
33953         * manual/threads.texi: Document MTASC-safety properties.
33955         * manual/stdio.texi: Document MTASC-safety properties.
33957         * manual/syslog.texi: Document MTASC-safety properties.
33959         * manual/sysinfo.texi: Document MTASC-safety properties.
33961         * manual/startup.texi: Document MTASC-safety properties.
33963         * manual/socket.texi: Document MTASC-safety properties.
33965         * manual/signal.texi: Document MTASC-safety properties.
33967 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33969         * manual/setjmp.texi: Document MTASC-safety properties.
33971         * manual/search.texi: Document MTASC-safety properties.
33973         * manual/resource.texi: Document MTASC-safety properties.
33975         * manual/process.texi: Document MTASC-safety properties.
33977         * manual/platform.texi: Document MTASC-safety properties.
33979         * manual/pipe.texi: Document MTASC-safety properties.
33981         * manual/pattern.texi: Document MTASC-safety properties.
33983         * manual/message.texi: Document MTASC-safety properties.
33985         [BZ #12751]
33986         * manual/memory.texi: Document MTASC-safety properties.
33988         * manual/math.texi: Document MTASC-safety properties.
33990         * manual/locale.texi: Document MTASC-safety properties.
33992         * manual/llio.texi: Document MTASC-safety properties.
33994         * manual/libdl.texi: New.
33996         * manual/lang.texi: Document MTASC-safety properties.
33998         * manual/job.texi: Document MTASC-safety properties.
34000         * manual/getopt.texi: Document MTASC-safety properties.
34002         * manual/ctype.texi: Document MTASC-safety properties.
34004 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34006         [BZ #16046]
34007         * csu/libc-tls.c (static_map): Remove variable.
34008         (__libc_setup_tls): Use main executable's link map for TLS data.
34009         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34010         casing for LM_ID_BASE and GL(dl_nns).
34011         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34012         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34013         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34014         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34015         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34016         member.
34017         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34018         l_phnum members.
34020 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34022         * manual/debug.texi: Document MTASC-safety properties.
34024 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34026         [BZ #16510]
34027         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34028         of __x86_64__ when disabling x87 inline functions.
34030 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34032         * manual/charset.texi: Document MTASC-safety properties.
34034         * manual/crypt.texi: Document MTASC-safety properties.
34036         * manual/conf.texi: Document MTASC-safety properties.
34038         * manual/arith.texi: Document MTASC-safety properties.
34040         * manual/argp.texi: Document MTASC-safety properties.
34042         * manual/macros.texi: Introduce macros to document multi
34043         thread, asynchronous signal and asynchronous cancellation
34044         safety properties.
34045         * manual/intro.texi: Introduce the properties themselves.
34047 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34049         * sysdeps/sh/sh4/Makefile: New file.
34051 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34053         * math/gen-libm-test.pl ($srcdir): New variable.
34054         ($auto_input): Use it.
34056 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34058         [BZ #16506]
34059         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34060         access beyond array bounds when parsing netgroups file.
34062         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34063         the old buffer before realloc.
34065 2014-01-27  Allan McRae  <allan@archlinux.org>
34067         * po/fr.po: Update French translation from translation project.
34069 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34071         * sysdeps/sh/libm-test-ulps: Regenerate.
34073 2014-01-24  David S. Miller  <davem@davemloft.net>
34075         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34077 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34079         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34080         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34082 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34084         [BZ #16474]
34085         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34086         string pointers after reallocation.
34088 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34090         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34091         __SH4A__ instead of __SH_FPU_ANY__.
34093 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34095         * sysdeps/sh/fpu_control.h: New file.
34096         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34097         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34098         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34099         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34100         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34101         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34102         * sysdeps/sh/sys/ucontext.h: Remove.
34103         * sysdeps/sh/sys: Remove directory.
34105 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34107         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34108         s390/sys/ucontext.h.
34109         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34110         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34112 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34114         [BZ #15605]
34115         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34117 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34119         [BZ#16431]
34120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34121         Adjust the vDSO correctly for internal calls.
34122         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34124 2014-01-20  Allan McRae  <allan@archlinux.org>
34126         * po/ca.po: Update Catalan translation from translation project.
34128 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34130         * sysdeps/s390/sotruss-lib.c: New file.
34132 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34134         [BZ#16430]
34135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34136         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34137         local calls issues by not having a PLT stub required for IFUNC calls.
34138         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34140 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34142         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34143         * math/test-fpucw-static.c: Likewise.
34145 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34147         [BZ #16453]
34148         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34150 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34152         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34153         implementation for powerpc.
34155 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34157         [BZ #14782]
34158         * sysdeps/posix/system.c (__libc_system): Do not enable
34159         asynchronous cancellation.
34161 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34163         [BZ #16427]
34164         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34165         handling only for numbers special also in the IEEE case.
34167 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34169         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34171 2014-01-11  Allan McRae  <allan@archlinux.org>
34173         * po/bg.po: Update Bulgarian translation from translation project.
34175         * po/de.po: Update German translation from translation project.
34177 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34179         * sysdeps/generic/gcc-compat.h: New file.
34181 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34183         * benchtests/asin-inputs: Correct slow inputs.
34184         * benchtests/acos-inputs: Likewise.
34186 2014-01-10  Allan McRae  <allan@archlinux.org>
34188         * po:sv.po: Update Swedish translation from translation project.
34190         * po/vi.po: Update Vietnamese translation from translation project.
34192         * po/eo.po: Update Esperanto translation from translation project.
34194         * po/cs.po: Update Czech translation from translation project.
34196         * po/nl.po: Update Dutch translation from translation project.
34198         * po/pl.po: Update Polish translation from translation project.
34200         * po/ru.po: Update Russian translation from translation project.
34202         * po/uk.po: Update Ukrainian translation from translation project.
34204 2014-01-08  Brooks Moses  <bmoses@google.com>
34206         * elf/dl-load.c: Fix comment typo.
34208 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34210         * po/header.pot: Rename to...
34211         * po/pot.header: ... this.
34212         * po/Makefile: Use pot.header.
34214 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34215             Maxim Kuvyrkov  <maxim@kugelworks.com>
34217         [BZ #16394]
34218         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34219         SRC and DEST against LEN.
34221 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34223         [BZ #16414]
34224         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34225         implementation.
34226         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34228 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34232 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34234         [BZ #16408]
34235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34236         for large positive arguments.
34238 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34240         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34242         * math/auto-libm-test-in: Mark various tests with
34243         xfail-rounding:ldbl-128ibm.
34244         * math/auto-libm-test-out: Regenerated.
34246         [BZ #16407]
34247         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34248         Increase overflow threshold.
34250 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34252         [BZ #14286]
34253         * stdio-common/vfprintf.c: Check for integer overflow.
34255 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34257         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34258         the first argument and return value of __tls_get_addr_internal.
34260 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34262         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34263         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34265 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34267         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34268         * sysdeps/s390/rtld-global-offsets.sym: New file.
34269         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34270         GLIBC_2.19 symbol.
34271         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34272         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34273         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34274         ... this.
34275         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34276         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34277         ... this.
34278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34279         Regenerate.
34280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34281         Regenerate.
34282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34283         halfs of GPRs for high_gprs contexts.
34284         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34285         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34286         field.
34287         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34288         uc_flags field.
34289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34290         64 bit versions:
34291         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34292         for high GPRs (uc_high_gprs) and for future extensions
34293         (__reserved).
34294         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34295         for future extensions (__reserved).
34296         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34297         64 bit versions:
34298         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34299         SC_HIGHGPRS offset definition.
34300         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34301         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34303         * Versions.def: Add GLIBC_2.19 for libpthread.
34304         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34305         siglongjmp for libpthread with GLIBC_2.19 symver.
34306         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34307         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34308         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34309         * sysdeps/s390/__longjmp.c: New file.
34310         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34311         * sysdeps/s390/longjmp.c: New file.
34312         * sysdeps/s390/setjmp.S: New file.
34313         * sysdeps/s390/sigjmp.S: New file.
34314         * sysdeps/s390/v1-longjmp.c: New file.
34315         * sysdeps/s390/v1-setjmp.h: New file.
34316         * sysdeps/s390/v1-sigjmp.c: New file.
34317         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34318         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34319         GLIBC_2.19 version.
34320         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34321         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34322         versioned symbols for ____longjmp_chk.
34323         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34324         Likewise.
34325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34326         Regenerate.
34327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34328         Regenerate.
34329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34330         Regenerate.
34331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34332         Regenerate.
34333         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34334         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34335         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34336         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34337         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34338         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34339         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34340         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34341         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34342         * sysdeps/s390/rtld-__longjmp.c: New file.
34343         * sysdeps/s390/rtld-setjmp.S: New file.
34345 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34347         [BZ #16400]
34348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34349         Return -__logl (x) for small positive arguments without evaluating
34350         a polynomial.
34352 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34354         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34355         Rename to ...
34356         (__ptrace_peeksiginfo_args): ... this.
34357         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34361 2014-01-06  Allan McRae  <allan@archlinux.org>
34363         * inet/netinet/in.h: Fix typo in comment.
34365 2014-01-05  Andreas Jaeger  <aj@suse.de>
34367         * sysdeps/i386/fpu/libm-test-ulps: Update.
34369 2014-01-05  Allan McRae  <allan@archlinux.org>
34371         * po/libc.pot: Regenerated.
34373         * malloc/memusagestat.c: Fix gettext call formatting.
34375 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34377         * nscd/nscd.c: Improve usage() output.
34379 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34381         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34382         * sysdeps/unix/sysv/linux/configure: Regenerated.
34383         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34384         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34386 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34388         [BZ #16390]
34389         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34390         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34392 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34395         extra tokens at end of #undef directive.
34396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34398         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34400 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34404         * math/auto-libm-test-in: Mark various tests with
34405         xfail-rounding:ldbl-128ibm.
34406         * math/auto-libm-test-out: Regenerated.
34408 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #16386]
34411         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34412         numbers with subnormal high part when calculating exponent.
34414         [BZ #16385]
34415         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34416         fabs.
34418         [BZ #16384]
34419         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34420         M_LN2l.
34421         (__ieee754_acoshl): Use __log1pl not __log1p.
34423 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34425         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34426         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34427         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34428         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34429         (reused_arena, arena_get2): Convert to GNU style.
34430         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34431         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34432         (memalign_check, __malloc_set_state): Likewise.
34433         * malloc/mallocbug.c (main): Likewise.
34434         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34435         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34436         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34437         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34438         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34439         (__posix_memalign, malloc_info): Likewise.
34440         * malloc/malloc.h: Likewise.
34441         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34442         (mallochook, memalignhook, reallochook, mabort): Likewise.
34443         * malloc/mcheck.h: Likewise.
34444         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34445         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34446         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34447         * malloc/morecore.c (__default_morecore): Likewise.
34448         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34449         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34450         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34451         (print_and_abort): Likewise.
34452         * malloc/obstack.h: Likewise.
34453         * malloc/set-freeres.c (__libc_freeres): Likewise.
34454         * malloc/tst-mallocstate.c (main): Likewise.
34455         * malloc/tst-mtrace.c (main): Likewise.
34456         * malloc/tst-realloc.c (do_test): Likewise.
34458 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34460         [BZ #16366]
34461         * nscd/netgroupcache.c (do_notfound): New function.
34462         (addgetnetgrentX): Use it.
34464         [BZ # 16365]
34465         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34466         NSS_STATUS_NOTFOUND.
34468 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34470         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34473 2014-01-01  Allan McRae  <allan@archlinux.org>
34475         * scripts/update-copyrights: Update configure input file suffix.
34477         * NEWS: Update copyright year.
34478         * catgets/gencat.c: Likewise.
34479         * csu/version.c: Likewise.
34480         * debug/catchsegv.sh: Likewise.
34481         * debug/pcprofiledump.c: Likewise.
34482         * debug/xtrace.sh: Likewise.
34483         * elf/ldconfig.c: Likewise.
34484         * elf/ldd.bash.in: Likewise.
34485         * elf/pldd.c: Likewise.
34486         * elf/sotruss.ksh: Likewise.
34487         * elf/sprof.c: Likewise.
34488         * iconv/iconv_prog.c: Likewise.
34489         * iconv/iconvconfig.c: Likewise.
34490         * locale/programs/locale.c: Likewise.
34491         * locale/programs/localedef.c: Likewise.
34492         * login/programs/pt_chown.c: Likewise.
34493         * malloc/memusage.sh: Likewise.
34494         * malloc/memusagestat.c: Likewise.
34495         * malloc/mtrace.pl: Likewise.
34496         * manual/libc.texinfo: Likewise.
34497         * nscd/nscd.c: Likewise.
34498         * nss/getent.c: Likewise.
34499         * nss/makedb.c: Likewise.
34500         * posix/getconf.c: Likewise.
34501         * scripts/test-installation.pl: Likewise.
34503         * All files with FSF copyright notices: Update copyright dates
34504         using scripts/update-copyrights.
34505         * intl/plural.c: Regenerated.
34506         * locale/programs/charmap-kw.h: Likewise.
34507         * locale/programs/locfile-kw.h: Likewise.
34509 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34511         * sysdeps/unix/sysv/linux/configure: Regenerated.
34512         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34513         the linux/fanotify.h header.
34514         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34515         HAVE_LINUX_FANOTIFY_H is defined.
34517 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34519         * benchtests/cos-inputs: New inputs.
34520         * benchtests/sin-inputs: Likewise.
34522         * benchtests/atan-inputs: New inputs. Fix name of multiple
34523         precision fallback inputs.
34525         * benchtests/atanh-inputs: New inputs.
34526         * benchtests/tanh-inputs: Likewise.
34528         * benchtests/acosh-inputs: New inputs.
34529         * benchtests/asinh-inputs: Likewise.
34531         * benchtests/cosh-inputs: New inputs.
34532         * benchtests/sinh-inputs: Likewise.
34534         * benchtests/acos-inputs: Add more inputs.
34535         * benchtests/asin-inputs: Likewise.
34537 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34539         [BZ #16375]
34540         * manual/arith.texi: Fix spelling.
34541         * manual/charset.texi: Likewise.
34542         * manual/errno.texi: Likewise.
34543         * manual/filesys.texi: Likewise.
34544         * manual/lang.texi: Likewise.
34545         * manual/llio.texi: Likewise.
34546         * manual/locale.texi: Likewise.
34547         * manual/message.texi: Likewise.
34548         * manual/resource.texi: Likewise.
34549         * manual/search.texi: Likewise.
34550         * manual/setjmp.texi: Likewise.
34551         * manual/stdio.texi: Likewise.
34552         * manual/string.texi: Likewise.
34553         * manual/sysinfo.texi: Likewise.
34554         * manual/time.texi: Likewise.
34556 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34558         * po/sl.po: New file.
34560 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34562         * .gitignore: Add core/.gdbinit/.gdb_history.
34564 2013-12-27  Allan McRae  <allan@archlinux.org>
34566         [BZ #16369]
34567         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34568         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34570 2013-12-24  Brooks Moses  <bmoses@google.com>
34572         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34573         all compilers that claim C++98 compliance, not just GCC.
34574         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34575         Likewise.
34577 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34579         * NEWS: Restore accidentally deleted bug-fix entries.
34581 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34582             Ondřej Bílka  <neleai@seznam.cz>
34584         [BZ #15073]
34585         * malloc/malloc.c (_int_free): Perform sanity check only if we
34586         have_lock.
34588 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34590         [BZ #12986]
34591         * manual/stdio.texi (String Input Conversions): Clarify that character
34592         classes are not supported.
34594 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34598 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34600         [BZ #16337]
34601         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34602         Calculate results for small negative arguments directly rather
34603         than using reflection formula with special underflow handling.
34605         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34606         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34607         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34608         (fchflags): Likewise.
34609         (revoke): Likewise.
34610         (setlogin): Likewise.
34611         (sigaltstack): Likewise.
34612         (wait4): Likewise.
34613         (sigblock): Remove.
34614         (sigsetmask): Likewise.
34615         (wait3): Likewise.
34616         (waitpid): Likewise.
34617         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34618         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34619         file.
34620         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34621         * sysdeps/unix/bsd/Makefile: ... here.
34622         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34623         * sysdeps/unix/bsd/Versions: ... here.
34624         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34625         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34626         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34627         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34628         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34629         * sysdeps/unix/bsd/sigblock.c: ... here.
34630         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34631         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34632         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34633         * sysdeps/unix/bsd/sigvec.c: ... here.
34634         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34635         * sysdeps/unix/bsd/tcdrain.c: ... here.
34636         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34637         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34638         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34639         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34640         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34641         * sysdeps/unix/bsd/wait.c: ... here.
34642         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34643         * sysdeps/unix/bsd/wait3.c: ... here.
34644         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34645         * sysdeps/unix/bsd/waitpid.c: ... here.
34647 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34649         [BZ #16356]
34650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34651         round-to-nearest for [!USE_AS_EXPM1L].
34652         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34653         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34654         more tests of exp and exp10.  Expect some exp10 tests to miss
34655         exceptions or fail in directed rounding modes.
34656         * math/auto-libm-test-out: Regenerated.
34657         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34658         (exp10_test_tonearest): New function.
34659         (exp10_towardzero_test_data): New array.
34660         (exp10_test_towardzero): New function.
34661         (exp10_downward_test_data): New array.
34662         (exp10_test_downward): New function.
34663         (exp10_upward_test_data): New array.
34664         (exp10_test_upward): New function.
34665         (main): Call the new functions.
34666         * sysdeps/i386/fpu/libm-test-ulps: Update.
34667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34669 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34671         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34672         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34673         * math/auto-libm-test-out: Regenerated.
34674         * math/libm-test.inc (acosh_test_data): Add more tests.
34675         (atanh_test_data): Likewise.
34676         (ceil_test_data): Likewise.
34677         (copysign_test_data): Likewise.
34678         * sysdeps/i386/fpu/libm-test-ulps: Update.
34679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34681         * timezone/checktab.awk: Update from tzcode 2013i.
34682         * timezone/private.h: Likewise.
34683         * timezone/scheck.c: Likewise.
34684         * timezone/tzfile.h: Likewise.
34685         * timezone/tzselect.ksh: Likewise.
34686         * timezone/zdump.c: Likewise.
34687         * timezone/zic.c: Likewise.
34689         * math/auto-libm-test-in: Add tests of cpow.
34690         * math/auto-libm-test-out: Regenerated.
34691         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34693         mpc_cc_c.
34694         (func_calc_desc): Add mpc_cc_c union field.
34695         (test_functions): Add cpow.
34696         (special_fill_2pi): New function.
34697         (special_real_inputs): Add 2pi.
34698         (calc_generic_results): Handle mpc_cc_c.
34699         * sysdeps/i386/fpu/libm-test-ulps: Update.
34700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34702         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34703         csqrt, ctan and ctanh.
34704         * math/auto-libm-test-out: Regenerated.
34705         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34706         (TEST_COND_x86): Likewise.
34707         (ccos_test_data): Use AUTO_TESTS_c_c.
34708         (ccosh_test_data): Likewise.
34709         (cexp_test_data): Likewise.
34710         (clog_test_data): Likewise.
34711         (csqrt_test_data): Likewise.
34712         (ctan_test_data): Likewise.
34713         (ctan_tonearest_test_data): Likewise.
34714         (ctan_towardzero_test_data): Likewise.
34715         (ctan_downward_test_data): Likewise.
34716         (ctan_upward_test_data): Likewise.
34717         (ctanh_test_data): Likewise.
34718         (ctanh_tonearest_test_data): Likewise.
34719         (ctanh_towardzero_test_data): Likewise.
34720         (ctanh_downward_test_data): Likewise.
34721         (ctanh_upward_test_data): Likewise.
34722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34723         mpc_c_c.
34724         (func_calc_desc): Add mpc_c_c union field.
34725         (FUNC_mpc_c_c): New macro.
34726         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34727         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34728         ctanh.
34729         (special_fill_min_subnorm_p120): New function.
34730         (special_real_inputs): Add min_subnorm_p120.
34731         (calc_generic_results): Handle mpc_c_c.
34732         * sysdeps/i386/fpu/libm-test-ulps: Update.
34733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34735 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34737         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34738         (do_sin_slow): New functions.
34739         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34740         (cslow2, csloww1, csloww2): Use the new functions.
34742         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34743         Use M to change sign of result instead of X.  Assume X is
34744         positive.
34745         (csloww1): Likewise.
34746         (__sin): Adjust.
34747         (__cos): Adjust.
34749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34750         arguments A and DA.
34751         (__sin): Adjust.
34752         (__cos): Likewise.
34754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34755         (__cos): Likewise.
34756         (sloww1): Don't adjust sign of DX.
34757         (csloww1): Likewise.
34758         (sloww2): Use X directly and don't adjust sign of DX.
34759         (csloww2): Likewise.
34761 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34763         * math/auto-libm-test-in: Add tests of cabs and carg.
34764         * math/auto-libm-test-out: Regenerated.
34765         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34766         (carg_test_data): Likewise.
34767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34768         mpc_c_f.
34769         (func_calc_desc): Add mpc_c_f union field.
34770         (test_functions): Add cabs and carg.
34771         (calc_generic_results): Handle mpc_c_f.
34773         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34774         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34775         as a macro and a compat symbol.
34776         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34777         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34778         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34779         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34780         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34782         not use .hidden.
34783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34784         Likewise.
34785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34786         Likewise.
34787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34788         Likewise.
34789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34790         Likewise.
34791         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34792         Likewise.
34793         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34794         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34795         from GLIBC_2.3.2.
34797 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34801 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34803         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34804         trailing whitespace removed.
34805         * scripts/config.guess: Update to version 2013-11-29.
34806         * scripts/config.sub: Update to version 2013-10-01.
34808         * math/auto-libm-test-in: Add tests of sincos.
34809         * math/auto-libm-test-out: Regenerated.
34810         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34812         mpfr_f_11.
34813         (func_calc_desc): Add mpfr_f_11 union field.
34814         (test_functions): Add sincos.
34815         (calc_generic_results): Handle mpfr_f_11.
34816         * sysdeps/i386/fpu/libm-test-ulps: Update.
34817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34819 2013-12-19  Andreas Schwab  <schwab@suse.de>
34821         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34822         CALL_MCOUNT.
34823         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34824         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34825         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34827 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34829         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34830         * sysdeps/i386/fpu/libm-test-ulps: Update.
34831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34833         [BZ #16293]
34834         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34835         round-to-nearest mode when using frndint.
34836         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34837         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34839         Likewise.
34840         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34841         sinh test to fail.
34842         * math/auto-libm-test-out: Regenerated.
34843         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34844         (TEST_COND_x86): Likewise.
34845         (expm1_tonearest_test_data): New array.
34846         (expm1_test_tonearest): New function.
34847         (expm1_towardzero_test_data): New array.
34848         (expm1_test_towardzero): New function.
34849         (expm1_downward_test_data): New array.
34850         (expm1_test_downward): New function.
34851         (expm1_upward_test_data): New array.
34852         (expm1_test_upward): New function.
34853         (main): Run the new test functions.
34854         * sysdeps/i386/fpu/libm-test-ulps: Update.
34855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34857         * include/features.h: Update comment documenting feature test
34858         macros.  Mention _DEFAULT_SOURCE in comment.
34859         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34860         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34861         _BSD_SOURCE and _SVID_SOURCE.
34862         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34863         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34864         !_SVID_SOURCE]: Likewise.
34865         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34866         (__USE_POSIX_IMPLICITLY): Define.
34867         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34868         (_POSIX_SOURCE): Undefine and redefine.
34869         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34870         (_POSIX_C_SOURCE): Likewise.
34871         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34872         (Feature Test Macros): Update documentation of default features.
34874 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34876         * benchtests/Makefile: Add bench-strtok.
34877         * benchtests/bench-strtok.c: New file: strtok benchtest.
34879 2013-12-19  Allan McRae  <allan@archlinux.org>
34881         * manual/install.texi: Suppress menu for plain text output.
34882         * INSTALL: Regenerated.
34884 2013-12-18  Brooks Moses  <bmoses@google.com>
34886         [BZ #15846]
34887         * misc/getauxval.c: Include errno.h.
34888         (__getauxval): Set errno to ENOENT if the requested type is not
34889         found.
34890         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34891         don't declare with __attribute_const__.
34892         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34893         * manual/startup.texi: Document that getauxval sets errno.
34895 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34897         * math/auto-libm-test-in: Add tests of jn and yn.
34898         * math/auto-libm-test-out: Regenerated.
34899         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34900         (yn_test_data): Likewise.
34901         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34902         mpfr_if_f.
34903         (func_calc_desc): Add mpfr_if_f union field.
34904         (FUNC_mpfr_if_f): New macro.
34905         (test_functions): Add jn and yn.
34906         (calc_generic_results): Assert type of second input for
34907         mpfr_ff_f.  Handle mpfr_if_f.
34908         (output_for_one_input_case): Disable all checking for arguments
34909         fitting floating-point types in case of an integer argument.
34910         * sysdeps/i386/fpu/libm-test-ulps: Update.
34911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34914         Don't expect fegetround reference in libm.so.
34916 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34918         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34919         $(config-cflags-nofma).
34921 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34923         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34924         * math/auto-libm-test-out: Regenerated.
34926         [BZ #16338]
34927         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34928         to determine exponent and adjust argument to have exponent of -1.
34929         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34930         log2.
34931         * math/auto-libm-test-out: Regenerated.
34932         * sysdeps/i386/fpu/libm-test-ulps: Update.
34933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34937         * manual/probes.texi: Remove cases when per-thread arenas are
34938         disabled.
34940 2013-12-18  Andreas Schwab  <schwab@suse.de>
34942         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34943         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34944         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34945         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34946         * sysdeps/i386/i686/multiarch/Makefile: Update.
34947         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34949 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34951         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34952         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34954 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34956         [BZ #15968]
34957         Support TZ transition times < 00:00:00.
34958         This is needed for version-3 tz-format files; it supports time
34959         stamps past 2037 for America/Godthab (the only entry in the tz
34960         database for which this change is relevant).
34961         * manual/time.texi (TZ Variable): Document transition times
34962         from -167:59:59 through -00:00:01.
34963         * time/tzset.c (tz_rule): Time of day is now signed.
34964         (__tzset_parse_tz): Parse negative time of day.
34966         Document TZ transition times >= 25:00:00.
34967         * manual/time.texi (TZ Variable): Document transition times from
34968         25:00:00 through 167:59:59.  These are already supported, and this
34969         support will help with version-3 tz-format files.
34971         * manual/time.texi (TZ Variable): Modernize North America example
34972         to reflect current (i.e., 2007-and-later) daylight saving rules.
34974         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34976 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34978         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34979         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34982         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34983         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34984         * sysdeps/unix/bsd/clock.c: Likewise.
34985         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34986         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34987         * sysdeps/unix/bsd/init-posix.c: Likewise.
34988         * sysdeps/unix/bsd/poll.c: Likewise.
34989         * sysdeps/unix/bsd/ptsname.c: Likewise.
34990         * sysdeps/unix/bsd/seekdir.c: Likewise.
34991         * sysdeps/unix/bsd/setegid.c: Likewise.
34992         * sysdeps/unix/bsd/seteuid.c: Likewise.
34993         * sysdeps/unix/bsd/setgid.c: Likewise.
34994         * sysdeps/unix/bsd/setrgid.c: Likewise.
34995         * sysdeps/unix/bsd/setruid.c: Likewise.
34996         * sysdeps/unix/bsd/setsid.c: Likewise.
34997         * sysdeps/unix/bsd/setuid.c: Likewise.
34998         * sysdeps/unix/bsd/sigaction.c: Likewise.
34999         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35000         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35001         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35002         * sysdeps/unix/bsd/telldir.c: Likewise.
35003         * sysdeps/unix/bsd/times.c: Likewise.
35004         * sysdeps/unix/bsd/usleep.c: Likewise.
35006         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35007         ($(objpfx)libbsd-compat.a): Remove rule.
35009         * include/features.h (__FAVOR_BSD): Do not define.
35010         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35011         features conflicting with POSIX.
35012         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35013         (_BSD_SOURCE): Remove description of not being a subset of other
35014         feature test macros.
35015         * manual/job.texi (getpgrp): Do not document BSD version.
35016         (getpgid): Do not document by reference to BSD getpgrp.
35017         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35018         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35019         * signal/signal.h [__FAVOR_BSD]: Likewise.
35020         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35021         instead of making contents conditional on [__FAVOR_BSD].
35022         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35024 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35028 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35030         [BZ #16314]
35031         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35032         values below 2**-450, not 2**-500.
35033         * math/auto-libm-test-in: Don't allow spurious underflow from
35034         hypot.
35035         * math/auto-libm-test-out: Regenerated.
35037         [BZ #16316]
35038         [BZ #16330]
35039         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35040         values of ha and hb and sort them after adjusting subnormal
35041         arguments.
35042         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35043         Likewise.
35044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35045         values of ea and eb and sort them after adjusting subnormal
35046         arguments.
35047         * math/auto-libm-test-in: Do not expect some hypot tests of
35048         subnormals to fail.  Add more hypot tests.
35049         * math/auto-libm-test-out: Regenerated.
35051 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35053         [BZ #13304]
35054         * sysdeps/sh/s_fma.c: New file.
35055         * sysdeps/sh/s_fmaf.c: New file.
35056         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35057         version.
35058         * sysdeps/sh/Implies: Add sh/soft-fp.
35060 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35062         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35063         level of indirection to members `objname', `errstring', `malloced'.
35064         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35065         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35066         it as the __longjmp argument (just pass 1 instead).
35067         (_dl_catch_error): Initialize C with argument pointers and address of
35068         volatile local ERRCODE rather than copying values out of C at return.
35070 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35072         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35073         * math/auto-libm-test-out: Regenerated.
35074         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35075         (hypot_test_data): Likewise.
35076         (pow_test_data): Likewise.
35077         (pow_tonearest_test_data): Likewise.
35078         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35079         mpfr_ff_f.
35080         (func_calc_desc): Add mpfr_ff_f union field.
35081         (FUNC_mpfr_ff_f): New macro.
35082         (test_functions): Add atan2, hypot and pow.
35083         (special_fill_min): New function.
35084         (special_fill_minus_min): Likewise.
35085         (special_fill_min_subnorm): Likewise.
35086         (special_fill_minus_min_subnorm): Likewise.
35087         (special_real_inputs): Add min, -min, min_subnorm and
35088         -min_subnorm.
35089         (calc_generic_results): Handle mpfr_ff_f.
35090         * sysdeps/i386/fpu/libm-test-ulps: Update.
35091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35093 2013-12-16  Will Newton  <will.newton@linaro.org>
35095         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35096         (Aligned Memory Blocks): Add documentation for aligned_alloc
35097         and suggest it as an alternative to posix_memalign.
35098         (Hooks for Malloc): Document __memalign_hook is also called
35099         for aligned_alloc.  (Summary of Malloc): Add summary for
35100         aligned alloc.  Document __memalign_hook is also called
35101         for aligned_alloc.
35103 2013-12-16  Will Newton  <will.newton@linaro.org>
35105         * manual/memory.texi (Malloc Examples): Clarify default
35106         alignment documentation.  Suggest posix_memalign rather
35107         than memalign or valloc.
35108         (Aligned Memory Blocks): Remove suggestion to use memalign
35109         or valloc.  Remove obsolete comment about BSD.
35110         Document memalign errno values and mark the function obsolete.
35111         Document posix_memalign returned error codes.  Mark valloc
35112         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35113         called for posix_memalign and valloc.
35114         (Summary of Malloc): Add posix_memalign to function summary.
35115         __memalign_hook is also called for posix_memalign and valloc.
35117 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35119         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35120         TAYLOR_SIN.
35121         (__sin): Adjust.
35122         (__cos): Likewise.
35123         (sloww): Use mynumber union.  Expand ternary operator into
35124         if-else statements.
35125         (cslow): use mynumber union.
35127 2013-12-16  Allan McRae  <allan@archlinux.org>
35129         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35130         * configure: Regenerated.
35132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35134         [BZ #14120]
35135         * configure.ac: Added --enable-maintainer-mode. Check for
35136         autoconf when enabled.
35137         * configure: Regenerated.
35139         * nscd/nscd.service: New file.
35140         * nscd/nscd.tmpfiles: New file.
35142 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35144         [BZ #12100]
35145         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35146         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35147         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35148         (strstr): Add __strstr_sse2_unaligned ifunc.
35149         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35150         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35151         (strcasestr): Remove __strcasestr_sse42 ifunc.
35152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35156 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35158         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35159         * sysdeps/sh/bits/fenv.h: ... here.
35160         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35162 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35164         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35167         hypotf multiarch implementations.
35168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35171         multiarch hypot for PPC64.
35172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35175         multiarch hypotf for PPC64.
35177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35178         modff multiarch implementations.
35179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35182         multiarch modf for PPC64.
35183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35186         multiarch modff for PPC64.
35188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35189         and logl multiarch implementations.
35190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35193         multiarch logb for PPC64.
35194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35197         multiarch logb for PPC64.
35198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35201         multiarch logb for PPC64.
35203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35204         isinff multiarch implementation.
35205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35206         file.
35207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35209         multiarch isinf for PPC64.
35210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35211         file.
35212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35213         multiarch isinff for PPC64.
35215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35216         finitef multiarch implementation.
35217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35218         file.
35219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35221         multiarch finite for PPC64.
35222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35223         file.
35224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35225         multiarch finitef for PPC64.
35227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35228         lrint multiarch implementation.
35229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35230         file.
35231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35233         multiarch llrint for PPC64.
35234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35235         multiarch lrint for PPC64.
35237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35238         copysignf multiarch implementation.
35239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35240         file.
35241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35242         file.
35243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35244         multiarch copysign for PPC64.
35245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35246         multiarch copysignf for PPC64.
35248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35249         multiarch implementation.
35250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35251         file.
35252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35253         file.
35254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35255         file.
35256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35257         file.
35258         multiarch llround for PPC64.
35259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35260         multiarch trunc for PPC64.
35261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35262         multiarch truncf for PPC64.
35264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35265         multiarch implementation.
35266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35267         file.
35268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35269         file.
35270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35271         file.
35272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35273         file.
35274         multiarch llround for PPC64.
35275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35276         multiarch round for PPC64.
35277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35278         multiarch roundf for PPC64.
35280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35281         multiarch implementation.
35282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35283         file.
35284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35285         file.
35286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35287         file.
35288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35289         file.
35290         multiarch llround for PPC64.
35291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35292         multiarch floor for PPC64.
35293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35294         multiarch floorf for PPC64.
35296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35297         multiarch implementation.
35298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35299         file.
35300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35301         file.
35302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35303         file.
35304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35305         file.
35306         multiarch llround for PPC64.
35307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35308         multiarch ceil for PPC64.
35309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35310         multiarch ceilf for PPC64.
35312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35313         multiarch implementation.
35314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35315         file.
35316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35317         file.
35318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35319         file.
35320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35321         multiarch llround for PPC64.
35322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35323         multiarch lround for PPC64.
35325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35326         multiarch implementation.
35327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35330         file.
35331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35334         multiarch isnan for PPC64.
35335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35336         multiarch isnanf for PPC64.
35338         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35339         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35340         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35341         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35342         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35345         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35346         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35347         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35351         multiarch implementations.
35352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35353         (__libc_ifunc_impl_list): Likewise.
35354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35357         multiarch stpcpy for PPC64.
35359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35360         multiarch implementations.
35361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35362         (__libc_ifunc_impl_list): Likewise.
35363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35365         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35366         multiarch strcpy for PPC64.
35368         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35369         redefine function name.
35370         (_wordcopy_fwd_dest_aligned): Likewise.
35371         (_wordcopy_bwd_aligned): Likewise.
35372         (_wordcopy_bwd_dest_aligned): Likewise.
35373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35374         multiarch implementations.
35375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35376         (__libc_ifunc_impl_list): Likewise.
35377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35381         multiarch wcscpy for PPC64.
35383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35384         multiarch implementations.
35385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35386         (__libc_ifunc_impl_list): Likewise.
35387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35389         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35391         multiarch wcscpy for PPC64.
35393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35394         multiarch implementations.
35395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35396         (__libc_ifunc_impl_list): Likewise.
35397         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35398         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35399         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35400         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35401         multiarch wcsrchr for PPC64.
35403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35404         multiarch implementations.
35405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35406         (__libc_ifunc_impl_list): Likewise.
35407         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35408         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35409         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35410         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35411         multiarch wcschr for PPC64.
35413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35414         multiarch implementations.
35415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35416         (__libc_ifunc_impl_list): Likewise.
35417         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35418         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35419         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35420         multiarch strchrnul for PPC64.
35422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35423         implementations.
35424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35425         (__libc_ifunc_impl_list): Likewise.
35426         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35427         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35428         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35429         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35430         strchr for PPC64.
35432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35433         implementations.
35434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35435         (__libc_ifunc_impl_list): Likewise.
35436         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35437         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35438         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35439         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35440         strncmp for PPC64.
35442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35443         multiarch implementations.
35444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35445         (__libc_ifunc_impl_list): Likewise.
35446         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35447         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35448         strncasecmp for PPC64.
35449         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35450         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35451         multiarch strncasecmp_l for PPC64.
35453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35454         multiarch implementations.
35455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35456         (__libc_ifunc_impl_list): Likewise.
35457         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35459         multiarch strcasecmp for PPC64.
35460         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35461         file.
35462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35463         multiarch strcasecmp_l for PPC64.
35465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35466         implementations.
35467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35468         (__libc_ifunc_impl_list): Likewise.
35469         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35470         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35471         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35472         strnlen for PPC64.
35474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35475         implementations.
35476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35477         (__libc_ifunc_impl_list): Likewise.
35478         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35479         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35480         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35481         strlen for PPC64.
35483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35484         implementations.
35485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35486         (__libc_ifunc_impl_list): Likewise.
35487         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35488         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35489         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35490         rawmemrchr for PPC64.
35492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35493         implementation.
35494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35495         (__libc_ifunc_impl_list): Likewise.
35496         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35497         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35498         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35499         memrchr for PPC64.
35501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35502         implementation.
35503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35504         (__libc_ifunc_impl_list): Likewise.
35505         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35506         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35507         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35508         memchr for PPC64.
35510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35511         implementation.
35512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35513         (__libc_ifunc_impl_list): Likewise.
35514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35515         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35516         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35517         mempcpy for PPC64.
35519         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35520         avoid cretion of __bzero symbol.
35521         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35522         Likewise.
35523         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35524         Likewise.
35525         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35526         Likewise.
35527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35528         multiarch implementations.
35529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35530         (__libc_ifunc_impl_list): Likewise.
35531         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35534         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35535         bzero for PPC32.
35536         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35537         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35538         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35539         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35540         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35541         memset for PPC64.
35542         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35544         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35546         implementations.
35547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35548         (__libc_ifunc_impl_list): Likewise.
35549         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35550         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35552         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35553         memcmp for PPC64.
35555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35556         multiarch for POWER/PPC64.
35557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35558         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35565         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35566         memcpy for PPC64.
35568         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35569         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35570         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35571         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35572         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35573         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35574         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35575         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35576         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35577         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35578         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35579         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35580         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35581         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35582         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35591 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35593         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35595 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35597         * benchtests/Makefile (bench): Add exp2 and log2.
35598         (LDLIBS-bench-exp2): Add -lm.
35599         (LDLIBS-bench-log2): Likewise.
35600         * benchtests/exp2-inputs: New inputs file.
35601         * benchtests/log2-inputs: New inputs file.
35602         * benchtests/log-inputs: Add new inputs.
35603         * benchtests/tan-inputs: Likewise.
35605 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35607         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35608         definition...
35609         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35610         (csloww2): ... from here.
35612         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35613         instead of structures.
35614         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35615         (POLYNOMIAL): Likewise.
35616         (TAYLOR_SLOW): Likewise.
35617         (__sin): Likewise.
35618         (__cos): Likewise.
35619         (slow1): Likewise.
35620         (slow2): Likewise.
35621         (sloww): Likewise.
35622         (sloww1); Likewise.
35623         (sloww2): Likewise.
35624         (bsloww1): Likewise.
35625         (bsloww2): Likewise.
35626         (cslow2): Likewise.
35627         (csloww): Likewise.
35628         (csloww1): Likewise.
35629         (csloww2): Likewise.
35631 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35633         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35634         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35635         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35636         * malloc/hooks.c (realloc_check): Likewise.
35638         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35639         * malloc/arena.c: Remove PER_THREAD conditional.
35640         [!PER_THREAD]: Remove code.
35641         (ptmalloc_unlock_all2): Likewise.
35642         (ptmalloc_init): Likewise.
35643         (_int_new_arena): Likewise.
35644         (arena_get2): Likewise.
35645         * malloc/hooks.c (__malloc_get_state): Likewise.
35646         (__malloc_set_state): Likewise.
35647         * malloc/malloc.c: Likewise.
35648         (struct malloc_state): Likewise.
35649         (struct malloc_par): Likewise.
35650         (__libc_realloc): Likewise.
35651         (__libc_mallopt): Likewise.
35653 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35655         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35657 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35659         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35660         macro to a function.  Check for zero perturb_byte.
35661         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35663         * malloc/malloc.c: (force_reg): Remove.
35664         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35665         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35666         force_reg by atomic_forced_read.
35667         * malloc/arena.c (ptmalloc_init): Likewise.
35668         * malloc/hooks.c (top_check): Likewise.
35670 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35674 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35678 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35680         * math/auto-libm-test-in: Add tests of lgamma.
35681         * math/auto-libm-test-out: Regenerated.
35682         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35683         (M_LOG_2_SQRT_PIl): Likewise.
35684         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35686         mpfr_f_f1.
35687         (func_calc_desc): Add mpfr_f_f1 union field.
35688         (ARGS1): New macro.
35689         (ARGS2): Likewise.
35690         (ARGS3): Likewise.
35691         (ARGS4): Likewise.
35692         (RET1): Likewise.
35693         (RET2): Likewise.
35694         (CALC): Likewise.
35695         (FUNC): Likewise.
35696         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35697         (test_functions): Add lgamma.
35698         (calc_generic_results): Handle mpfr_f_f1.
35699         * sysdeps/i386/fpu/libm-test-ulps: Update.
35700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35704         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35705         __mpn_add_n for PowerPC64/POWER7.
35706         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35707         __mpn_sub_n for PowerPC64/POWER7.
35709         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35710         __mpn_addmul_1 for PowerPC64.
35711         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35712         __mpn_submul_1 for PowerPC64.
35713         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35714         for PowerPC64.
35715         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35716         for PowerPC64.
35718 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35720         [BZ #15089]
35721         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35723 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35725         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35727         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35728         add multiarch folders.
35729         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35730         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35731         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35732         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35733         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35734         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35735         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35736         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35737         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35738         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35739         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35748         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35750         New file.
35751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35752         New file.
35753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35754         multiarch __ieee754_hypot for PowerPC32.
35755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35756         New file.
35757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35758         New file.
35759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35760         multiarch __ieee754_hypotf for PowerPC32.
35762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35763         long_double_symbol only if __logbl is defined.
35764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35765         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35767         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35769         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35770         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35771         path for implementation.
35772         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35775         logb, and logbl multiarch implementations for PowerPC32.
35776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35777         file.
35778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35779         file.
35780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35781         multiarch logb for PowerPC32.
35782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35783         file.
35784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35785         file.
35786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35787         multiarch logbf for PowerPC32.
35788         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35790         file.
35791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35792         multiarch logbl implementation for PowerPC32.
35794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35795         and modff multiarch implementations.
35796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35797         New file.
35798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35799         New file.
35800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35801         multiarch modf for PowerPC32.
35802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35803         New file.
35804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35805         New file.
35806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35807         multiarch modff for PowerPC32.
35809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35810         and lrintf multiarch implementations.
35811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35812         New file.
35813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35814         New file.
35815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35816         multiarch lrint for PowerPC32.
35817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35818         file: multiarch lrintf for PowerPC32.
35820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35821         and lroundf multiarch implementations.
35822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35823         New file.
35824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35825         New file.
35826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35827         New file.
35828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35829         multiarch lround for PowerPC32.
35830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35831         file: multiarch lroundf for PowerPC32.
35833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35834         copysign and copysignf multiarch implementations.
35835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35836         New file.
35837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35838         New file.
35839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35840         file: multiarch copysign for PowerPC32.
35841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35842         file: multiarch copysignf for PowerPC32.
35844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35845         and truncf multiarch implementations.
35846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35847         New file.
35848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35849         file.
35850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35851         multiarch trunc for PowerPC32.
35852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35853         New file.
35854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35855         New file.
35856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35857         multiarch truncf for PowerPC32.
35859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35860         and roundf multiarch implementations.
35861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35862         New file.
35863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35864         file.
35865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35866         multiarch round for PowerPC32.
35867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35868         New file.
35869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35870         New file.
35871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35872         multiarch roundf for PowerPC32.
35874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35875         and floorf multiarch implementations.
35876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35877         New file.
35878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35879         file.
35880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35881         multiarch floor for PowerPC32.
35882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35883         New file.
35884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35885         New file.
35886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35887         multiarch floorf for PowerPC32.
35889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35890         and ceilf multiarch implementations.
35891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35892         New file.
35893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35894         file.
35895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35896         multiarch ceil for PowerPC32.
35897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35898         New file.
35899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35900         file.
35901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35902         multiarch ceilf for PowerPC32.
35904         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35905         is defined.
35906         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35907         FINITEF is defined.
35908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35909         and finitef multiarch implementations.
35910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35911         New file.
35912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35913         file.
35914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35915         multiarch finite for PowerPC32.
35916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35917         New file.
35918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35919         file: multiarch finitef for PowerPC32.
35921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35922         and isinff multiarch implementations.
35923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35924         file.
35925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35926         file.
35927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35928         multiarch isinf for PowerPC32.
35929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35930         New file.
35931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35932         multiarch isinff for PowerPC32.
35934         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35935         alias when __isnan is defined.
35936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35937         and isnanf multiarch implementations.
35938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35939         file.
35940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35941         file.
35942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35943         file.
35944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35945         file.
35946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35947         multiarch isnan for PowerPC32.
35948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35949         New file.
35950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35951         New file.
35952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35953         multiarch isnanf for PowerPC32.
35955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35956         and sqrtf multiarch implementations.
35957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35958         file.
35959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35960         file.
35961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35962         multiarch sqrt for PowerPC32.
35963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35964         file.
35965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35966         file.
35967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35968         multiarch sqrtf for PowerPC32.
35970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35971         and llroundf multiarch implementations.
35972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35973         New file.
35974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35975         New file.
35976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35977         New file.
35978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35979         file: multiarch llround for PowerPC32.
35980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35981         file: multiarch llroundf for PowerPC32.
35983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35984         multiarch PowerPC32 fpu implementations.
35985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35986         New file.
35987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35988         New file.
35989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35990         multiarch llrint for PowerPC32.
35991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35992         New file.
35993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35994         New file.
35995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35996         file.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36001         file.
36002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36003         file.
36004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36005         file.
36006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36007         multiarch wordcopy for PPC32.
36008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36009         wordcopy objects.
36010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36011         (__libc_ifunc_impl_list): Likewise.
36012         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36013         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36014         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36015         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36017         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36019         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36021         file.
36022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36023         file.
36024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36025         file.
36026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36027         multiarch wcscpy for PPC32.
36028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36029         multiarch objects.
36030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36031         (__libc_ifunc_impl_list): Likewise.
36032         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36033         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36034         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36035         sysdeps/powerpc/power6/wcscpy.c.
36037         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36039         file.
36040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36041         file.
36042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36043         file.
36044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36045         multiarch wcsrchr for PPC32.
36046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36047         multiarch objects.
36048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36049         (__libc_ifunc_impl_list): Likewise.
36050         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36051         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36052         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36053         sysdeps/powerpc/power6/wcsrchr.c.
36055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36056         file.
36057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36058         file.
36059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36061         multiarch wcschr for PPc32.
36062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36063         multiarch objects.
36064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36065         (__libc_ifunc_impl_list): Likewise.
36066         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36067         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36068         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36069         sysdeps/powerpc/power6/wcschr.c.
36071         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36073         file.
36074         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36075         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36076         file: multiarch strchr for PPC32.
36077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36078         multiarch objects.
36079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36080         (__libc_ifunc_impl_list): Likewise.
36082         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36083         name.
36084         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36085         file.
36086         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36087         file.
36088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36089         multiarch strchrnul for PPC32.
36090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36091         multiarch objects.
36092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36093         (__libc_ifunc_impl_list): Likewise.
36095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36096         file.
36097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36098         multiarch strncasecmp for PPC32.
36099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36100         file.
36101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36102         multiarch strncasecmp_l for PPC32.
36103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36104         strncasecmp multiarch objects.
36105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36106         (__libc_ifunc_impl_list): Likewise.
36108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36109         file.
36110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36111         multiarch strncasecmp for PPC32.
36112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36113         New file.
36114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36115         multiarch strcasecmp_l for PPC32.
36116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36117         multiarch objects.
36118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36119         (__libc_ifunc_impl_list): Likewise.
36121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36122         file.
36123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36124         file.
36125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36126         multiarch strncmp for PPC32.
36127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36128         multiarch objects.
36129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36130         (__libc_ifunc_impl_list): Likewise.
36132         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36133         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36134         file.
36135         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36136         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36138         multiarch objects.
36139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36140         (__libc_ifunc_impl_list): Likewise.
36142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36143         file.
36144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36145         file.
36146         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36148         multiarch objects.
36149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36150         (__libc_ifunc_impl_list): Likewise.
36152         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36153         file.
36154         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36155         file.
36156         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36157         multiarch rawmemchr for PPC32.
36158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36159         multiarch objects.
36160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36161         (__libc_ifunc_impl_list): Likewise.
36163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36164         file.
36165         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36166         file.
36167         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36168         file: memrchr multiarch for PPC32.
36169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36170         multiarch objects.
36171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36172         (__libc_ifunc_impl_list): Likewise.
36174         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36176         file.
36177         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36178         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36179         multiarch memchr for PPC32.
36180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36181         multiarch objects.
36182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36183         (__libc_ifunc_impl_list): Likewise.
36185         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36186         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36187         file.
36188         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36189         file.
36190         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36191         file: multiarch mempcpy for PPC32.
36192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36193         multiarch objects.
36194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36195         (__libc_ifunc_impl_list): Likewise.
36197         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36199         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36200         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36201         multiarch bzero for PPC32.
36202         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36203         file.
36204         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36205         file.
36206         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36207         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36208         file: multiarch memset for PPC32.
36209         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36211         memset multiarch objects.
36212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36213         (__libc_ifunc_impl_list): Likewise.
36215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36216         file.
36217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36219         memcmp for PPC32.
36220         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36222         multiarch objects.
36223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36224         (__libc_ifunc_impl_list): Likewise.
36226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36229         file.
36230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36231         file.
36232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36233         file.
36234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36235         multiarch memcpy for PPC32.
36236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36237         multiarch objects.
36238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36239         (__libc_ifunc_impl_list): Likewise.
36241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36242         support multiarch for POWER/PPC32.
36243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36244         Likewise.
36245         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36247         Implies file to make multiarch folder appers before the fpu and
36248         default folder for power4 configuration.
36250 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36252         * scripts/bench.pl: Append volatile keyword to type.
36254 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36256         * sysdeps/sh/sotruss-lib.c: New file.
36257         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36259 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36263 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #6810]
36266         * math/w_tgamma.c: Include <errno.h>.
36267         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36268         * math/w_tgammaf.c: Include <errno.h>.
36269         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36270         * math/w_tgammal.c: Include <errno.h>.
36271         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36272         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36273         underflow.  Add more tgamma tests.
36274         * math/auto-libm-test-out: Regenerated.
36275         * sysdeps/i386/fpu/libm-test-ulps: Update.
36276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36278         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36279         sin, sinh, tan, tanh, tgamma, y0 and y1.
36280         * math/auto-libm-test-out: Regenerated.
36281         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36282         (TEST_COND_x86): Likewise.
36283         (M_E2l): Remove macro.
36284         (M_E3l): Likewise.
36285         (M_2_SQRT_PIl): Likewise.
36286         (M_SQRT_PIl): Likewise.
36287         (M_1_DIV_El): Likewise.
36288         (log_test_data): Use AUTO_TESTS_f_f.
36289         (log10_test_data): Likewise.
36290         (log1p_test_data): Likewise.
36291         (log2_test_data): Likewise.
36292         (sin_test_data): Likewise.
36293         (sin_tonearest_test_data): Likewise.
36294         (sin_towardzero_test_data): Likewise.
36295         (sin_downward_test_data): Likewise.
36296         (sin_upward_test_data): Likewise.
36297         (sinh_test_data): Likewise.
36298         (sinh_tonearest_test_data): Likewise.
36299         (sinh_towardzero_test_data): Likewise.
36300         (sinh_downward_test_data): Likewise.
36301         (sinh_upward_test_data): Likewise.
36302         (tan_test_data): Likewise.
36303         (tan_tonearest_test_data): Likewise.
36304         (tan_towardzero_test_data): Likewise.
36305         (tan_downward_test_data): Likewise.
36306         (tan_upward_test_data): Likewise.
36307         (tanh_test_data): Likewise.
36308         (tgamma_test_data): Likewise.
36309         (y0_test_data): Likewise.
36310         (y1_test_data): Likewise.
36311         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36312         (special_real_inputs): Add pi/4.
36313         * sysdeps/i386/fpu/libm-test-ulps: Update.
36314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36316 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36318         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36319         "longjmp_target" static probes.
36320         (__longjmp): Rename to __longjmp_symbol.
36321         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36322         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36323         on which longjmp to generate.
36324         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36325         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36326         probe.
36327         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36328         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36329         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36330         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36331         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36332         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36334         __longjmp_symbol based on which __longjmp to generate.
36335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36336         probe.
36337         (setjmp): Rename to setjmp_symbol.
36338         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36339         (_setjmp): Rename to _setjmp_symbol.
36340         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36341         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36342         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36343         which setjmp to generate.
36344         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36345         "longjmp_target" static probes.
36347 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36349         * benchtests/README: Add note about output arguments.
36350         * benchtests/bench-sincos.c: Remove file.
36351         * benchtests/sincos-inputs: New file.
36352         * scripts/bench.pl: Identify output arguments and define
36353         static variables for them.
36355         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36357         [BZ #15941]
36358         * Makefile (INSTALL): Add install-plain.texi as the primary
36359         dependency.
36360         * manual/install-plain.texi: New file.
36361         * manual/install.texi: Include node directive only for
36362         non-plaintext output.
36364 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36366         * stdlib/longlong.h: Update from GCC.
36368         [BZ #6807]
36369         [BZ #15901]
36370         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36371         * math/w_j0f.c (y0f): Likewise.
36372         * math/w_j0l.c (__y0l): Likewise.
36373         * math/w_j1.c (y1): Likewise.
36374         * math/w_j1f.c (y1f): Likewise.
36375         * math/w_j1l.c (__y1l): Likewise.
36376         * math/w_jn.c (yn): Likewise.
36377         * math/w_jnf.c (ynf): Likewise.
36378         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36379         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36380         value for Bessel function domain errors outside _SVID_ mode.
36381         Adjust sign of return value for yn (negative integer, 0).
36382         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36383         by zero in return for negative x and set sign appropriately for
36384         negative n.
36385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36386         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36387         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36388         expectations in error cases.
36389         (y1_test_data): Likewise.
36390         (yn_test_data): Likewise.
36391         * sysdeps/i386/fpu/libm-test-ulps: Update.
36392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36394 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36396         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36397         "64" to "64-v1".  Add "64-v2".
36398         (abi-64-options): Rename to ...
36399         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36400         (abi-64-condition): Rename to ...
36401         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36402         (abi-64-ld-soname): Rename to ...
36403         (abi-64-v1-ld-soname): ... this.
36404         (abi-64-v2-options): Define.
36405         (abi-64-v2-condition): Likewise.
36406         (abi-64-v2-ld-soname): Likewise.
36407         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36408         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36413 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36414             Alan Modra  <amodra@gmail.com>
36416         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36417         New versions for use with the ELFv2 ABI.
36418         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36419         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36420         declaration.
36421         (struct La_ppc64v2_retval): Likewise.
36422         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36423         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36424         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36425         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36426         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36428         Do not save or restore CR.
36429         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36430         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36431         return values for ELFv2 ABI.  Fix location of FPR return registers.
36432         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36433         updated values for _CALL_ELF == 2.
36434         (La_regs, La_retval, int_retval): Likewise.
36436 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36438         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36439         (FRAME_MIN_SIZE_PARM): Likewise.
36440         (FRAME_BACKCHAIN): Likewise.
36441         (FRAME_CR_SAVE): Likewise.
36442         (FRAME_LR_SAVE): Likewise.
36443         (FRAME_TOC_SAVE): Likewise.
36444         (FRAME_PARM_SAVE): Likewise.
36445         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36446         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36447         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36448         (call_mcount_parm_offset): New macro.
36449         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36450         (PROF): Use symbolic stack frame offsets.
36451         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36452         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36453         Redefine in terms of FRAME_MIN_SIZE.
36454         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36455         (_dl_profile_resolve): Likewise.  Update comment.
36456         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36457         symbols stack frame offsets.
36458         (__sigsetjmp): Likewise.
36459         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36460         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36461         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36462         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36465         (FRAME_BACKCHAIN): Remove.
36466         (FRAME_CR_SAVE): Likewise.
36467         (FRAME_LR_SAVE): Likewise.
36468         (FRAME_COMPILER_DW): Likewise.
36469         (FRAME_LINKER_DW): Likewise.
36470         (FRAME_TOC_SAVE): Likewise.
36471         (FRAME_PARM_SAVE): Likewise.
36472         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36473         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36474         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36476         (CHECK_SP): Use symbolic stack frame offsets.
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36478         zone" instead of caller's parameter save area for temp storage.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36480         Likewise.  Also, use symbolic stack frame offsets.
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36482         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36483         our own stack frame instead of the caller's.
36484         (__socket): Use symbolic stack frame offsets.
36486 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36487             Alan Modra  <amodra@gmail.com>
36489         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36490         Define.
36491         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36492         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36493         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36494         New function.
36495         (elf_machine_fixup_plt): Call it.
36496         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36497         reloc arguments.
36498         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36499         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36500         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36501         r2 before calling target.
36503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36504             Alan Modra  <amodra@gmail.com>
36506         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36507         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36508         versions of macros to support ELFv2 ABI.
36509         (LOCALENTRY): New macro.
36510         (ENTRY, EALIGN): Use it.
36511         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36512         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36513         fall through into ENTRY entry point.
36514         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36515         Only define if _CALL_ELF != 2.
36517         (elf_machine_matches_host): Verify ABI version matches.
36518         (RTLD_START): Use LOCALENTRY.
36519         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36520         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36521         (PLT_ENTRY_WORDS): New macro.
36522         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36523         (elf_machine_runtime_setup): Support ELFv2 ABI.
36524         (elf_machine_fixup_plt): Likewise.
36525         (elf_machine_plt_conflict): Likewise.
36526         (resolve_ifunc): Likewise.
36527         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36528         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36529         Likewise.
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36531         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36533         (makecontext): Support ELFv2 ABI.
36534         * elf/elf.h (EF_PPC64_ABI): Define.
36536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36538         * sysdeps/powerpc/powerpc64/sysdep.h
36539         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36540         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36541         (ENTRY) [ASSEMBLER]: ... but instead here ...
36542         (EALIGN) [ASSEMBLER]: ... and here.
36543         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36544         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36545         (ENTRY_2) [!ASSEMBLER]: Use it.
36546         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36547         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36548         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36549         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36550         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36552         Use PPC64_LOAD_FUNCPTR.
36554         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36556 2013-12-04  Alan Modra  <amodra@gmail.com>
36558         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36559         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36560         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36561         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36564         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36565         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36566         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36567         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36568         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36570 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36573         (__makecontext): Fix incorrect CFI when backtracing out of
36574         context created via makecontext.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36576         (__setcontext): Fix incorrect CFI during switch to new context.
36577         (__novec_setcontext): Likewise.
36579 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36581         [BZ #4772]
36582         * time/strptime_l.c (__strptime_internal): Allow modifiers
36583         in strptime.
36584         * time/tst-strptime.c (day_tests): Add testcase.
36586 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36588         * scripts/bench.pl: Skip over blank lines.
36590 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36592         [BZ #926]
36593         * manual/time.texi (Calendar Time): Clarify what timezone functions
36594         use.
36596 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36600 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36602         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36603         implementation.
36604         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36605         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36606         * debug/memset_chk.c (__memset_chk): Likewise.
36607         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36608         * debug/strncpy_chk.c: Likewise.
36610 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36612         [BZ #15268]
36613         [BZ #15425]
36614         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36615         (__ieee754_exp): For possibly underflowing results, check size of
36616         result and force underflow exception if required.
36617         * math/auto-libm-test-in: Add more tests of exp.
36618         * math/auto-libm-test-out: Regenerated.
36619         * sysdeps/i386/fpu/libm-test-ulps: Update.
36620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36622         [BZ #16283]
36623         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36624         * math/w_exp2f.c (__exp2f): Likewise.
36625         * math/w_exp2l.c (__exp2l): Likewise.
36626         * math/auto-libm-test-in: Do not allow missing errno on exp2
36627         underflow.
36628         * math/auto-libm-test-out: Regenerated.
36630 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36632         [BZ #16274]
36633         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36634         handle filename validation.
36635         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36636         (do_open): Delete.
36638 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36640         [BZ #6786]
36641         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36642         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36643         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36644         <float.h>.
36645         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36646         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36647         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36649         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36650         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36651         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36652         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36653         Add more erfc tests.
36654         * math/auto-libm-test-out: Regenerated.
36655         * sysdeps/i386/fpu/libm-test-ulps: Update.
36656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36658         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36659         exp2, expm1, j0 and j1.
36660         * math/auto-libm-test-out: Regenerated.
36661         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36662         (erfc_test_data): Likewise.
36663         (exp_test_data): Likewise.
36664         (exp_tonearest_test_data): Likewise.
36665         (exp_towardzero_test_data): Likewise.
36666         (exp_downward_test_data): Likewise.
36667         (exp_upward_test_data): Likewise.
36668         (exp10_test_data): Likewise.
36669         (exp2_test_data): Likewise.
36670         (expm1_test_data): Likewise.
36671         (j0_test_data): Likewise.
36672         (j1_test_data): Likewise.
36673         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36674         (input_flag_type): Add flag_xfail_rounding.
36675         (input_flags): Add xfail-rounding.
36676         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36677         (output_for_one_input_case): Handle flag_xfail_rounding.
36678         * sysdeps/i386/fpu/libm-test-ulps: Update.
36679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36681 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36683         [BZ #16289]
36684         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36685         division by 0.
36687 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36689         [BZ #16195]
36690         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36691         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36692         (STAP_PROBE0): New macro.
36693         (STAP_PROBE1): Likewise.
36694         (STAP_PROBE2): Likewise.
36695         (STAP_PROBE3): Likewise.
36696         (STAP_PROBE4): Likewise.
36698 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36700         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36702 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36704         * benchtests/Makefile (bench): Add sqrt.
36705         (LDLIBS-bench-sqrt): New.
36706         * benchtests/sqrt-input: New.
36708 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36710         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36711         (GAIH_EAI): Likewise.
36712         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36713         (gaih_inet): Likewise.
36714         (getaddrinfo): Don't use GAIH_EAI.
36716         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36717         (struct gaih): Remove definition.
36719 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36721         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36722         Use HERRNOP directly.
36724 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36728 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36730         * math/gen-auto-libm-tests.c (test_functions): Add more
36731         single-argument functions.
36732         (special_fill_pi_2): New function.
36733         (special_fill_minus_pi_2): Likewise.
36734         (special_fill_pi_6): Likewise.
36735         (special_fill_minus_pi_6): Likewise.
36736         (special_fill_pi_3): Likewise.
36737         (special_fill_2pi_3): Likewise.
36738         (special_fill_e): Likewise.
36739         (special_fill_1_e): Likewise.
36740         (special_fill_e_minus_1): Likewise.
36741         (special_real_inputs): Add more special inputs.
36742         (output_for_one_input_case): Do not require ERANGE on underflow to
36743         zero if round-to-nearest result does not underflow to zero, unless
36744         exact results required.
36745         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36746         atan, atanh, cbrt, cos and cosh.
36747         * math/auto-libm-test-out: Regenerated.
36748         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36749         (acos_tonearest_test_data): Likewise.
36750         (acos_towardzero_test_data): Likewise.
36751         (acos_downward_test_data): Likewise.
36752         (acos_upward_test_data): Likewise.
36753         (acosh_test_data): Likewise.
36754         (asin_test_data): Likewise.
36755         (asin_tonearest_test_data): Likewise.
36756         (asin_towardzero_test_data): Likewise.
36757         (asin_upward_test_data): Likewise.
36758         (asinh_test_data): Likewise.
36759         (atan_test_data): Likewise.
36760         (atanh_test_data): Likewise.
36761         (cbrt_test_data): Likewise.
36762         (cos_test_data): Likewise.
36763         (cos_tonearest_test_data): Likewise.
36764         (cos_towardzero_test_data): Likewise.
36765         (cos_downward_test_data): Likewise.
36766         (cos_upward_test_data): Likewise.
36767         (cosh_test_data): Likewise.
36768         (cosh_tonearest_test_data): Likewise.
36769         (cosh_towardzero_test_data): Likewise.
36770         (cosh_downward_test_data): Likewise.
36771         (cosh_upward_test_data): Likewise.
36772         * sysdeps/i386/fpu/libm-test-ulps: Update.
36773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36775 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36777         [BZ #6787]
36778         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36779         * math/w_exp10f.c (__exp10f): Likewise.
36780         * math/w_exp10l.c (__exp10l): Likewise.
36781         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36782         errno settings in existing tests.
36784         [BZ #14032]
36785         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36786         precision control set to double precision.
36787         * sysdeps/i386/fpu/w_sqrt.c: New file.
36788         * math/auto-libm-test-in: Add more tests.
36789         * math/auto-libm-test-out: Update.
36791         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36792         (sqrt_test_tonearest): New function.
36793         (sqrt_towardzero_test_data): New variable.
36794         (sqrt_test_towardzero): New function.
36795         (sqrt_downward_test_data): New variable.
36796         (sqrt_test_downward): New function.
36797         (sqrt_upward_test_data): New variable.
36798         (sqrt_test_upward): New function.
36799         (main): Call the new functions.
36801         * math/gen-auto-libm-tests.c: New file.
36802         * math/auto-libm-test-in: Likewise.
36803         * math/auto-libm-test-out: New generated file.
36804         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36805         variables.
36806         (%beautify): Add generated representations of zero.
36807         (top level): Set $auto_input and call parse_auto_input.
36808         (beautify): Remove trailing "f" from hex float constants.
36809         (parse_args): Handle XFAIL_TEST.
36810         (convert_condition): New function.
36811         (or_value): Likewise.
36812         (or_cond_value): Likewise.
36813         (generate_testfile): Handle AUTO_TESTS_* lines.
36814         (parse_auto_input): New function.
36815         * math/libm-test.inc (XFAIL_TEST): New macro.
36816         (ERRNO_UNCHANGED): Update value.
36817         (ERRNO_EDOM): Likewise.
36818         (ERRNO_ERANGE): Likewise.
36819         (IGNORE_RESULT): Likewise.
36820         (TEST_COND_flt_32): New macro.
36821         (TEST_COND_dbl_64): Likewise.
36822         (TEST_COND_ldbl_96_intel): Likewise.
36823         (TEST_COND_ldbl_96_m68k): Likewise.
36824         (TEST_COND_ldbl_128): Likewise.
36825         (TEST_COND_ldbl_128ibm): Likewise.
36826         (TEST_COND_long32): Likewise.
36827         (TEST_COND_long64): Likewise.
36828         (TEST_COND_before_rounding): Likewise.
36829         (TEST_COND_after_rounding): Likewise.
36830         (enable_test): Handle XFAIL_TEST flag.
36831         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36832         with finite results.
36833         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36834         auto-libm-test-out.
36836 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36837             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36839         [BZ #16214]
36840         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36841         __tls_get_addr_internal instead of __tls_get_offset in order to
36842         avoid GOT pointer dependency.  Make rtld export
36843         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36844         __tls_get_addr since we are a __tls_get_offset platform.
36845         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36846         GOT pointer being set up before.
36847         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36849 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36851         * manual/math.texi (Errors in Math Functions): Document accuracy
36852         goals.
36854         [BZ #15004]
36855         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36856         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36859         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36861         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36872         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36873         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36874         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36875         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36876         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36877         Likewise.
36878         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36879         Likewise.
36880         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36881         Likewise.
36882         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36883         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36884         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36885         atomic-feupdateenv and flt-rounds.
36886         * sysdeps/powerpc/nofpu/Versions (libc): Add
36887         __atomic_feholdexcept, __atomic_feclearexcept,
36888         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36890         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36891         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36892         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36893         here.
36894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36895         Update.
36897         * manual/arith.texi (FP Exceptions): Document that exceptions may
36898         not be raised when matherr is used.
36899         (Math Error Reporting): Document overflow in directed rounding
36900         modes.  Document that errno may not be set when finite values are
36901         returned on overflow.  Document intent to set errno on underflow
36902         only for underflow to zero.
36904         [BZ #16271]
36905         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36906         round-to-nearest then adjust result for other rounding modes.
36907         * include/fenv.h (fegetround): Use libm_hidden_proto.
36908         * math/fegetround.c (fegetround): Use libm_hidden_def.
36909         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36910         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36911         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36913         Likewise.
36914         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36915         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36916         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36917         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36919 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36921         [BZ #16077]
36922         * nss/Versions (libnss_files): Add
36923         _nss_files_gethostbyname3_r.
36924         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36925         New function.
36926         (HOST_DB_LOOKUP): Remove macro.
36927         (_nss_files_gethostbyname_r): Implement function without the
36928         HOST_DB_LOOKUP macro.
36929         (_nss_files_gethostbyname2_r): Likewise.
36931 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36933         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36935 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36937         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36938         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36939         warning.
36941 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36943         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36944         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36945         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36946         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36947         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36948         __fe_nomask_env_priv and attribute_hidden.
36949         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36950         (libc_feupdateenv_test_ppc): Likewise.
36951         (libc_feresetround_ppc): Likewise.
36952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36953         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36954         compat_symbol macro.
36955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36956         (__fe_nomask_env): Likewise.
36957         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36959 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36961         * string/Makefile: Remove ifunc tests.
36962         * string/test-string.h: Define TEST_IFUNC.
36963         * string/test-bcopy-ifunc.c: Remove.
36964         * string/test-bzero-ifunc.c: Likewise.
36965         * string/test-memccpy-ifunc.c: Likewise.
36966         * string/test-memchr-ifunc.c: Likewise.
36967         * string/test-memcmp-ifunc.c: Likewise.
36968         * string/test-memcpy-ifunc.c: Likewise.
36969         * string/test-memmem-ifunc.c: Likewise.
36970         * string/test-memmove-ifunc.c: Likewise.
36971         * string/test-mempcpy-ifunc.c: Likewise.
36972         * string/test-memrchr-ifunc.c: Likewise.
36973         * string/test-memset-ifunc.c: Likewise.
36974         * string/test-rawmemchr-ifunc.c: Likewise.
36975         * string/test-stpcpy-ifunc.c: Likewise.
36976         * string/test-stpncpy-ifunc.c: Likewise.
36977         * string/test-strcasecmp-ifunc.c: Likewise.
36978         * string/test-strcasestr-ifunc.c: Likewise.
36979         * string/test-strcat-ifunc.c: Likewise.
36980         * string/test-strchr-ifunc.c: Likewise.
36981         * string/test-strchrnul-ifunc.c: Likewise.
36982         * string/test-strcmp-ifunc.c: Likewise.
36983         * string/test-strcpy-ifunc.c: Likewise.
36984         * string/test-strcspn-ifunc.c: Likewise.
36985         * string/test-strlen-ifunc.c: Likewise.
36986         * string/test-strncasecmp-ifunc.c: Likewise.
36987         * string/test-strncat-ifunc.c: Likewise.
36988         * string/test-strncmp-ifunc.c: Likewise.
36989         * string/test-strncpy-ifunc.c: Likewise.
36990         * string/test-strnlen-ifunc.c: Likewise.
36991         * string/test-strpbrk-ifunc.c: Likewise.
36992         * string/test-strrchr-ifunc.c: Likewise.
36993         * string/test-strspn-ifunc.c: Likewise.
36994         * string/test-strstr-ifunc.c: Likewise.
36996 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36998         * benchtests/Makefile: Remove ifunc tests.
36999         * benchtests/bench-string.h: Define TEST_IFUNC.
37000         * benchtests/bench-bcopy-ifunc.c: Remove.
37001         * benchtests/bench-bzero-ifunc.c: Likewise.
37002         * benchtests/bench-memccpy-ifunc.c: Likewise.
37003         * benchtests/bench-memchr-ifunc.c: Likewise.
37004         * benchtests/bench-memcmp-ifunc.c: Likewise.
37005         * benchtests/bench-memcpy-ifunc.c: Likewise.
37006         * benchtests/bench-memmem-ifunc.c: Likewise.
37007         * benchtests/bench-memmove-ifunc.c: Likewise.
37008         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37009         * benchtests/bench-memrchr-ifunc.c: Likewise.
37010         * benchtests/bench-memset-ifunc.c: Likewise.
37011         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37012         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37013         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37014         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37015         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37016         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37017         * benchtests/bench-strcat-ifunc.c: Likewise.
37018         * benchtests/bench-strchr-ifunc.c: Likewise.
37019         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37020         * benchtests/bench-strcmp-ifunc.c: Likewise.
37021         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37022         * benchtests/bench-strcpy-ifunc.c: Likewise.
37023         * benchtests/bench-strcspn-ifunc.c: Likewise.
37024         * benchtests/bench-strlen-ifunc.c: Likewise.
37025         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37026         * benchtests/bench-strncat-ifunc.c: Likewise.
37027         * benchtests/bench-strncmp-ifunc.c: Likewise.
37028         * benchtests/bench-strncpy-ifunc.c: Likewise.
37029         * benchtests/bench-strnlen-ifunc.c: Likewise.
37030         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37031         * benchtests/bench-strrchr-ifunc.c: Likewise.
37032         * benchtests/bench-strsep-ifunc.c: Likewise.
37033         * benchtests/bench-strspn-ifunc.c: Likewise.
37034         * benchtests/bench-strstr-ifunc.c: Likewise.
37036 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37038         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37040 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37042         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37043         * rt/aio.h: Likewise.
37044         * sysdeps/gnu/bits/utmp.h: Likewise.
37045         * sysdeps/gnu/bits/utmpx.h: Likewise.
37046         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37047         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37048         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37049         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37050         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37051         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37052         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37053         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37054         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37055         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37056         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37057         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37058         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37060         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37061         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37062         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37063         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37064         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37065         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37066         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37067         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37068         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37069         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37070         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37072         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37073         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37074         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37075         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37076         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37077         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37078         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37079         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37080         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37081         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37082         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37083         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37084         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37085         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37086         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37087         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37089 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37091         [BZ #16245]
37092         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37093         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37095 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37097         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37098         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37099         Likewise.
37101 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37104         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37105         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37106         (__fesetround): Remove define.
37107         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37108         rounding and exceptions handling.
37109         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37110         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37111         (__fe_nomask_env): Likewise.
37112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37113         __fegetround instead of fegetround.
37114         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37115         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37117 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37119         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37120         it's there.
37122         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37124 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37126         [BZ #11157]
37127         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37128         (encrypt_r): Likewise.
37129         * malloc/obstack.h (obstack_free): Likewise.
37130         * posix/unistd.h (encrypt): Likewise.
37132 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37134         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37135         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37136         DL_CALL_DT_FINI() that call the functions directly.
37137         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37138         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37139         * elf/dl-fini.c: Likewise.
37141 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37143         * malloc/hooks.c (memalign_check): Add alignment rounding.
37144         * malloc/malloc.c (_mid_memalign): New function.
37145         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37146         Implement by calling _mid_memalign.
37147         * manual/probes.texi (Memory Allocation Probes): Remove
37148         memory_valloc_retry and memory_pvalloc_retry.
37150 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37152         * locale/programs/locarchive.c (open_archive): Add const
37153         qualifier to ARCHIVEFNAME and copy default fname to
37154         DEFAULT_FNAME.
37156         [BZ #15601]
37157         * libio/tst-widetext.input: Rename Oriya to Odia.
37158         * locale/iso-639.def: Likewise.
37160         * manual/probes.texi (Mathematical Function Probes): Add
37161         documentation for sin, cos, asin and acos probes.
37162         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37163         (__sin32): Add slowasin probe.
37164         (__cos32): Add slowacos probe.
37165         (__mpsin): Add slowsin probe.
37166         (__mpcos): Add slowcos probe.
37168 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37170         [BZ #15483]
37171         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37172         thread-local __sim_exceptions_thread and global
37173         __sim_exceptions_global.
37174         (__sim_disabled_exceptions): Change to thread-local
37175         __sim_disabled_exceptions_thread and global
37176         __sim_disabled_exceptions_global.
37177         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37178         and global __sim_round_mode_global.
37179         (__simulate_exceptions): Use thread-local floating-point state and
37180         set global state from it as needed.
37181         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37182         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37183         __sim_round_mode_thread.
37184         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37185         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37186         and global __sim_exceptions_global.
37187         (__sim_disabled_exceptions): Change to thread-local
37188         __sim_disabled_exceptions_thread and global
37189         __sim_disabled_exceptions_global.
37190         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37191         and global __sim_round_mode_global.
37192         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37193         (SIM_SET_GLOBAL): Likewise.
37194         * sysdeps/powerpc/soft-fp/sfp-machine.h
37195         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37196         __sim_round_mode_thread.
37197         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37198         __sim_disabled_exceptions_thread.
37199         (__sim_exceptions): Change to __sim_exceptions_thread.
37200         (__sim_disabled_exceptions): Change to
37201         __sim_disabled_exceptions_thread.
37202         (__sim_round_mode): Change to __sim_round_mode_thread.
37203         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37204         thread-local floating-point state and set global state from it as
37205         needed.
37206         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37207         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37208         (__sim_disabled_exceptions): Remove extern declaration.
37209         (feenableexcept): Use thread-local floating-point state and set
37210         global state from it as needed.
37211         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37212         extern declaration.
37213         (__sim_disabled_exceptions): Likewise.
37214         (__sim_round_mode): Likewise.
37215         (__fegetenv): Use thread-local floating-point state.
37216         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37217         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37218         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37219         floating-point state and set global state from it as needed.
37220         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37221         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37222         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37223         Likewise.
37224         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37225         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37226         Likewise.
37227         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37228         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37229         Use __sim_round_mode_thread.
37230         * math/test-fenv-tls.c: New file.
37231         * math/Makefile (tests): Add test-fenv-tls.
37232         ($(objpfx)test-fenv-tls): Depend on
37233         $(common-objpfx)nptl/libpthread.so.
37235 2013-11-19  Andreas Schwab  <schwab@suse.de>
37237         * locale/programs/locale.c (show_info): Decode wordarray elements.
37238         * locale/categories.def (LC_MONETARY): Add element for
37239         _NL_MONETARY_CRNCYSTR.
37240         * locale/C-monetary.c (conversion_rate): New variable.
37241         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37242         element.
37244 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37246         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37247         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37249 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37251         * elf/Makefile (tst-auxv): New test.
37252         * elf/tst-auxv.c: New
37253         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37255 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37257         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37258         (hidden_proto): Caller changed.
37259         (hidden_tls_proto): New macro.
37260         (libc_hidden_tls_proto): Likewise.
37261         (rtld_hidden_tls_proto): Likewise.
37262         (libm_hidden_tls_proto): Likewise.
37263         (libresolv_hidden_tls_proto): Likewise.
37264         (librt_hidden_tls_proto): Likewise.
37265         (libdl_hidden_tls_proto): Likewise.
37266         (libnss_files_hidden_tls_proto): Likewise.
37267         (libnsl_hidden_tls_proto): Likewise.
37268         (libnss_nisplus_hidden_tls_proto): Likewise.
37269         (libutil_hidden_tls_proto): Likewise.
37271 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37273         [BZ #10253]
37274         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37275         (decompose_rpath): Defer expansion to fillin_rpath.
37276         (_dl_init_paths): Pass linkmap to fillin_rpath.
37278 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37280         * benchtests/Makefile: Add strsep.
37281         * benchtests/bench-strsep.c: New file: strsep benchtest.
37282         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37284 2013-11-18  Andreas Schwab  <schwab@suse.de>
37286         * locale/programs/locale.c (show_info) [case byte]: Check for
37287         '\377' instead of '\177'.
37288         * locale/C-monetary.c (not_available): Always use "\377".
37289         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37290         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37291         detect unavailable sign_posn locale elements.
37292         * locale/localeconv.c (__localeconv): For grouping and
37293         mon_grouping handle "\177" and "\377" like no grouping.
37294         (INT_ELEM): New macro.  Use it to set all numeric members.
37295         * locale/programs/ld-monetary.c (monetary_read)
37296         <tok_mon_grouping>: Normalize single -1 to the empty string.
37297         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37298         Likewise.
37300 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37302         [BZ #16055]
37303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37304         when we match (nil).
37305         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37307 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37309         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37310         (NO_TEST_INLINE): Update value.
37311         (ERRNO_UNCHANGED): Likewise.
37312         (ERRNO_EDOM): Likewise.
37313         (ERRNO_ERANGE): Likewise.
37314         (IGNORE_RESULT): Likewise.
37315         (check_float_internal): Check signs of NaN results if
37316         TEST_NAN_SIGN used.
37317         (check_complex): Pass TEST_NAN_SIGN flag through to second
37318         check_float_internal call.
37319         (copysign_test_data): Add tests with quiet NaNs as second
37320         argument.  Use TEST_NAN_SIGN.
37321         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37322         TEST_NAN_SIGN.
37323         (signbit_test_data): Add tests of quiet NaN argument.
37324         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37326         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37327         $ignore_result.
37328         (parse_args): Handle function results specified as IGNORE.
37329         * math/libm-test.inc (IGNORE_RESULT): New macro.
37330         (check_float_internal): Do not check numerical result if flag
37331         IGNORE_RESULT set.
37332         (check_complex): Pass through IGNORE_RESULT to second
37333         check_float_internal call.
37334         (check_int): Do not check numerical result if flag IGNORE_RESULT
37335         set.
37336         (check_long): Likewise.
37337         (check_bool): Likewise.
37338         (check_longlong): Likewise.
37339         (lrint_test_data): Add tests of infinite and NaN arguments.
37340         (lrint_tonearest_test_data): Likewise.
37341         (lrint_towardzero_test_data): Likewise.
37342         (lrint_downward_test_data): Likewise.
37343         (lrint_upward_test_data): Likewise.
37344         (llrint_test_data): Likewise.
37345         (llrint_tonearest_test_data): Likewise.
37346         (llrint_towardzero_test_data): Likewise.
37347         (llrint_downward_test_data): Likewise.
37348         (llrint_upward_test_data): Likewise.
37349         (lround_test_data): Likewise.
37350         (llround_test_data): Likewise.
37352         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37353         (ERRNO_UNCHANGED): Update value.
37354         (ERRNO_EDOM): Likewise.
37355         (ERRNO_ERANGE): Likewise.
37356         (NO_TEST_INLINE_FLOAT): New macro.
37357         (NO_TEST_INLINE_DOUBLE): Likewise.
37358         (enable_test): New function.
37359         (RUN_TEST_f_f): Check enable_test before running test.
37360         (RUN_TEST_2_f): Likewise.
37361         (RUN_TEST_fff_f): Likewise.
37362         (RUN_TEST_c_f): Likewise.
37363         (RUN_TEST_f_f1): Likewise.
37364         (RUN_TEST_fF_f1): Likewise.
37365         (RUN_TEST_fI_f1): Likewise.
37366         (RUN_TEST_ffI_f1): Likewise.
37367         (RUN_TEST_c_c): Likewise.
37368         (RUN_TEST_cc_c): Likewise.
37369         (RUN_TEST_f_i): Likewise.
37370         (RUN_TEST_f_i_tg): Likewise.
37371         (RUN_TEST_ff_i_tg): Likewise.
37372         (RUN_TEST_f_b): Likewise.
37373         (RUN_TEST_f_b_tg): Likewise.
37374         (RUN_TEST_f_l): Likewise.
37375         (RUN_TEST_f_L): Likewise.
37376         (RUN_TEST_fFF_11): Likewise.
37377         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37378         conditionals.
37379         (cosh_test_data): Likewise.
37380         (exp_test_data): Likewise.
37381         (expm1_test_data): Likewise.
37382         (hypot_test_data): Likewise.
37383         (pow_test_data): Likewise.
37384         (sinh_test_data): Likewise.
37385         (tanh_test_data): Likewise.
37386         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37387         flags argument.
37389         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37390         tests with quiet NaN input and output.
37391         (acosh_test_data): Likewise.
37392         (asin_test_data): Likewise.
37393         (asinh_test_data): Likewise.
37394         (atan_test_data): Likewise.
37395         (atanh_test_data): Likewise.
37396         (atan2_test_data): Likewise.
37397         (cbrt_test_data): Likewise.
37398         (cos_test_data): Likewise.
37399         (cosh_test_data): Likewise.
37400         (erf_test_data): Likewise.
37401         (erfc_test_data): Likewise.
37402         (exp_test_data): Likewise.
37403         (exp10_test_data): Likewise.
37404         (exp2_test_data): Likewise.
37405         (expm1_test_data): Likewise.
37406         (hypot_test_data): Likewise.
37407         (j0_test_data): Likewise.
37408         (j1_test_data): Likewise.
37409         (jn_test_data): Likewise.
37410         (lgamma_test_data): Likewise.
37411         (log_test_data): Likewise.
37412         (log10_test_data): Likewise.
37413         (log1p_test_data): Likewise.
37414         (log2_test_data): Likewise.
37415         (pow_test_data): Likewise.
37416         (scalb_test_data): Likewise.
37417         (sin_test_data): Likewise.
37418         (sincos_test_data): Likewise.
37419         (sinh_test_data): Likewise.
37420         (tan_test_data): Likewise.
37421         (tanh_test_data): Likewise.
37422         (tgamma_test_data): Likewise.
37423         (y0_test_data): Likewise.
37424         (y1_test_data): Likewise.
37425         (yn_test_data): Likewise.
37427         [BZ #16167]
37428         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37429         argument being NaN and avoid computations with second argument in
37430         that case.
37431         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37432         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37433         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37435 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37437         * locale/iso-639.def: Add Chitwani Tharu (the).
37439 2013-11-14  Andreas Schwab  <schwab@suse.de>
37441         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37442         word instead of empty string.
37444 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37447         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37449         (__fe_nomask_env): Likewise.
37451 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37453         * benchtests/bench-timing.h: Include time.h.
37455 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37457         [BZ #15997]
37458         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37459         to 3.4.0 for x32.
37460         * sysdeps/unix/sysv/linux/configure: Regenerated.
37462 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37464         [BZ #16151]
37465         * stdlib/strtod_l.c (round_and_return): Do not consider
37466         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37467         exponent one less than half the least subnormal exponent.
37468         * stdlib/test-strtod-round-data: Add more tests.
37469         * stdlib/tst-strtod-round.c (tests): Regenerated.
37471 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37473         [BZ #14143]
37474         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37475         (__fe_mask_env): Likewise.
37476         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37477         libm_hidden_proto and add function prototype.
37478         (__fe_mask_env): Add function prototype.
37479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37480         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37482         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37484         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37486 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37488         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37489         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37491 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37493         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37494         of htab_find_slot().
37496 2013-11-11  David S. Miller  <davem@davemloft.net>
37498         [BZ #16150]
37499         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37500         symbol in the non-vis3 case in static builds.
37501         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37502         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37503         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37506 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37508         [BZ #387]
37509         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37510         it is empty.
37512 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37514         * benchtests/Makefile: Add bench-strtod.
37515         * benchtests/bench-strtod.c: New file: strtod benchtest
37517 2013-11-11  Andreas Schwab  <schwab@suse.de>
37519         [BZ #16153]
37520         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37521         terminating NUL in key length.
37523 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37525         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37526         Add artificial ODP entry for vDSO symbol for PPC64.
37527         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37528         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37530 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37532         [BZ #15374]
37533         * nss/getent.c (services_keys): Recognize services starting with digit.
37535 2013-11-06  David S. Miller  <davem@davemloft.net>
37537         [BZ #15985]
37538         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37539         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37541 2013-11-06  Will Newton  <will.newton@linaro.org>
37543         * manual/memory.texi (Malloc Examples): Remove register
37544         keyword from examples.
37546 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37548         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37550 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #6981]
37553         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37554         depending on [__GCC_IEC_559 > 0].
37555         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37556         depending on [__GCC_IEC_559_COMPLEX > 0].
37558 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37560         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37561         to iso-639.def.
37563 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37565         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37567 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37569         [BZ #16112]
37570         * malloc/malloc (malloc_info): Do not handle first bin as
37571         special case.
37573 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37575         * locale/iso-639.def: Add Central Nahuatl (nhn).
37577 2013-11-01  Bruno Haible  <bruno@clisp.org>
37579         [BZ #7003]
37580         * manual/math.texi (BSD Random): Specify range upper bound as
37581         in POSIX.
37583 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37585         * locale/iso-639.def: Add Meadow Mari (mhr).
37587 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37589         [BZ #14752], [BZ #15763]
37590         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37591         Validate name.
37592         * rt/tst_shm.c: Add test for escaping directory.
37594 2013-10-31  Andreas Schwab  <schwab@suse.de>
37596         [BZ #15917]
37597         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37598         followed by 'x' as part of digit sequence.
37599         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37601 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37603         [BZ #16037]
37604         * configure.ac: allow GNU Make 4.0 and greater.
37605         * configure: Regenerated.
37607 2013-10-30  Will Newton  <will.newton@linaro.org>
37609         [BZ #16038]
37610         * malloc/hooks.c (memalign_check): Limit alignment to the
37611         maximum representable power of two.
37612         * malloc/malloc.c (__libc_memalign): Likewise.
37613         * malloc/tst-memalign.c (do_test): Add test for very
37614         large alignment values.
37615         * malloc/tst-posix_memalign.c (do_test): Likewise.
37617 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37619         [BZ #11087]
37620         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37621         (munmap_chunk): Likewise.
37622         (mremap_chunk): Likewise.
37624 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37626         [BZ #15799]
37627         * stdlib/div.c (div): Remove obsolete code.
37628         * stdlib/ldiv.c (ldiv): Likewise.
37629         * stdlib/lldiv.c (lldiv): Likewise.
37631 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37633         [BZ #16071]
37634         * nss/nss_files/files-XXX.c (get_contents_ret): New
37635         enumerator.
37636         (get_contents): New function.
37637         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37639 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37641         * configure.in: Moved to ...
37642         * configure.ac: ... here. Change reference to configure.in
37643         to configure.ac.
37644         * sysdeps/arm/preconfigure.ac: ... here.
37645         configure.in to configure.ac.
37646         * sysdeps/gnu/configure.in: Moved to ...
37647         * sysdeps/gnu/configure.ac: ... here.
37648         * sysdeps/i386/configure.in: Moved to ...
37649         * sysdeps/i386/configure.ac: ... here.
37650         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37651         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37652         * sysdeps/mach/configure.in: Moved to ...
37653         * sysdeps/mach/configure.ac: ... here.
37654         * sysdeps/mach/hurd/configure.in: Moved to ...
37655         * sysdeps/mach/hurd/configure.ac: ... here.
37656         * sysdeps/powerpc/configure.in: Moved to ...
37657         * sysdeps/powerpc/configure.ac: ... here.
37658         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37659         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37660         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37661         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37662         * sysdeps/s390/s390-32/configure.in: Moved to ...
37663         * sysdeps/s390/s390-32/configure.ac: ... here.
37664         * sysdeps/s390/s390-64/configure.in: Moved to ...
37665         * sysdeps/s390/s390-64/configure.ac: ... here.
37666         * sysdeps/sh/configure.in: Moved to ...
37667         * sysdeps/sh/configure.ac: ... here.
37668         * sysdeps/sparc/configure.in: Moved to ...
37669         * sysdeps/sparc/configure.ac: ... here.
37670         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37671         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37672         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37673         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37674         * sysdeps/x86_64/configure.in: Moved to ...
37675         * sysdeps/x86_64/configure.ac: ... here.
37676         * sysdeps/x86_64/preconfigure.in: Moved to ...
37677         * sysdeps/x86_64/preconfigure.ac: ... here.
37678         * aclocal.m4: Change reference to configure.in to configure.ac.
37679         * config.h.in: Likewise.
37680         * manual/install.texi: Likewise.
37681         * manual/maint.texi: Likewise.
37682         * Makefile: Likewise.
37683         * malloc/Makefile: Likewise.
37684         * nscd/Makefile: Likewise.
37685         * Makeconfig: Change reference to configure.in and
37686         preconfigure.in to configure.ac and preconfigure.ac
37687         respectively.
37688         * INSTALL: Regenerated.
37689         * configure: Likewise.
37690         * sysdeps/gnu/configure: Likewise.
37691         * sysdeps/i386/configure: Likewise.
37692         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37693         * sysdeps/mach/configure: Likewise.
37694         * sysdeps/mach/hurd/configure: Likewise.
37695         * sysdeps/powerpc/configure: Likewise.
37696         * sysdeps/powerpc/powerpc32/configure: Likewise.
37697         * sysdeps/powerpc/powerpc64/configure: Likewise.
37698         * sysdeps/s390/s390-32/configure: Likewise.
37699         * sysdeps/s390/s390-64/configure: Likewise.
37700         * sysdeps/sh/configure: Likewise.
37701         * sysdeps/sparc/configure: Likewise.
37702         * sysdeps/unix/sysv/linux/configure: Likewise.
37703         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37704         * sysdeps/x86_64/configure: Likewise.
37705         * sysdeps/x86_64/preconfigure: Likewise.
37707 2013-10-29  Andreas Schwab  <schwab@suse.de>
37709         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37711 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37713         * benchtests/pow-inputs: Add new inputs.
37715         * benchtests/exp-inputs: Add new inputs.
37717         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37718         conditional check for return value.
37719         (__cos32): Likewise.
37721 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37723         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37724         to provide a boost for large inputs with word alignment.
37725         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37726         implementation based on optimized PPC64 strcpy.
37727         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37728         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37729         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37730         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37732 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37734         [BZ #2801]
37735         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37737 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37739         [BZ #14876]
37740         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37741         * time/tst-strptime.c (day_tests): Add testcase.
37743 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37745         [BZ #14029]
37746         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37748 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37750         [BZ #16074]
37751         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37752         MAP_FAILED on error.
37754 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37756         [BZ #16072]
37757         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37758         heap for large requests.
37760 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37762         [BZ #9954]
37763         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37764         result if the result has no associated interface.
37765         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37766         interface for all 127.X.Y.Z addresses.
37768 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37770         * locale/iso-639.def: Add Ligurian (lij)
37772 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37774         [BZ #15825]
37775         * sunrpc/rpc_main.c: Document rpcgen -5.
37777 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37779         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37781 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37783         [BZ #10278]
37784         * posix/glob.c: Match only directories when trailing slash is present.
37785         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37786         (main): Add testcase.
37788 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37790         [BZ #15670]
37791         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37793 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37795         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37796         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37797         AUTH_DES and cindex for FIPS 140-2.
37798         (DES Encryption): Add cindex FIPS 46-3.
37800         * locale/locarchive.h (struct locarhandle): Add fname.
37801         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37802         if an optional argument was specified to --list-archive,
37803         otherwise NULL.
37804         * locale/programs/locarchive.c (show_archive_content): Take new
37805         argument fname and pass it via ah.fname to open_archive.
37806         * locale/programs/localedef.h: Update decl.
37807         (open_archive): If AH->fname is non-null, open that file
37808         rather than the default file name, and don't ignore ENOENT.
37809         (create_archive): Set AH.fname to NULL.
37810         (delete_locales_from_archive): Likewise.
37811         (add_locales_to_archive): Likewise.
37812         * locale/programs/locfile.c (write_all_categories): Likewise.
37814 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37815             Aldy Hernandez  <aldyh@redhat.com>
37817         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37818         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37819         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37820         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37821         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37822         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37825         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37826         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37827         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37830         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37831         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37832         Likewise.
37833         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37834         Likewise.
37835         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37836         Likewise.
37837         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37838         Likewise.
37839         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37840         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37841         Likewise.
37842         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37843         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37844         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37845         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37846         Likewise.
37847         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37848         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37849         * sysdeps/powerpc/preconfigure: Likewise.
37850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37851         Likewise.
37852         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37853         Replace contents of file by #include of <fenv_libc.h>.
37854         * sysdeps/powerpc/soft-fp/sfp-machine.h
37855         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37856         and <sys/prctl.h>.
37857         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37870         Allow copysignl PLT reference to be missing.
37872 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37873             Joseph Myers  <joseph@codesourcery.com
37875         [BZ #15948]
37876         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37877         single character.
37878         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37880 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37882         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37883         * elf/tst-tls1.c: Likewise.
37884         * elf/tst-tls10.h: Likewise.
37885         * elf/tst-tls14.c: Likewise.
37886         * elf/tst-tls2.c: Likewise.
37887         * elf/tst-tls3.c: Likewise.
37888         * elf/tst-tls4.c: Likewise.
37889         * elf/tst-tls5.c: Likewise.
37890         * elf/tst-tls6.c: Likewise.
37891         * elf/tst-tls7.c: Likewise.
37892         * elf/tst-tls8.c: Likewise.
37893         * elf/tst-tls9.c: Likewise.
37894         * elf/tst-tlsmod1.c: Likewise.
37895         * elf/tst-tlsmod13.c: Likewise.
37896         * elf/tst-tlsmod13a.c: Likewise.
37897         * elf/tst-tlsmod14a.c: Likewise.
37898         * elf/tst-tlsmod16a.c: Likewise.
37899         * elf/tst-tlsmod16b.c: Likewise.
37900         * elf/tst-tlsmod2.c: Likewise.
37901         * elf/tst-tlsmod3.c: Likewise.
37902         * elf/tst-tlsmod4.c: Likewise.
37903         * elf/tst-tlsmod5.c: Likewise.
37904         * elf/tst-tlsmod6.c: Likewise.
37906 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37908         [BZ #12486]
37909         * malloc/malloc.c: remove checks for statistics.
37911 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37913         [BZ #15277]
37914         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37915         * inet/tst-network.c: Add testcase.
37917 2013-10-17  Andreas Schwab  <schwab@suse.de>
37919         [BZ #15218]
37920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37921         to determine canonical name.
37923 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37925         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37926         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37928         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37930         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37931         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37932         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37933         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37934         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37935         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37936         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37937         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37938         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37939         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37940         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37943         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37944         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37947         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37948         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37949         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37950         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37951         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37952         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37954         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37955         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37957         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37959         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37960         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37961         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37962         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37963         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37965         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37966         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37967         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37968         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37969         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37970         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37971         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37972         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37973         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37974         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37975         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37976         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37977         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37979         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37980         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37982         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37984 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37986         [BZ #16041]
37987         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37988         make result into a quiet NaN.
37990 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37992         * soft-fp/adddf3.c: Fix horizontal whitespace.
37993         * soft-fp/addsf3.c: Likewise.
37994         * soft-fp/addtf3.c: Likewise.
37995         * soft-fp/divdf3.c: Likewise.
37996         * soft-fp/divsf3.c: Likewise.
37997         * soft-fp/divtf3.c: Likewise.
37998         * soft-fp/double.h: Likewise.
37999         * soft-fp/eqdf2.c: Likewise.
38000         * soft-fp/eqsf2.c: Likewise.
38001         * soft-fp/eqtf2.c: Likewise.
38002         * soft-fp/extenddftf2.c: Likewise.
38003         * soft-fp/extended.h: Likewise.
38004         * soft-fp/extendsfdf2.c: Likewise.
38005         * soft-fp/extendsftf2.c: Likewise.
38006         * soft-fp/extendxftf2.c: Likewise.
38007         * soft-fp/fixdfdi.c: Likewise.
38008         * soft-fp/fixdfsi.c: Likewise.
38009         * soft-fp/fixdfti.c: Likewise.
38010         * soft-fp/fixsfdi.c: Likewise.
38011         * soft-fp/fixsfsi.c: Likewise.
38012         * soft-fp/fixsfti.c: Likewise.
38013         * soft-fp/fixtfdi.c: Likewise.
38014         * soft-fp/fixtfsi.c: Likewise.
38015         * soft-fp/fixtfti.c: Likewise.
38016         * soft-fp/fixunsdfdi.c: Likewise.
38017         * soft-fp/fixunsdfsi.c: Likewise.
38018         * soft-fp/fixunsdfti.c: Likewise.
38019         * soft-fp/fixunssfdi.c: Likewise.
38020         * soft-fp/fixunssfsi.c: Likewise.
38021         * soft-fp/fixunssfti.c: Likewise.
38022         * soft-fp/fixunstfdi.c: Likewise.
38023         * soft-fp/fixunstfsi.c: Likewise.
38024         * soft-fp/fixunstfti.c: Likewise.
38025         * soft-fp/floatdidf.c: Likewise.
38026         * soft-fp/floatdisf.c: Likewise.
38027         * soft-fp/floatditf.c: Likewise.
38028         * soft-fp/floatsidf.c: Likewise.
38029         * soft-fp/floatsisf.c: Likewise.
38030         * soft-fp/floatsitf.c: Likewise.
38031         * soft-fp/floattidf.c: Likewise.
38032         * soft-fp/floattisf.c: Likewise.
38033         * soft-fp/floattitf.c: Likewise.
38034         * soft-fp/floatundidf.c: Likewise.
38035         * soft-fp/floatundisf.c: Likewise.
38036         * soft-fp/floatunditf.c: Likewise.
38037         * soft-fp/floatunsidf.c: Likewise.
38038         * soft-fp/floatunsisf.c: Likewise.
38039         * soft-fp/floatunsitf.c: Likewise.
38040         * soft-fp/floatuntidf.c: Likewise.
38041         * soft-fp/floatuntisf.c: Likewise.
38042         * soft-fp/floatuntitf.c: Likewise.
38043         * soft-fp/fmadf4.c: Likewise.
38044         * soft-fp/fmasf4.c: Likewise.
38045         * soft-fp/fmatf4.c: Likewise.
38046         * soft-fp/gedf2.c: Likewise.
38047         * soft-fp/gesf2.c: Likewise.
38048         * soft-fp/getf2.c: Likewise.
38049         * soft-fp/ledf2.c: Likewise.
38050         * soft-fp/lesf2.c: Likewise.
38051         * soft-fp/letf2.c: Likewise.
38052         * soft-fp/muldf3.c: Likewise.
38053         * soft-fp/mulsf3.c: Likewise.
38054         * soft-fp/multf3.c: Likewise.
38055         * soft-fp/negdf2.c: Likewise.
38056         * soft-fp/negsf2.c: Likewise.
38057         * soft-fp/negtf2.c: Likewise.
38058         * soft-fp/op-1.h: Likewise.
38059         * soft-fp/op-2.h: Likewise.
38060         * soft-fp/op-4.h: Likewise.
38061         * soft-fp/op-8.h: Likewise.
38062         * soft-fp/op-common.h: Likewise.
38063         * soft-fp/quad.h: Likewise.
38064         * soft-fp/single.h: Likewise.
38065         * soft-fp/soft-fp.h: Likewise.
38066         * soft-fp/sqrtdf2.c: Likewise.
38067         * soft-fp/sqrtsf2.c: Likewise.
38068         * soft-fp/sqrttf2.c: Likewise.
38069         * soft-fp/subdf3.c: Likewise.
38070         * soft-fp/subsf3.c: Likewise.
38071         * soft-fp/subtf3.c: Likewise.
38072         * soft-fp/truncdfsf2.c: Likewise.
38073         * soft-fp/trunctfdf2.c: Likewise.
38074         * soft-fp/trunctfsf2.c: Likewise.
38075         * soft-fp/trunctfxf2.c: Likewise.
38076         * soft-fp/unorddf2.c: Likewise.
38077         * soft-fp/unordsf2.c: Likewise.
38078         * soft-fp/unordtf2.c: Likewise.
38080 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38082         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38083         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38085 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38087         * elf/dl-libc.c: Clear initfini list after freeing.
38089 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38091         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38092         * soft-fp/addsf3.c: Likewise.
38093         * soft-fp/addtf3.c: Likewise.
38094         * soft-fp/divdf3.c: Likewise.
38095         * soft-fp/divsf3.c: Likewise.
38096         * soft-fp/divtf3.c: Likewise.
38097         * soft-fp/double.h: Likewise.
38098         * soft-fp/eqdf2.c: Likewise.
38099         * soft-fp/eqsf2.c: Likewise.
38100         * soft-fp/eqtf2.c: Likewise.
38101         * soft-fp/extenddftf2.c: Likewise.
38102         * soft-fp/extended.h: Likewise.
38103         * soft-fp/extendsfdf2.c: Likewise.
38104         * soft-fp/extendsftf2.c: Likewise.
38105         * soft-fp/extendxftf2.c: Likewise.
38106         * soft-fp/fixdfdi.c: Likewise.
38107         * soft-fp/fixdfsi.c: Likewise.
38108         * soft-fp/fixdfti.c: Likewise.
38109         * soft-fp/fixsfdi.c: Likewise.
38110         * soft-fp/fixsfsi.c: Likewise.
38111         * soft-fp/fixsfti.c: Likewise.
38112         * soft-fp/fixtfdi.c: Likewise.
38113         * soft-fp/fixtfsi.c: Likewise.
38114         * soft-fp/fixtfti.c: Likewise.
38115         * soft-fp/fixunsdfdi.c: Likewise.
38116         * soft-fp/fixunsdfsi.c: Likewise.
38117         * soft-fp/fixunsdfti.c: Likewise.
38118         * soft-fp/fixunssfdi.c: Likewise.
38119         * soft-fp/fixunssfsi.c: Likewise.
38120         * soft-fp/fixunssfti.c: Likewise.
38121         * soft-fp/fixunstfdi.c: Likewise.
38122         * soft-fp/fixunstfsi.c: Likewise.
38123         * soft-fp/fixunstfti.c: Likewise.
38124         * soft-fp/floatdidf.c: Likewise.
38125         * soft-fp/floatdisf.c: Likewise.
38126         * soft-fp/floatditf.c: Likewise.
38127         * soft-fp/floatsidf.c: Likewise.
38128         * soft-fp/floatsisf.c: Likewise.
38129         * soft-fp/floatsitf.c: Likewise.
38130         * soft-fp/floattidf.c: Likewise.
38131         * soft-fp/floattisf.c: Likewise.
38132         * soft-fp/floattitf.c: Likewise.
38133         * soft-fp/floatundidf.c: Likewise.
38134         * soft-fp/floatundisf.c: Likewise.
38135         * soft-fp/floatunsidf.c: Likewise.
38136         * soft-fp/floatunsisf.c: Likewise.
38137         * soft-fp/floatuntidf.c: Likewise.
38138         * soft-fp/floatuntisf.c: Likewise.
38139         * soft-fp/floatuntitf.c: Likewise.
38140         * soft-fp/fmadf4.c: Likewise.
38141         * soft-fp/fmasf4.c: Likewise.
38142         * soft-fp/fmatf4.c: Likewise.
38143         * soft-fp/gedf2.c: Likewise.
38144         * soft-fp/gesf2.c: Likewise.
38145         * soft-fp/getf2.c: Likewise.
38146         * soft-fp/ledf2.c: Likewise.
38147         * soft-fp/lesf2.c: Likewise.
38148         * soft-fp/letf2.c: Likewise.
38149         * soft-fp/muldf3.c: Likewise.
38150         * soft-fp/mulsf3.c: Likewise.
38151         * soft-fp/multf3.c: Likewise.
38152         * soft-fp/negdf2.c: Likewise.
38153         * soft-fp/negsf2.c: Likewise.
38154         * soft-fp/negtf2.c: Likewise.
38155         * soft-fp/op-1.h: Likewise.
38156         * soft-fp/op-2.h: Likewise.
38157         * soft-fp/op-4.h: Likewise.
38158         * soft-fp/op-8.h: Likewise.
38159         * soft-fp/op-common.h: Likewise.
38160         * soft-fp/quad.h: Likewise.
38161         * soft-fp/single.h: Likewise.
38162         * soft-fp/soft-fp.h: Likewise.
38163         * soft-fp/sqrtdf2.c: Likewise.
38164         * soft-fp/sqrtsf2.c: Likewise.
38165         * soft-fp/sqrttf2.c: Likewise.
38166         * soft-fp/subdf3.c: Likewise.
38167         * soft-fp/subsf3.c: Likewise.
38168         * soft-fp/subtf3.c: Likewise.
38169         * soft-fp/truncdfsf2.c: Likewise.
38170         * soft-fp/trunctfdf2.c: Likewise.
38171         * soft-fp/trunctfsf2.c: Likewise.
38172         * soft-fp/trunctfxf2.c: Likewise.
38173         * soft-fp/unorddf2.c: Likewise.
38174         * soft-fp/unordsf2.c: Likewise.
38175         * soft-fp/unordtf2.c: Likewise.
38177 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38179         [BZ #15672]
38180         * misc/error.c (error_tail): Fix possible buffer overflow.
38182 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38184         [BZ #13028]
38185         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38186         address.
38188 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38190         [BZ #832]
38191         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38192         testing pipefail option.
38194 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38196         * soft-fp/double.h: Indent preprocessor directives inside #if.
38197         * soft-fp/extended.h: Likewise.
38198         * soft-fp/op-2.h: Likewise.
38199         * soft-fp/op-4.h: Likewise.
38200         * soft-fp/op-common.h: Likewise.
38201         * soft-fp/quad.h: Likewise.
38202         * soft-fp/single.h: Likewise.
38203         * soft-fp/soft-fp.h: Likewise.
38205 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38207         * iconv/iconv_prog.c: Fix typos.
38208         * stdio-common/psiginfo-data.h: Likewise.
38210 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38212         [BZ #15764]
38213         * locale/setlocale.c: Fix typo.
38215 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38217         [BZ #16036]
38218         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38219         signaling NaN arguments.
38220         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38221         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38223         [BZ #14910]
38224         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38225         unordered operands.
38226         * soft-fp/gesf2.c (__gesf2): Likewise.
38227         * soft-fp/getf2.c (__getf2): Likewise.
38228         * soft-fp/ledf2.c (__ledf2): Likewise.
38229         * soft-fp/lesf2.c (__lesf2): Likewise.
38230         * soft-fp/letf2.c (__letf2): Likewise.
38232         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38233         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38234         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38235         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38236         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38237         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38238         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38239         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38240         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38241         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38242         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38243         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38244         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38245         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38246         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38247         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38248         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38249         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38250         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38251         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38252         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38253         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38254         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38255         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38256         * soft-fp/floattidf.c (__floattidf): Likewise.
38257         * soft-fp/floattisf.c (__floattisf): Likewise.
38258         * soft-fp/floattitf.c (__floattitf): Likewise.
38259         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38260         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38261         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38262         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38263         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38264         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38265         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38266         * soft-fp/gesf2.c (__gesf2): Likewise.
38267         * soft-fp/getf2.c (__getf2): Likewise.
38268         * soft-fp/ledf2.c (__ledf2): Likewise.
38269         * soft-fp/lesf2.c (__lesf2): Likewise.
38270         * soft-fp/letf2.c (__letf2): Likewise.
38272         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38273         Undefine and redefine.
38274         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38275         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38276         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38277         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38278         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38279         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38280         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38281         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38282         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38283         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38284         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38285         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38286         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38287         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38288         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38290         [BZ #16032]
38291         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38292         without decrementing exponent if mantissa >= that for the
38293         denominator, not >.
38294         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38295         denominator, not >.  Decrement exponent in < case instead of
38296         incrementing in >= case.
38297         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38298         without decrementing exponent if mantissa >= that for the
38299         denominator, not >.
38301         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38302         computing saturated result for unsigned overflow.
38304 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38305             Jeff Law  <law@redhat.com>
38307         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38308         (atan2Mp): Add systemtap probe marker.
38309         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38310         (__ieee754_log): Add systemtap probe marker.
38311         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38312         (atanMp): Add systemtap probe marker.
38313         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38314         (tanMp): Add systemtap probe marker.
38315         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38316         (__slowexp): Add systemtap probe marker.
38317         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38318         (__slowpow): Add systemtap probe marker.
38319         * manual/probes.texi: Document probes.
38321 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38323         [BZ #15362]
38324         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38325         written.
38326         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38327         written.
38328         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38329         written to buffer but not flushed.
38330         * libio/iofwrite_u.c:  Likewise.
38331         * libio/iopadn.c:  Return bytes returned even if EOF was
38332         encountered.
38333         * libio/iowpadn.c:  Likewise.
38334         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38335         if _IO_padn does not write the whole buffer.
38336         [!COMPILE_WPRINTF] (PAD): Likewise.
38338 2013-10-10  David S. Miller  <davem@davemloft.net>
38340         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38341         directory block.
38343 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38345         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38346         instead of FSF address.
38347         * soft-fp/fixdfti.c: Likewise.
38348         * soft-fp/fixsfti.c: Likewise.
38349         * soft-fp/fixtfti.c: Likewise.
38350         * soft-fp/fixunsdfti.c: Likewise.
38351         * soft-fp/fixunssfti.c: Likewise.
38352         * soft-fp/fixunstfti.c: Likewise.
38353         * soft-fp/floattidf.c: Likewise.
38354         * soft-fp/floattisf.c: Likewise.
38355         * soft-fp/floattitf.c: Likewise.
38356         * soft-fp/floatuntidf.c: Likewise.
38357         * soft-fp/floatuntisf.c: Likewise.
38358         * soft-fp/floatuntitf.c: Likewise.
38359         * soft-fp/trunctfxf2.c: Likewise.
38361         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38362         * soft-fp/fixdfti.c: Likewise.
38363         * soft-fp/fixsfti.c: Likewise.
38364         * soft-fp/fixtfti.c: Likewise.
38365         * soft-fp/fixunsdfti.c: Likewise.
38366         * soft-fp/fixunssfti.c: Likewise.
38367         * soft-fp/fixunstfti.c: Likewise.
38368         * soft-fp/floattidf.c: Likewise.
38369         * soft-fp/floattisf.c: Likewise.
38370         * soft-fp/floattitf.c: Likewise.
38371         * soft-fp/floatuntidf.c: Likewise.
38372         * soft-fp/floatuntisf.c: Likewise.
38373         * soft-fp/floatuntitf.c: Likewise.
38374         * soft-fp/trunctfxf2.c: Likewise.
38376 2013-10-10  David S. Miller  <davem@davemloft.net>
38378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38380 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38382         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38383         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38384         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38385         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38386         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38387         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38388         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38390         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38391         for NaNs before doing comparisons on argument.
38392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38393         Likewise.
38395 2013-10-10  Will Newton  <will.newton@linaro.org>
38397         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38398         passed to _int_memalign does not overflow.
38400 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38402         * scripts/bench.pl: Add include-sources directive.
38403         * benchtests/README: Update documentation.
38405 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38407         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38408         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38409         instead of FP_INIT_ROUNDMODE.
38410         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38411         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38413         [BZ #16034]
38414         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38415         copy class of input value.
38416         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38417         not handle exceptions.
38418         * soft-fp/negsf2.c (__negsf2): Likewise.
38419         * soft-fp/negtf2.c (__negtf2): Likewise.
38420         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38422 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38424         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38425         semicolon.  From Linux kernel.
38427 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38429         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38431 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38433         [BZ #156]
38434         * manual/socket.texi: Added statement about buffer
38435         for gethostbyname2_r.
38437 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38439         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38440         Use .p2align directive instead, throughout.
38441         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38442         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38443         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38444         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38445         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38446         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38447         * sysdeps/x86_64/strchr.S: Likewise.
38448         * sysdeps/x86_64/strrchr.S: Likewise.
38450 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38452         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38454         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38456         * sysdeps/generic/math_private.h (__mpsin1): Remove
38457         declaration.
38458         (__mpcos1): Likewise.
38459         (__mpsin): New argument __range_reduce.
38460         (__mpcos): Likewise.
38461         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38462         (slow): Use __mpsin and __mpcos.
38463         (slow1): Likewise.
38464         (slow2): Likewise.
38465         (sloww): Likewise.
38466         (sloww1): Likewise.
38467         (sloww2): Likewise.
38468         (bsloww): Likewise.
38469         (bsloww1): Likewise.
38470         (bsloww2): Likewise.
38471         (cslow2): Likewise.
38472         (csloww): Likewise.
38473         (csloww1): Likewise.
38474         (csloww2): Likewise.
38475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38476         range_reduce.  Merge in __mpsin1.
38477         (__mpcos): Likewise.
38478         (__mpsin1): Remove.
38479         (__mpcos1): Likewise.
38481 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38483         * locale/loadlocale.c (_nl_intern_locale_data): Use
38484         LOCFILE_ALIGNED_P.
38485         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38486         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38487         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38488         obstack data is appropriately aligned.
38489         (obstack_int32_grow_fast): Likewise.
38490         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38491         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38492         (add_locale_uint32_array): Likewise.
38494 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38496         * benchtests/Makefile: Remove ARGLIST and RET variables.
38497         ($(objpfx)bench-%.c): Pass only function name to the script.
38498         * benchtests/README: Update documentation.
38499         * benchtests/acos-inputs: Add new directives.
38500         * benchtests/acosh-inputs: Likewise.
38501         * benchtests/asin-inputs: Likewise.
38502         * benchtests/asinh-inputs: Likewise.
38503         * benchtests/atan-inputs: Likewise.
38504         * benchtests/atanh-inputs: Likewise.
38505         * benchtests/cos-inputs: Likewise.
38506         * benchtests/cosh-inputs: Likewise.
38507         * benchtests/exp-inputs: Likewise.
38508         * benchtests/log-inputs: Likewise.
38509         * benchtests/pow-inputs: Likewise.
38510         * benchtests/rint-inputs: Likewise.
38511         * benchtests/sin-inputs: Likewise.
38512         * benchtests/sinh-inputs: Likewise.
38513         * benchtests/tan-inputs: Likewise.
38514         * benchtests/tanh-inputs: Likewise.
38515         * scripts/bench.pl: Add support for new directives.
38517 2013-10-07  Alan Modra  <amodra@gmail.com>
38519         * README: Fix careless merge.
38521 2013-10-05  Alan Modra  <amodra@gmail.com>
38523         * NEWS: Mention powerpc64le support and bugs fixed.
38524         * README: Both big-endian and little-endian powerpc64 supported.
38526 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38528         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38529         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38530         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38531         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38533 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38535         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38536         match prototype.
38538 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38540         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38541         Move -mhard-float appending from
38542         ports/sysdeps/powerpc/powerpc32/Makefile.
38543         [$(with-fp) = yes] (ASFLAGS): Likewise.
38544         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38545         * sysdeps/powerpc/nofpu: Move directory from
38546         ports/sysdeps/powerpc/nofpu.
38547         * sysdeps/powerpc/soft-fp: Move directory from
38548         ports/sysdeps/powerpc/soft-fp.
38549         * sysdeps/powerpc/powerpc32/405: Move directory from
38550         ports/sysdeps/powerpc/powerpc32/405.
38551         * sysdeps/powerpc/powerpc32/440: Move directory from
38552         ports/sysdeps/powerpc/powerpc32/440.
38553         * sysdeps/powerpc/powerpc32/464: Move directory from
38554         ports/sysdeps/powerpc/powerpc32/464.
38555         * sysdeps/powerpc/powerpc32/476: Move directory from
38556         ports/sysdeps/powerpc/powerpc32/476.
38557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38558         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38562         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38566         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38567         * README: Update for powerpc-*-linux-gnu software floating point
38568         support in libc.
38570         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38571         case to powerpc/powerpc32*.
38572         * sysdeps/unix/sysv/linux/configure: Regenerated.
38574         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38575         (_FPU_MASK_OM): Define as 0x04.
38576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38578         0x00c10080.
38579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38580         0x0000003c.
38581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38584         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38585         getcontext_e500.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38587         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38588         setcontext_e500.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38590         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38591         and setcontext_e500.
38593 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38595         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38597 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38599         * manual/threads.texi (Default Thread Attributes): Fix typo.
38601 2013-10-04  Will Newton  <will.newton@linaro.org>
38603         * malloc/Makefile: Add tst-memalign.
38604         * malloc/tst-memalign.c: New file.
38606         * malloc/tst-posix_memalign.c: Add comments.
38607         (do_test): Add comments and call free on all potentially
38608         allocated pointers. Add space after cast.
38610         * malloc/tst-pvalloc.c: Add comments.
38611         (do_test): Add comments and call free on all potentially
38612         allocated pointers. Remove duplicate check for NULL pointer.
38613         Add space after cast.
38615         * malloc/tst-valloc.c: Add comments.
38616         (do_test): Add comments and call free on all potentially
38617         allocated pointers. Remove duplicate check for NULL pointer.
38618         Add space after cast.
38620 2013-10-04  Alan Modra  <amodra@gmail.com>
38622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38623         Use stdint types in rather than __attribute__((mode())).
38624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38626 2013-10-04  Alan Modra  <amodra@gmail.com>
38628         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38629         Correct handling of unaligned relocs for little-endian.
38630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38632 2013-10-04  Alan Modra  <amodra@gmail.com>
38634         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38635         * configure: Regenerate.
38636         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38637         * shlib-versions: Likewise.
38639 2013-10-04  Alan Modra  <amodra@gmail.com>
38641         * string/tester.c (test_memrchr): Increment reported test cycle.
38643 2013-10-04  Alan Modra  <amodra@gmail.com>
38645         * string/test-memcpy.c (do_one_test): When reporting errors, print
38646         string address and don't overrun end of string.
38648 2013-10-04  Alan Modra  <amodra@gmail.com>
38650         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38651         insrdi.  Make better use of reg selection to speed exit slightly.
38652         Schedule entry path a little better.  Remove useless "are we done"
38653         checks on entry to main loop.  Handle wrapping around zero address.
38654         Correct main loop count.  Handle single left-over word from main
38655         loop inline rather than by using loop_small.  Remove extra word
38656         case in loop_small caused by wrong loop count.  Add little-endian
38657         support.
38658         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38660         cache hint.
38661         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38662         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38663         support.  Avoid rlwimi.
38664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38666 2013-10-04  Alan Modra  <amodra@gmail.com>
38668         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38669         insrdi.  Formatting.
38670         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38671         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38672         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38673         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38674         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38675         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38677 2013-10-04  Alan Modra  <amodra@gmail.com>
38679         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38681         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38682         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38683         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38684         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38685         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38686         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38687         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38688         use of regs.  Use power7 mtocrf.  Tidy function tails.
38690 2013-10-04  Alan Modra  <amodra@gmail.com>
38692         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38693         Formatting.  Consistently use rXXX register defines or rN defines.
38694         Use early exit labels that avoid restoring unused non-volatile regs.
38695         Make cr field use more consistent with rWORDn compares.  Rename
38696         regs used as shift registers for unaligned loop, using rN defines
38697         for short lifetime/multiple use regs.
38698         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38699         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38700         addi 1,1,64 to pop stack frame.  Simplify return value code.
38701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38703 2013-10-04  Alan Modra  <amodra@gmail.com>
38705         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38706         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38707         rather than rlwimi.
38708         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38709         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38710         little-endian support.  Correct typos.
38711         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38712         rather than rlwimi.
38713         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38714         in loop and entry code to keep "and." results.
38715         (strchr): Add little-endian support.  Comment.  Move cntlzd
38716         earlier in tail.
38717         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38719 2013-10-04  Alan Modra  <amodra@gmail.com>
38721         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38722         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38723         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38724         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38726 2013-10-04  Alan Modra  <amodra@gmail.com>
38728         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38729         (rTMP): Define as r11.
38730         (strcmp): Add little-endian support.  Optimise tail.
38731         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38732         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38733         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38734         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38735         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38736         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38737         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38739 2013-10-04  Alan Modra  <amodra@gmail.com>
38741         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38742         little-endian support.  Remove unnecessary "are we done" tests.
38743         Handle "s" wrapping around zero and extremely large "size".
38744         Correct main loop count.  Handle single left-over word from main
38745         loop inline rather than by using small_loop.  Correct comments.
38746         Delete "zero" tail, use "end_max" instead.
38747         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38749 2013-10-04  Alan Modra  <amodra@gmail.com>
38751         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38752         support.  Don't branch over align.
38753         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38754         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38755         support.  Rearrange tmp reg use to suit.  Comment.
38756         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38758 2013-10-04  Alan Modra  <amodra@gmail.com>
38760         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38762 2013-10-04  Alan Modra  <amodra@gmail.com>
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38765         conditional form of branch and link when obtaining pc.
38766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38768 2013-10-04  Alan Modra  <amodra@gmail.com>
38770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38771         HIWORD/LOWORD.
38772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38775 2013-10-04  Alan Modra  <amodra@gmail.com>
38777         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38778         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38779         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38780         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38781         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38783         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38784         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38785         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38786         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38788 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38789             Alistair Popple <alistair@ozlabs.au.ibm.com>
38790             Alan Modra <amodra@gmail.com>
38792         [BZ #15723]
38793         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38794         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38795         _dl_hwcap access for little-endian.
38796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38797         destroy vmx regs when saving unaligned.
38798         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38799         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38800         destroy vmx regs when saving unaligned.
38802 2013-10-04  Alan Modra  <amodra@gmail.com>
38804         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38805         Don't use a union to pack hi/low value.
38807 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38809         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38810         for little-endian.
38811         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38812         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38813         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38814         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38815         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38817 2013-10-04  Alan Modra  <amodra@gmail.com>
38819         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38820         constants to usual value for .cst8 section, and remove redundant
38821         high address load.
38822         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38823         constant for 0x1p52.  Load little-endian words of double from
38824         correct stack offsets.
38826 2013-10-04  Alan Modra  <amodra@gmail.com>
38828         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38829         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38830         words of double from correct stack offsets.
38831         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38832         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38833         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38834         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38835         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38836         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38837         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38838         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38839         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38840         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38841         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38842         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38843         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38844         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38845         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38846         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38847         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38849 2013-10-04  Alan Modra  <amodra@gmail.com>
38851         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38852         64-bit int/double union.
38853         (_FPU_SETCW): Likewise.
38854         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38855         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38857 2013-10-04  Alan Modra  <amodra@gmail.com>
38859         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38860         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38862 2013-10-04  Alan Modra  <amodra@gmail.com>
38864         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38865         use vector int constants.
38866         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38870         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38871         array with long long.
38872         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38873         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38874         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38875         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38876         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38877         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38878         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38879         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38880         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38881         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38882         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38883         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38884         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38886 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38888         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38889         (__signbit): Likewise.  Correct for little-endian.
38890         (__signbitl): Call __signbit.
38891         (lrint): Correct for little-endian.
38892         (lrintf): Call lrint.
38894 2013-10-04  Alan Modra  <amodra@gmail.com>
38896         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38897         union 32-bit int array member with 64-bit int array.
38898         (t515, tm256): Double rather than long double.
38899         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38901 2013-10-04  Alan Modra  <amodra@gmail.com>
38903         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38904         Delete.
38905         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38907         version of math_ldbl.h.
38909 2013-10-04  Alan Modra  <amodra@gmail.com>
38911         [BZ #15734], [BZ #15735]
38912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38913         all uses of ieee875 long double macros and unions.  Simplify test
38914         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38915         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38916         normalize after ldbl_extract_mantissa, and don't add hidden bit
38917         already handled.  Don't treat low word of ieee854 mantissa like
38918         low word of IBM long double and mask off bit when testing for
38919         zero.
38920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38921         all uses of ieee875 long double macros and unions.  Simplify tests
38922         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38923         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38924         two1022, instead use their values.  Recognise that tests for large
38925         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38926         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38927         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38928         test for 0.0L and nan.  Correct negation.
38929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38930         ieee875 long double macros and unions.  Correct output for large
38931         magnitude x.  Correct absolute value calculation.
38932         (__erfcl): Likewise.
38933         * math/libm-test.inc: Add tests for errors discovered in IBM long
38934         double versions of fmodl, remainderl, erfl and erfcl.
38936 2013-10-04  Alan Modra  <amodra@gmail.com>
38938         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38939         all uses of ieee854 long double macros and unions.  Simplify tests
38940         for long doubles that are fully specified by the high double.
38941         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38942         Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38944         Remove dead code too.
38945         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38946         (__ieee754_ynl): Likewise.
38947         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38950         Remove dead code too.
38951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38955         Simplify.
38956         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38957         Simplify.
38958         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38961         Comment on variable precision.
38962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38964         Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38969         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38971 2013-10-04  Alan Modra  <amodra@gmail.com>
38973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38975         all uses of ieee854 long double macros and unions.
38976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38982         Likewise.
38983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38985         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38986         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38987         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38988         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38989         Simplify sign and nan test too.
38990         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38991         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38993         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38994         Likewise.
38995         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38996         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38997         Likewise.
38998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38999         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39000         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39001         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39002         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39005 2013-10-04  Alan Modra  <amodra@gmail.com>
39007         * stdio-common/printf_size.c (__printf_size): Don't use
39008         union ieee854_long_double in fpnum union.
39009         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39010         signbit macro to retrieve sign from long double.
39011         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39012         retrieve sign from long double.
39013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39014         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39015         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39016         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39017         * math/test-misc.c (main): Don't use union ieee854_long_double.
39019 2013-10-04  Alan Modra  <amodra@gmail.com>
39021         [BZ #15680]
39022         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39023         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39024         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39025         calculation.  Remove unnecessary test for denormal exponent.
39026         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39027         Correct handling of denormals.  Avoid undefined shift behaviour.
39028         Correct normalisation of low mantissa when low double is denormal.
39029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39030         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39031         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39032         Correct normalisation of low mantissa.  Test for overflow of high
39033         mantissa and normalise.
39034         (ldbl_nearbyint): Use more readable constant for two52.
39035         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39036         (__mpn_construct_long_double): Fix test for overflow of high
39037         mantissa and correct normalisation.  Avoid undefined shift.
39039 2013-10-04  Alan Modra  <amodra@gmail.com>
39041         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39042         (union ibm_extended_long_double): Define as an array of ieee754_double.
39043         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39044         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39045         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39046         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39055 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39057         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39058         page size instead of calling getpagesize.
39060         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39061         (LOCFILE_ALIGN_MASK): Likewise.
39062         (LOCFILE_ALIGN_UP): Likewise.
39063         (LOCFILE_ALIGNED_P): Likewise.
39064         * locale/programs/ld-collate.c (collate_output): Use the new
39065         macros instead of __alignof__ (int32_t).
39066         * locale/weight.h (findidx): Likewise.
39068 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39070         [BZ #431]
39071         * manual/string.texi: Fix strncat and wcsncat.
39073 2013-10-03  Brooks Moses  <bmoses@google.com>
39075         [BZ #15915]
39076         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39077         * Makerules: ...here, and adjust associated comments.
39079 2013-10-02  Will Newton  <will.newton@linaro.org>
39081         * malloc/Makefile: Add tst-pvalloc.
39082         * malloc/tst-pvalloc.c: New file.
39084 2013-10-02  Will Newton  <will.newton@linaro.org>
39086         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39087         improve test coverage.
39089 2013-10-02  Will Newton  <will.newton@linaro.org>
39091         * malloc/Makefile: Add tst-posix_memalign.
39092         * malloc/tst-posix_memalign.c: New file.
39094 2013-10-01  Eric Blake  <eblake@redhat.com>
39096         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39097         Use __THROWNL rather than __THROW on static functions.
39099 2013-09-30  Petr Machata  <pmachata@redhat.com>
39101         * elf/elf.h (R_AARCH64_ABS16): New macro.
39102         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39103         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39104         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39105         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39106         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39107         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39108         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39109         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39110         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39111         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39112         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39113         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39114         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39115         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39116         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39117         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39118         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39119         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39120         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39121         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39122         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39123         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39124         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39125         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39126         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39127         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39128         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39129         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39130         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39131         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39132         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39133         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39134         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39135         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39136         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39137         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39138         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39139         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39140         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39141         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39142         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39143         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39144         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39145         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39146         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39147         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39148         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39149         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39150         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39151         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39152         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39153         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39154         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39155         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39156         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39157         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39158         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39159         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39160         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39161         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39162         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39163         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39164         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39165         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39166         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39167         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39168         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39169         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39170         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39171         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39172         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39173         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39174         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39175         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39176         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39177         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39178         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39179         (R_AARCH64_TLSDESC_LDR): Likewise.
39180         (R_AARCH64_TLSDESC_ADD): Likewise.
39181         (R_AARCH64_TLSDESC_CALL): Likewise.
39183 2013-09-30  Andreas Schwab  <schwab@suse.de>
39185         [BZ #15048]
39186         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39187         the nss database lookup.
39188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39191 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39193         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39195 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39197         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39198         ${Bash-specific parameter/pattern/string} parameter expansion.
39199         * sysdeps/unix/make-syscalls.sh: Likewise.
39201 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39203         * sysdeps/sh/stackguard-macros.h: New file.
39205 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39209         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39210         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39212         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39214 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39216         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39217         Fix thread ID register.
39219 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39221         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39222         [POSIX || UNIX98]: Require rather than permitting all symbols from
39223         <time.h>.
39224         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39225         element of struct sched_param.
39226         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39227         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39228         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39229         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39230         constant.
39232 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39234         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39235         argument calculation.
39237 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39239         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39240         Expect macro.
39241         [POSIX] (pthread_attr_t): Do not require type.
39242         [POSIX] (pthread_cond_t): Likewise.
39243         [POSIX] (pthread_condattr_t): Likewise.
39244         [POSIX] (pthread_key_t): Likewise.
39245         [POSIX] (pthread_mutex_t): Likewise.
39246         [POSIX] (pthread_mutexattr_t): Likewise.
39247         [POSIX] (pthread_once_t): Likewise.
39248         [POSIX] (pthread_t): Likewise.
39249         [POSIX-based standards] (pthread_atfork): Expect function.
39251 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39252             Richard Sandiford  <richard@codesourcery.com>
39254         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39255         (swap_endianness_p): New extern variable.
39256         (set_big_endian): New inline function.
39257         (maybe_swap_uint32): Likewise.
39258         (maybe_swap_uint32_array): Likewise.
39259         (maybe_swap_uint32_obstack): Likewise.
39260         * locale/programs/locfile.c: Include <stdbool.h>.
39261         (swap_endianness_p): New variable.
39262         (add_locale_uint32): Call maybe_swap_uint32.
39263         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39264         (write_locale_data): Call maybe_swap_uint32_array.
39265         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39266         maybe_swap_uint32.
39267         (obstack_int32_grow_fast): Likewise.
39268         (output_weightwc): Call maybe_swap_uint32_obstack.
39269         (collate_output): Likewise.
39270         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39271         (OPT_LITTLE_ENDIAN): Likewise.
39272         (options): Add --little-endian and --big-endian options.
39273         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39274         * locale/programs/locarchive.c: Include "locfile.h".
39275         (GET): New macro.
39276         (SET): Likewise.
39277         (INC): Likewise.
39278         (create_archive): Use the new macros to access fields of
39279         structures directly mapped from or written to locale archives.
39280         (oldlocrecentcmp): Likewise.
39281         (enlarge_archive): Likewise.
39282         (insert_name): Likewise.
39283         (add_alias): Likewise.
39284         (add_locale): Likewise.
39285         (delete_locales_from_archive): Likewise.
39286         (show_archive_content): Likewise.
39287         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39288         locale data.
39290 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39292         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39293         http://www.gnu.org/doc/freemanuals.texi.
39294         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39296 2013-09-24  Will Newton  <will.newton@linaro.org>
39298         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39299         macro.
39301 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39303         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39304         unsigned char.
39306 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39308         * manual/threads.texi (POSIX Threads): Fix a typo.
39310 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39312         [BZ #14547]
39313         * string/tst-strcoll-overflow.c: New test case.
39314         * string/Makefile (xtests): Add tst-strcoll-overflow.
39315         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39316         cache if string sizes may cause integer overflow.
39318         [BZ #14547]
39319         * string/strcoll_l.c (coll_seq): New members rule, idx,
39320         save_idx and back_us.
39321         (get_next_seq_nocache): New function.
39322         (do_compare_nocache): New function.
39323         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39324         when malloc fails.
39326 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39328         [BZ #15754]
39329         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39330         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39331         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39333         [BZ #15754]
39334         * elf/Makefile (tests): Add tst-ptrguard1.
39335         (tests-static): Add tst-ptrguard1-static.
39336         (tst-ptrguard1-ARGS): Define.
39337         (tst-ptrguard1-static-ARGS): Define.
39338         * elf/tst-ptrguard1.c: New file.
39339         * elf/tst-ptrguard1-static.c: New file.
39340         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39341         * sysdeps/i386/stackguard-macros.h: Likewise.
39342         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39343         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39344         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39345         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39346         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39347         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39349 2013-09-23  Hector Marco  <hecmargi@upv.es>
39350             Ismael Ripoll  <iripoll@disca.upv.es>
39351             Carlos O'Donell  <carlos@redhat.com>
39353         [BZ #15754]
39354         * sysdeps/generic/stackguard-macros.h: Define
39355         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39356         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39357         Define __pointer_chk_guard_local.
39358         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39359         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39361 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39363         [BZ #15859]
39364         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39366 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39368         * include/string.h (__ffs): Declare as hidden.
39369         * string/ffs.c (__ffs): Define as hidden.
39370         * sysdeps/i386/ffs.c (__ffs): Likewise.
39371         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39372         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39373         * sysdeps/s390/ffs.c (__ffs): Likewise.
39374         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39376 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39378         * NEWS: Mention malloc probes.
39380         * malloc/arena.c (new_heap): New memory_heap_new probe.
39381         (grow_heap): New memory_heap_more probe.
39382         (shrink_heap): New memory_heap_less probe.
39383         (heap_trim): New memory_heap_free probe.
39384         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39385         (systrim): New memory_sbrk_less probe.
39386         * manual/probes.texi: Document them.
39388         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39389         * manual/probes.texi: Document it.
39391         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39392         (__libc_realloc): Add memory_realloc_retry probe.
39393         (__libc_memalign): Add memory_memalign_retry probe.
39394         (__libc_valloc): Add memory_valloc_retry probe.
39395         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39396         (__libc_calloc): Add memory_calloc_retry probe.
39397         * manual/probes.texi: Document them.
39399         * malloc/arena.c (get_free_list): Add probe
39400         memory_arena_reuse_free_list.
39401         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39402         and memory_arena_reuse.
39403         (arena_get2) [!PER_THREAD]: Likewise.
39404         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39405         memory_arena_reuse_realloc.
39406         * manual/probes.texi: Document them.
39408         * malloc/malloc.c (__libc_free): Add
39409         memory_mallopt_free_dyn_thresholds probe.
39410         (__libc_mallopt): Add multiple memory_mallopt probes.
39411         * manual/probes.texi: Document them.
39413         * malloc/malloc.c: Include stap-probe.h.
39414         (__libc_mallopt): Add memory_mallopt probe.
39415         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39416         * manual/probes.texi: New.
39417         * manual/Makefile (chapters): Add probes.
39418         * manual/threads.texi: Set next node.
39420 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39422         [BZ #15963, #13985]
39423         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39424         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39425         Add `Chinese' to `nan' entry name.
39427 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39429         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39430         (POLYNOMIAL): Likewise.
39431         (TAYLOR_SINCOS): Likewise.
39432         (TAYLOR_SLOW): Likewise.
39433         (__sin): Use TAYLOR_SINCOS.
39434         (__cos): Likewise.
39435         (slow): Use TAYLOR_SLOW.
39436         (sloww): Likewise.
39437         (bsloww): Likewise.
39438         (csloww): Likewise.
39440 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39442         * stdlib/strtod_l.c: Fix buffer overrun.
39444 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39446         * benchtests/Makefile (bench): Add sincos.
39447         * benchtests/bench-sincos.c: New file.
39449         * math/libm-test.inc (cos_test_data): New test inputs.
39450         (sin_test_data): Likewise.
39452         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39453         macro.
39454         (__sin): Use it.
39455         (__cos): Likewise.
39456         (slow1): Likewise.
39457         (slow2): Likewise.
39458         (sloww1): Likewise.
39459         (sloww2): Likewise.
39460         (bsloww1): Likewise.
39461         (bsloww2): Likewise.
39462         (cslow2): Likewise.
39463         (csloww1): Likewise.
39464         (csloww2): Likewise.
39466         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39467         function.
39468         (__sin): Use it.
39469         (__cos): Likewise.
39471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39472         gotos.
39473         (__cos): Likewise.
39475 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39477         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39478         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39479         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39480         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39481         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39482         * elf/cache.c (print_entry): Handle the new cache flags.
39484 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39485             Aldy Hernandez  <aldyh@redhat.com>
39487         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39488         Change condition to [_SOFT_FLOAT].
39489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39501         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39504         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39505         declaration.
39507 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39509         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39510         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39511         (__longjmp): Use LOAD_GP to load saved GPRs.
39512         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39513         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39514         (__sigsetjmp): Use SAVE_GP to save GPRs.
39516         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39517         Do not append -msoft-float.
39518         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39520 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39522         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39524 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39526         [BZ #15966]
39527         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39528         (_FPU_GETCW): Use initial "__" on variable and field names but not
39529         on macro parameter name.
39530         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39531         parentheses around reference to macro parameter.
39533 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39535         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39536         prototype.
39537         (ctype_startup): Use uint32_t in cast and sizeof for
39538         ctype->charnames.
39540 2013-09-11  Jia Liu  <proljc@gmail.com>
39542         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39543         __daddr_t_defined.
39544         [__FreeBSD__]: Likewise.
39546 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39549         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39550         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39551         (strchr): Remove __strchr_sse42 ifunc selection.
39552         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39553         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39555 2013-09-11  Will Newton  <will.newton@linaro.org>
39557         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39558         parameter to RES. Remove hardcoded 1000 value.
39559         * benchtests/bench-skeleton.c (main): Pass RES parameter
39560         to TIMING_INIT and multiply result by 1000.
39562 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39566 2013-09-11  Andreas Schwab  <schwab@suse.de>
39568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39569         if not defined.
39570         (O_TMPFILE) [__USE_GNU]: Define.
39571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39572         Define.
39574 2013-09-11  Will Newton  <will.newton@linaro.org>
39576         [BZ #15857]
39577         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39578         does not overflow.
39580 2013-09-11  Will Newton  <will.newton@linaro.org>
39582         [BZ #15856]
39583         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39584         does not overflow.
39586 2013-09-11  Will Newton  <will.newton@linaro.org>
39588         [BZ #15855]
39589         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39590         does not overflow.
39592 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39594         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39595         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39596         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39597         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39598         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39600 2013-09-10  Allan McRae  <allan@archlinux.org>
39602         [BZ #15748]
39603         * manual/arith.texi (Parsing of Floats): Clarify
39604         cross-reference.
39606         [BZ #15849]
39607         * manual/install.texi (Running make install): Mention
39608         --enable-pt-chown.
39609         * INSTALL: Regenerated.
39611 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39613         * csu/init-first.c (_init): Remove the !SHARED condition around
39614         FPU control word initialization.
39615         * elf/dl-support.c (_dl_fpu_control): New variable.
39616         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39617         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39618         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39619         * math/test-fpucw-static.c: New file.
39620         * math/test-fpucw-ieee.c: New file.
39621         * math/test-fpucw-ieee-static.c: New file.
39622         * math/Makefile (tests): Add `test-fpucw-ieee' and
39623         `$(tests-static)'.
39624         (tests-static): New variable.
39625         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39626         dependency to...
39627         [($(build-shared),yes)]
39628         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39629         ... this.
39630         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39631         New dependency.
39633 2013-09-09  Allan McRae  <allan@archlinux.org>
39635         [BZ #15939]
39636         * manual/string.texi (Collation Functions): Fix typo in
39637         strcoll example.
39638         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39640         [BZ #15893]
39641         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39643         [BZ #15892]
39644         * libio/memstream.c (open_memstream): Fix memory leak.
39645         * libio/wmemstream.c (open_wmemstream): Likewise.
39647         [BZ #15895]
39648         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39650 2013-09-09  Will Newton  <will.newton@linaro.org>
39652         * malloc/Makefile: Add tst-realloc to tests.
39653         * malloc/tst-realloc.c: New file.
39655 2013-09-09  Allan McRae  <allan@archlinux.org>
39657         [BZ #15844]
39658         * COPYING: Update from GNU website to fix FSF address.
39659         * COPYING.LIB: Likewise.
39661 2013-09-06  David S. Miller  <davem@davemloft.net>
39663         * po/zh_TW.po: Update Chinese (traditional) translation from
39664         translation project.
39666 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39667             Joseph Myers  <joseph@codesourcery.com>
39669         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39670         "localeinfo.h".
39671         (obstack_chunk_alloc): New macro.
39672         (obstack_chunk_free): Likewise.
39673         (record_offset): New function.
39674         (init_locale_data): Likewise.
39675         (align_locale_data): Likewise.
39676         (add_locale_empty): Likewise.
39677         (add_locale_raw_data): Likewise.
39678         (add_locale_raw_obstack): Likewise.
39679         (add_locale_string): Likewise.
39680         (add_locale_wstring): Likewise.
39681         (add_locale_uint32): Likewise.
39682         (add_locale_uint32_array): Likewise.
39683         (add_locale_char): Likewise.
39684         (start_locale_structure): Likewise.
39685         (end_locale_structure): Likewise.
39686         (start_locale_prelude): Likewise.
39687         (end_locale_prelude): Likewise.
39688         (write_locale_data): Take locale_file structure rather than an
39689         iovec.
39690         * locale/programs/locfile.h: Include "obstack.h".
39691         (struct locale_file): Change to store locale file contents instead
39692         of header.
39693         (init_locale_data): New prototype.
39694         (align_locale_data): Likewise.
39695         (add_locale_empty): Likewise.
39696         (add_locale_raw_data): Likewise.
39697         (add_locale_raw_obstack): Likewise.
39698         (add_locale_string): Likewise.
39699         (add_locale_wstring): Likewise.
39700         (add_locale_uint32): Likewise.
39701         (add_locale_uint32_array): Likewise.
39702         (add_locale_char): Likewise.
39703         (start_locale_structure): Likewise.
39704         (end_locale_structure): Likewise.
39705         (start_locale_prelude): Likewise.
39706         (end_locale_prelude): Likewise.
39707         (write_locale_data): Update prototype.
39708         * locale/programs/3level.h (struct TABLE): Remove result field.
39709         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39710         Use new locale_file interface.
39711         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39712         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39713         * locale/programs/ld-address.c (address_output): Use new
39714         locale_file interface.
39715         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39716         NO_ADD_LOCALE.
39717         (collate_finish): Don't call collseq_table_finalize.
39718         (collate_output): Use new locale_file interface.
39719         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39720         in file.
39721         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39722         (TABLE): Move defines earlier in file.
39723         (ELEMENT): Likewise.
39724         (DEFAULT): Likewise.
39725         (wctrans_table_add): Move macro and inline function earlier in
39726         file.
39727         (struct wctype_table): Move type earlier in file.
39728         (add_locale_wctype_table): New static prototype.
39729         (struct locale_ctype_t): Use logical types instead of struct iovec
39730         pointers for members.
39731         (ctype_output): Use new locale_file interface.
39732         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39733         new locale_file interface.
39734         (allocate_arrays): Update for use of new locale_file interface.
39735         * locale/programs/ld-identification.c (identification_output): Use
39736         new locale_file interface.
39737         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39738         * locale/programs/ld-messages.c (messages_output): Likewise.
39739         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39740         * locale/programs/ld-name.c (name_output): Likewise.
39741         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39742         * locale/programs/ld-paper.c (paper_output): Likewise.
39743         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39744         * locale/programs/ld-time.c (time_output): Likewise.
39746 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39748         * benchtests/Makefile: Add memrchr benchmark.
39749         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39750         benchmark as memrchr.
39751         * benchtests/bench-memrchr-ifunc.c: New file.
39752         * benchtests/bench-memrchr.c: New file.
39754 2013-09-06   Will Newton  <will.newton@linaro.org>
39756         * benchtests/Makefile (string-bench): Add memcpy.
39758 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39759             Cong Wang  <amwang@redhat.com>
39761         [BZ #15850]
39762         * sysdeps/unix/sysv/linux/bits/in.h
39763         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39764         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39765         before __USE_KERNEL_IPV6_DEFS uses.
39766         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39767         IPPROTO_BEETPH.
39768         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39769         sockaddr_in6, or ipv6_mreq.
39771 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39773         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39774         memory access for final bytes in some large inputs.
39775         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39777 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39779         * string/test-memrchr.c: New file.
39780         * string/test-memrchr-ifunc.c: New file.
39781         * string/Makefile: Add new memrchr testcase.
39783 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39785         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39786         fanotify_init returns EPERM.
39788 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39790         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39791         errors.
39792         (top level): Treat second token from macro or constant entries for
39793         allowed headers as allowed.
39794         * include/complex.h: Condition internal declarations on
39795         [!_ISOMAC].
39796         * include/fenv.h: Condition include of <stdbool.h> and internal
39797         declarations on [!_ISOMAC].
39799 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39801         [BZ #15923]
39802         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39804 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39806         * configure.in (--enable-versioning): Remove configure option.
39807         (libc_cv_asm_symver_directive): Remove configure test.
39808         (libc_cv_ld_version_script_option): Likewise.
39809         (VERSIONING): Remove variable and AC_SUBST.
39810         (DO_VERSIONING): Remove AC_DEFINE.
39811         * configure: Regenerated.
39812         * config.h.in (DO_VERSIONING): Remove macro.
39813         * Makerules [$(versioning) = yes]: Change conditionals to
39814         [$(build-shared) = yes].
39815         * config.make.in (versioning): Remove variable.
39816         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39817         [$(build-shared) = yes].
39818         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39819         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39820         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39821         [$(build-shared) = yes].
39822         * extra-lib.mk [$(versioning) = yes]: Likewise.
39823         * hurd/Makefile [$(versioning) = yes]: Likewise.
39824         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39825         [SHARED].
39826         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39827         [SHARED].
39828         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39829         [SHARED && !NO_HIDDEN].
39830         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39831         [SHARED].
39832         [SHARED && DO_VERSIONING]: Likewise..
39833         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39834         [$(build-shared) = yes].
39835         * manual/install.texi (--disable-versioning): Remove
39836         documentation.
39837         * INSTALL: Regenerated.
39838         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39839         to [SHARED].
39840         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39841         [$(build-shared) = yes].
39842         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39843         * sysdeps/i386/i686/multiarch/strstr-c.c
39844         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39845         [SHARED && !NO_HIDDEN].
39846         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39847         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39848         * sysdeps/powerpc/powerpc32/dl-machine.c
39849         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39850         * sysdeps/powerpc/powerpc32/sysdep.h
39851         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39852         to [SHARED && PIC && !NO_HIDDEN].
39853         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39854         conditional to [SHARED].
39856 2013-09-04   Will Newton  <will.newton@linaro.org>
39858         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39859         * benchtests/bench-string.h: Include bench-timing.h instead
39860         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39861         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39862         call to HP_TIMING_DIFF_INIT.
39863         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39864         instead of hp-timing.h macros.
39865         * benchtests/bench-memchr.c: Likewise.
39866         * benchtests/bench-memcmp.c: Likewise.
39867         * benchtests/bench-memcpy.c: Likewise.
39868         * benchtests/bench-memmem.c: Likewise.
39869         * benchtests/bench-memmove.c: Likewise.
39870         * benchtests/bench-memset.c: Likewise.
39871         * benchtests/bench-rawmemchr.c: Likewise.
39872         * benchtests/bench-strcasecmp.c: Likewise.
39873         * benchtests/bench-strcasestr.c: Likewise.
39874         * benchtests/bench-strcat.c: Likewise.
39875         * benchtests/bench-strchr.c: Likewise.
39876         * benchtests/bench-strcmp.c: Likewise.
39877         * benchtests/bench-strcpy.c: Likewise.
39878         * benchtests/bench-strcpy_chk.c: Likewise.
39879         * benchtests/bench-strlen.c: Likewise.
39880         * benchtests/bench-strncasecmp.c: Likewise.
39881         * benchtests/bench-strncat.c: Likewise.
39882         * benchtests/bench-strncmp.c: Likewise.
39883         * benchtests/bench-strncpy.c: Likewise.
39884         * benchtests/bench-strnlen.c: Likewise.
39885         * benchtests/bench-strpbrk.c: Likewise.
39886         * benchtests/bench-strrchr.c: Likewise.
39887         * benchtests/bench-strspn.c: Likewise.
39888         * benchtests/bench-strstr.c: Likewise.
39890 2013-09-04  Will Newton  <will.newton@linaro.org>
39892         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39894 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39896         [BZ #15427]
39897         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39898         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39899         * math/libm-test.inc (lgamma_test_data): Add more tests.
39900         * sysdeps/i386/fpu/libm-test-ulps: Update.
39901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39903 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39905         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39907         Add ifunc.
39908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39909         Add strcmp-sse2-unaligned
39910         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39912 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39914         * Versions.def (libc): Add GLIBC_2.19.
39916 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39918         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39919         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39921 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39923         [BZ #14155]
39924         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39925         intermediate calculations in recurrence.
39926         (__ieee754_ynf): Likewise.
39927         * math/libm-test.inc (jn_test_data): Do not allow spurious
39928         underflow exception.  Add more tests.
39929         (yn_test_data): Add more tests.
39930         * sysdeps/i386/fpu/libm-test-ulps: Update.
39931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39933 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39935         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39937 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39939         * csu/init-first.c: Fix then/than typos.
39940         * locale/programs/ld-collate.c: Likewise.
39941         * locale/programs/linereader.h: Likewise.
39942         * manual/charset.texi: Likewise.
39943         * manual/filesys.texi: Likewise.
39944         * manual/stdio.texi: Likewise.
39945         * manual/string.texi: Likewise.
39946         * stdlib/fmtmsg.c: Likewise.
39947         * sysdeps/i386/stpncpy.S: Likewise.
39948         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39949         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39951         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39953 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39955         * elf/dl-open.c: Fix typos.
39956         * iconvdata/gbbig5.c: Likewise.
39957         * iconvdata/iso-2022-jp.c: Likewise.
39958         * iconv/gconv_int.h: Likewise.
39959         * iconv/loop.c: Likewise.
39960         * nis/rpcsvc/nis.h: Likewise.
39961         * resolv/ns_name.c: Likewise.
39962         * stdio-common/vfscanf.c: Likewise.
39963         * streams/stropts.h: Likewise.
39964         * sunrpc/rpc_thread.c: Likewise.
39965         * sysdeps/i386/strpbrk.S: Likewise.
39966         * sysdeps/ieee754/k_standard.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39969         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39970         * sysdeps/mach/hurd/profil.c: Likewise.
39971         * sysdeps/s390/dl-procinfo.h: Likewise.
39972         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39973         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39974         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39975         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39978 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39980         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39983 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39985         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39986         aix specific files.
39987         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39988         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39989         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39990         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39991         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39992         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39993         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39994         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39996 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39997             Roland McGrath  <roland@hack.frob.com>
39999         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40000         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40002 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40004         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40005         __executable_start symbol instead of _start.
40007 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40009         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40010         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40011         Move macros to...
40012         * sysdeps/gnu/ldsodefs.h: ... this new file.
40014         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40015         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40016         instead of ELFOSABI_LINUX.
40018         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40019         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40020         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40021         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40022         Likewise.
40023         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40024         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40025         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40026         Likewise.
40027         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40028         (ibm_extended_long_double): Add ieee_nan member.
40029         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40030         (do_test): New function.
40032         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40033         TEST_TRUNC.
40034         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40035         functions, renamed from truncdfsf_test, trunctfsf_test,
40036         trunctfdf_test.
40037         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40038         functions.
40039         (do_test): Run all these.
40041 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40043         * argp/argp-help.c: Fix typos.
40044         * argp/argp-parse.c: Likewise.
40045         * debug/backtracesyms.c: Likewise.
40046         * elf/elf.h: Likewise.
40047         * malloc/malloc.c: Likewise.
40048         * nis/nis_print.c: Likewise.
40049         * resolv/res_comp.c: Likewise.
40050         * stdlib/stdlib.h: Likewise.
40051         * sunrpc/clnt_tcp.c: Likewise.
40052         * sunrpc/clnt_udp.c: Likewise.
40053         * sunrpc/clnt_unix.c: Likewise.
40054         * sysdeps/unix/bsd/ptsname.c: Likewise.
40055         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40056         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40058         Likewise.
40059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40060         Likewise.
40061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40062         Likewise.
40063         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40065 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40067         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40070 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40072         [BZ #15897]
40073         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40074         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40075         ($(objpfx)bug-dl-leaf): New rule.
40076         ($(objpfx)bug-dl-leaf.so): Likewise.
40077         ($(objpfx)bug-dl-leaf.out): Likewise.
40078         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40079         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40080         * dlfcn/bug-dl-leaf.c: New test.
40081         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40082         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40083         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40084         (dlclose): Likewise.
40085         (dlmopen): Likewise.
40087 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40089         * include/netdb.h [!_ISOMAC]:
40090         Don't include <tls.h>.
40091         (h_errno, __libc_h_errno): Move declaration and macros out of
40092         [_LIBC_REENTRANT].
40094         * include/resolv.h [_RESOLV_H_]:
40095         Don't include <tls.h>.
40096         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40097         * resolv/res_libc.c: Don't include <tls.h>.
40098         (_res): Use __attribute__ ((nocommon)) in place of
40099         __attribute__ ((section (".bss"))).
40101         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40102         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40104         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40106         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40107         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40109         * resolv/res_mkquery.c: Include <sys/time.h>.
40111         * inet/ifreq.c: Moved to ...
40112         * sysdeps/unix/ifreq.c: ... here.
40113         * inet/ifreq.c: New file, true stub version.
40115         * socket/sa_len.c: New file.
40116         * socket/Makefile (aux): Add it.
40117         * sysdeps/unix/sysv/linux/Makefile
40118         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40119         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40120         and #include <socket/sa_len.c>.
40121         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40122         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40124         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40125         * bits/socket.h: ... here.
40127         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40128         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40129         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40131 2013-08-27  Andreas Schwab  <schwab@suse.de>
40133         [BZ #15736]
40134         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40135         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40136         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40137         * string/test-strcasecmp.c (test_main): Run tests in several
40138         locales.
40139         * string/test-strncasecmp.c (test_main): Likewise.
40141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40142         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40143         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40145         (__strncasecmp_ssse3) [PIC]: Likewise.
40147 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40149         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40151         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40152         instead of explicitly declaring xdecrypt.
40153         * nis/nss_nis/nis-publickey.c: Likewise.
40155 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40157         [BZ #15890]
40158         * nscd/aicache.c: Include res_hconf.h.
40159         (addhstaiX): Initialize res_hconf.
40161 2013-08-26  Andreas Schwab  <schwab@suse.de>
40163         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40164         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40166 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40168         * nscd/aicache.c (addhstaiX): Fix indentation.
40170 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40172         * configure.ac: Quote $build_pt_chown test.
40173         * configure: Regenerated.
40175 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40177         [BZ #15532]
40178         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40179         * math/s_cexpf.c (__cexpf): Likewise.
40180         * math/s_cexpl.c (__cexpl): Likewise.
40181         * math/libm-test.inc (cexp_test_data): Correct expected return
40182         value for NaN + i0.  Add another test.
40184 2013-08-22  David S. Miller  <davem@davemloft.net>
40186         * po/ca.po: Update Catalan translation from translation project.
40187         * po/uk.po: Add Ukrainian translations from translation project.
40189 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40191         [BZ #15797]
40192         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40193         is infinite, not alongside NaN test.
40194         * math/s_fdimf.c (__fdimf): Likewise.
40195         * math/s_fdiml.c (__fdiml): Likewise.
40196         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40197         errno is unchanged.
40199 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40201         * argp/argp-help.c: Fix typos.
40202         * crypt/speeds.c: Likewise.
40203         * csu/check_fds.c: Likewise.
40204         * elf/dl-load.c: Likewise.
40205         * elf/dl-open.c: Likewise.
40206         * elf/reldep3.c: Likewise.
40207         * elf/reldep.c: Likewise.
40208         * elf/sprof.c: Likewise.
40209         * iconv/iconv_charmap.c: Likewise.
40210         * iconv/skeleton.c: Likewise.
40211         * iconv/strtab.c: Likewise.
40212         * io/lockf64.c: Likewise.
40213         * libio/libioP.h: Likewise.
40214         * resolv/gai_notify.c: Likewise.
40215         * resolv/ns_name.c: Likewise.
40216         * resolv/ns_samedomain.c: Likewise.
40217         * resolv/res_send.c: Likewise.
40218         * stdlib/random.c: Likewise.
40219         * sunrpc/rpc/xdr.h: Likewise.
40220         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40221         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40222         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40223         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40225         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40228         * sysdeps/mach/hurd/check_fds.c: Likewise.
40229         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40230         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40232         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40233         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40234         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40235         * sysdeps/pthread/aio_notify.c: Likewise.
40236         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40237         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40238         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40239         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40240         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40242 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40244         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40245         version if bit_Slow_SSE4_2 is set.
40246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40247         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40249 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40251         [BZ #15867]
40252         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40253         trampoline stack frame information.
40254         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40255         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40256         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40257         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40258         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40259         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40260         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40261         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40262         sa_flags value.
40263         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40264         interrupting a syscall and set with option SA_SIGINFO.
40266 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40268         [BZ #15531]
40269         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40270         argument is infinite.
40271         * math/s_cprojf.c (__cprojf): Likewise.
40272         * math/s_cprojl.c (__cprojl): Likewise.
40273         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40274         * math/libm-test.inc (cproj_test_data): Add more tests.
40276         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40279         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40280         size.  Use __ffs to determine corresponding shift.
40282 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40283             Roland McGrath  <roland@hack.frob.com>
40285         * Makefile (INSTALL): Remove trailing blank lines from output of
40286         makeinfo.
40288 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40290         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40291         Align 32 bit compat elf_greg to 8 bytes.
40293 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40295         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40297 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40299         * string/strcoll_l.c (coll_seq): New structure.
40300         (get_next_seq_cached): New function.
40301         (get_next_seq): New function.
40302         (do_compare): New function.
40303         (STRCOLL): Use GNU style definition.  Simplify implementation
40304         by using get_next_seq, get_next_seq_cached and do_compare.
40306 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40308         [BZ #14699]
40309         CVE-2013-4237
40310         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40311         member.
40312         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40313         member.
40314         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40315         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40316         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40317         conditional.
40318         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40319         GETDENTS_64BIT_ALIGNED.
40320         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40321         * manual/filesys.texi (Reading/Closing Directory): Document
40322         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40323         strongly.
40324         * manual/conf.texi (Limits for Files): Add portability note to
40325         NAME_MAX, PATH_MAX.
40326         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40328 2013-08-13  Andreas Schwab  <schwab@suse.de>
40330         [BZ #15749]
40331         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40332         of fabs.
40333         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40334         LDBL_MAX_EXP >= 16384]: Add tests for it.
40336 2013-08-12  David S. Miller  <davem@davemloft.net>
40338         * version.h (RELEASE): Set to "development".
40339         (VERSION): Set to "2.18.90".
40340         * NEWS: Add 2.19 section.
40342 2013-08-03  David S. Miller  <davem@davemloft.net>
40344         * po/ko.po: Update Korean translation from translation project.
40346 2013-08-01  David S. Miller  <davem@davemloft.net>
40348         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40349         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40350         Bilka.
40352 2013-07-30  David S. Miller  <davem@davemloft.net>
40354         * po/fr.po: Update French translation from translation project.
40356 2013-07-28  David S. Miller  <davem@davemloft.net>
40358         * po/cs.po: Update Czech translation from translation project.
40360         * po/sv.po: Update Swedish translation from translation project.
40362 2013-07-27  David S. Miller  <davem@davemloft.net>
40364         * po/eo.po: Update Esperanto translation from translation project.
40366         * po/vi.po: Update Vietnamese translation from translation project.
40368         * po/de.po: Update German translation from translation project.
40370 2013-07-26  David S. Miller  <davem@davemloft.net>
40372         * po/bg.po: Update Bulgarian translation from translation project.
40374         * po/nl.po: Update Dutch translation from translation project.
40375         * po/pl.po: Update Polish translation from translation project.
40376         * po/ru.po: Update Russian translation from translation project.
40378 2013-07-24  David S. Miller  <davem@davemloft.net>
40380         * po/libc.pot: Update.
40382 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40384         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40385         variable page size.
40386         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40387         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40388         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40390 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40392         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40394 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40395             Andreas Schwab  <schwab@suse.de>
40396             Roland McGrath  <roland@hack.frob.com>
40397             Joseph Myers  <joseph@codesourcery.com>
40398             Carlos O'Donell  <carlos@redhat.com>
40400         [BZ #15755]
40401         * config.h.in: Define HAVE_PT_CHOWN.
40402         * config.make.in (build-pt-chown): New variable.
40403         * configure.in (--enable-pt_chown): New configure option.
40404         * configure: Regenerate.
40405         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40406         build-pt-chown is enabled.
40407         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40408         pt_chown to fix pty ownership.
40409         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40410         CLOSE_ALL_FDS.
40411         * manual/install.texi (Configuring and compiling): Mention
40412         --enable-pt_chown. Add @findex for grantpt.
40413         * INSTALL: Regenerate.
40415 2013-07-20  David S. Miller  <davem@davemloft.net>
40417         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40418         difference between 32-bit and 64-bit.
40420 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40422         [BZ #15711]
40423         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40424         Avoid system header dependency with -ffreestanding.
40425         ($(objpfx)bits/syscall%d): Likewise.
40427 2013-07-13  David S. Miller  <davem@davemloft.net>
40429         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40430         underflows from atanl/atan2l due to bug 15319.
40431         (casinh_test_data): Likewise.
40433 2013-07-07  David S. Miller  <davem@davemloft.net>
40435         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40437 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40439         * sysdeps/i386/fpu/libm-test-ulps: Update.
40440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40442 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40444         * configure.in (--enable-lock-elision): Fix message text.
40445         * INSTALL: Regenerate.
40446         * configure: Regenerate.
40448 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40452 2013-07-03  Andreas Jaeger  <aj@suse.de>
40454         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40455         define.
40456         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40457         (ptrace_peeksiginfo_args): Add.
40458         (__ptrace_peeksiginfo_flags): Add.
40459         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40460         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40461         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40463 2013-07-03  Allan McRae  <allan@archlinux.org>
40465         * sysdeps/i386/fpu/libm-test-ulps: Update.
40467 2013-07-02  David S. Miller  <davem@davemloft.net>
40469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40471 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40475 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40477         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40480 2013-07-02  Andi Kleen <ak@linux.intel.com>
40482         * config.h.in (ENABLE_LOCK_ELISION): Add.
40483         * configure.in (--enable-lock-elision): Add option.
40484         * manual/install.texi: Document --enable lock elision.
40485         * configure: Regenerate
40486         * INSTALL: Regenerate.
40488 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40490         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40491         SSE4.2 strcasecmp for libc.a.
40492         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40494 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40496         [BZ #13304]
40497         * soft-fp/op-common.h (_FP_FMA): New macro.
40498         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40499         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40500         (_FP_MUL_MEAT_1_imm): ... here.
40501         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40502         (_FP_MUL_MEAT_1_wide): ... here.
40503         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40504         (_FP_MUL_MEAT_1_hard): ... here.
40505         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40506         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40507         (_FP_MUL_MEAT_2_wide): ... here.
40508         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40509         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40510         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40511         (_FP_MUL_MEAT_2_gmp): ... here.
40512         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40513         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40514         (_FP_MUL_MEAT_4_wide): ... here.
40515         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40516         (_FP_MUL_MEAT_4_gmp): ... here.
40517         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40518         (_FP_WFRACBITS_DW_S): Likewise.
40519         (_FP_WFRACXBITS_DW_S): Likewise.
40520         (_FP_HIGHBIT_DW_S): Likewise.
40521         (FP_FMA_S): Likewise.
40522         (_FP_FRAC_HIGH_DW_S): Likewise.
40523         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40524         (_FP_WFRACBITS_DW_D): Likewise.
40525         (_FP_WFRACXBITS_DW_D): Likewise.
40526         (_FP_HIGHBIT_DW_D): Likewise.
40527         (FP_FMA_D): Likewise.
40528         (_FP_FRAC_HIGH_DW_D): Likewise.
40529         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40530         (_FP_WFRACBITS_DW_E): Likewise.
40531         (_FP_WFRACXBITS_DW_E): Likewise.
40532         (_FP_HIGHBIT_DW_E): Likewise.
40533         (FP_FMA_E): Likewise.
40534         (_FP_FRAC_HIGH_DW_E): Likewise.
40535         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40536         (_FP_WFRACBITS_DW_Q): Likewise.
40537         (_FP_WFRACXBITS_DW_Q): Likewise.
40538         (_FP_HIGHBIT_DW_Q): Likewise.
40539         (FP_FMA_Q): Likewise.
40540         (_FP_FRAC_HIGH_DW_Q): Likewise.
40541         * soft-fp/fmasf4.c: New file.
40542         * soft-fp/fmadf4.c: Likewise.
40543         * soft-fp/fmatf4.c: Likewise.
40545 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40548         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40549         Silvermont.
40550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40551         macro.
40552         (index_Slow_SSE4_2): Likewise.
40553         (index_Prefer_PMINUB_for_stringop): Likewise.
40554         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40555         bit_Slow_SSE4_2 is set.
40556         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40557         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40559 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40561         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40562         rtld_global._dl_hwcap2.
40563         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40564         POWER8.
40565         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40566         POWER8 feature descriptions defined in _dl_hwcap2.
40567         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40568         string handling for POWER8 feature bits.
40569         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40570         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40571         _dl_powerpc_cap_flags.
40572         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40573         * sysdeps/powerpc/rtld-global-offsets.sym
40574         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40575         _dl_hwcap2 in the rtld_global_ro structure.
40577 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40579         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40580         hardware capabilities in support of AT_HWCAP2.
40581         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40582         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40583         GLRO(dl_hwcap2).
40584         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40585         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40586         explicitly the unknown a_type display mechanism is used.
40587         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40588         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40589         struct member.
40590         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40591         to macro prototype for AT_HWCAP2 support.
40592         * sysdeps/i386/dl-procinfo.h: Likewise.
40593         * sysdeps/s390/dl-procinfo.h: Likewise.
40594         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40595         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40596         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40597         return -1 for unknown a_type display fallback.
40598         * sysdeps/sparc/dl-procinfo.h: Likewise.
40599         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40600         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40602 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40604         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40605         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40607 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40609         [BZ #12492]
40610         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40611         mprotect making __stack_prot writable.
40613 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40614             Joseph Myers  <joseph@codesourcery.com>
40616         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40617         as being properly aligned.
40619 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40621         * dlfcn/modstatic5.c: New file.
40622         * dlfcn/tststatic5.c: New file.
40623         * dlfcn/Makefile (tests): Add tststatic5.
40624         (tests-static): Likewise.
40625         (modules-names): Add modstatic5.
40626         (tststatic5-ENV): New variable.
40627         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40629         [BZ #15022]
40630         * elf/dl-support.c (_dl_main_map): New variable.
40631         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40632         (_dl_nns, _dl_load_adds): Set to 1.
40633         (_dl_initial_searchlist): Refer to _dl_main_map.
40634         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40635         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40636         call to _dl_get_origin.
40637         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40638         around call_map.
40639         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40640         * dlfcn/modstatic3.c: New file.
40641         * dlfcn/tststatic3.c: New file.
40642         * dlfcn/tststatic4.c: New file.
40643         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40644         (tests-static): Likewise.
40645         (modules-names): Add modstatic3.
40646         (tststatic3-ENV, tststatic4-ENV): New variables.
40647         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40648         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40650 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40652         * configure.in (CC): Require GCC version 4.4 or later.
40653         * configure: Regenerated.
40654         * manual/install.texi (Tools for Compilation): Update GCC version
40655         requirement.
40656         * INSTALL: Regenerated.
40658 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40660         [BZ #15674]
40661         * string/test-memcmp.c (check2): New.
40662         (main): Call check2.
40664         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40666 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40668         [BZ #15022]
40669         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40670         over to...
40671         (dl_open_worker) [!SHARED]: ... here.
40673 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40675         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40677 2013-06-25  Richard Henderson  <rth@redhat.com>
40679         * locale/programs/locarchive.c: Include <libc-internal.h>
40681 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40683         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40684         trailing whitespace removed.
40686 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40688         [BZ #10283]
40689         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40690         * locale/programs/locarchive.c: Include libc-mmap.h.
40691         (prepare_address_space): Take two new outputs (the mmap base and len).
40692         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40693         values.
40694         (create_archive): Declare new mmap base and len values for
40695         prepare_address_space, and store the result in ah.
40696         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40697         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40698         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40699         Declare new mmap base and len values for
40700         prepare_address_space, and store the result in new_ah.
40701         (open_archive): Declare new mmap base and len values for
40702         prepare_address_space, and store the result in ah.
40703         (close_archive): If ah->mmap_base is not NULL, use that and
40704         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40705         * sysdeps/generic/libc-mmap.h: New file.
40707 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40709         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40710         (ALIGN_UP): Likewise.
40711         (PTR_ALIGN_DOWN): Likewise.
40712         (PTR_ALIGN_UP): Likewise.
40714 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40716         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40717         entry mapped to PPC_PLATFORM_POWER8.
40718         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40719         POWER8.
40720         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40721         (_dl_string_platform): Add case for exporting platform position for
40722         POWER8.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40724         search path to sysdeps/powerpc/powerpc32/power8 directory.
40725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40726         search path to sysdeps/powerpc/powerpc64/power8 directory.
40727         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40728         power7 directories.
40729         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40730         power7 directories.
40732 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40734         * INSTALL: Regenerate.
40736         * nscd/connections.c (nscd_init): Fix comment.
40738 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40740         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40742         [BZ #15667]
40743         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40744         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40746 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40748         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40749         DL_DST_REQ_STATIC.
40750         (DL_DST_REQ_STATIC): Remove macro.
40752 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40754         [BZ #7006]
40755         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40756         with a shift of 0 bits.
40758 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40760         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40761         $(tststatic-ENV).
40763 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40765         [BZ #15655]
40766         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40768 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40770         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40771         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40772         accepts -fno-tree-loop-distribute-patterns.
40773         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40774         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40775         recursive call.
40776         * string/memset.c (memset): Likewise.
40777         * string/test-memmove.c (simple_memmove): Disable loop transformation
40778         to library calls.
40779         * string/test-memset.c (simple_memset): Likewise.
40780         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40781         * benchtests/bench-memset.c (simple_memset): Likewise.
40782         * configure: Regenerated.
40784 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40786         * math/test-misc.c (main): Ignore fesetround failure when failures
40787         of subsequent rounding tests would be ignored.
40789         [BZ #15654]
40790         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40791         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40792         * math/fegetenv.c (__fegetenv): Return 0.
40793         * math/fegetexcept.c (fegetexcept): Return 0.
40794         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40795         FE_TONEAREST.
40796         * math/feholdexcpt.c (feholdexcept): Return 0.
40797         * math/fesetenv.c (__fesetenv): Return 0.
40798         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40799         argument FE_TONEAREST.
40800         * math/feupdateenv.c (__feupdateenv): Return 0.
40801         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40803 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40805         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40806         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40807         ($(objpfx)rtld-%.os rules): Use them.
40809 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40811         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40812         fields.
40814 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40816         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40817         length of target pattern, then descending length of dependency pattern.
40818         * configure.in (AWK): Require gawk 3.1.2 or newer.
40819         * manual/install.texi (Tools for Compilation): Say that we do.
40820         * configure: Regenerated.
40822         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40823         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40824         * scripts/sysd-rules.awk: ... this new script.
40825         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40826         than a glob-style pattern.
40828 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40830         * math/test-misc.c (main): Do not treat incorrectly rounded
40831         conversions as failure unless ROUNDING_TESTS passes.
40833 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40835         [BZ #15631]
40836         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40837         restore exception state around main square root computation, then
40838         check for inexactness explicitly.
40840         * math/libm-test.inc (fma_test_data): Add another test.
40842 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40844         * manual/threads.texi (Non-POSIX Extensions): New document
40845         node.  Document pthread_getattr_default_np and
40846         pthread_setattr_default_np.
40848         * Versions.def (libpthread): Add GLIBC_2.18.
40849         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40851         Likewise.
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40853         Likewise.
40854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40855         Likewise.
40856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40857         Likewise.
40858         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40859         Likewise.
40860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40861         Likewise.
40862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40863         Likewise.
40864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40865         Likewise.
40866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40867         Likewise.
40869 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40872         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40874 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40875             H.J. Lu  <hjl.tools@gmail.com>
40877         [BZ #15627]
40878         * sysdeps/x86_64/rtld-memset.c: Remove file.
40879         * sysdeps/x86_64/rtld-memset.S: New file.
40881 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40883         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40884         (test_in_one_mode): Take arguments for whether the rounding mode
40885         is supported for each floating-point type.
40886         (do_test): Pass new arguments to test_in_one_mode using
40887         ROUNDING_TESTS.
40889 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40891         * posix/tst-waitid.c (do_test): Distinguish different instances of
40892         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40893         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40894         before entering the kernel for waitpid.
40896 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40898         * NEWS: Fix note on clock function precision.  Text by Roland
40899         McGrath.
40901 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40903         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40904         it into place only when and if the sanity check passes.
40906 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40908         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40909         output for whether conversion result is exact.  Take argument
40910         indicating whether type is IBM long double.
40911         (round_for_all): Change need_exact field to ibm_ld.
40912         * stdlib/tst-strtod-round.c (struct exactness): New type.
40913         (struct test): Change bool ld_ok field to struct exactness exact.
40914         (TEST): Update all definitions for change to field.
40915         (tests): Regenerate array contents.
40916         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40917         field value.  Check for IBM long double here.
40918         (do_test): Update calls to test_in_one_mode.
40920 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40922         [BZ #12515]
40923         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40924         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40926 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40928         [BZ #15605]
40929         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40930         generated by the compiler on loop optimizations.
40931         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40932         general definitions.
40934 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40936         * math/bug-nextafter.c: Include <math-tests.h>.
40937         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40938         the relevant type.
40939         * math/bug-nexttoward.c: Include <math-tests.h>.
40940         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40941         the relevant type.
40942         * math/test-misc.c: Include <math-tests.h>.
40943         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40944         the relevant type.
40946 2013-06-12  Andreas Jaeger  <aj@suse.de>
40948         * po/ia.po: Update Interlingua translation from translation
40949         project.
40951 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40953         * include/fenv.h: Include stdbool.h.
40954         (struct rm_ctx): New structure.
40955         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40956         Define macro.
40957         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40958         (SET_RESTORE_ROUNDF): Likewise.
40959         (SET_RESTORE_ROUNDL): Likewise.
40960         (SET_RESTORE_ROUND_NOEX): Likewise.
40961         (SET_RESTORE_ROUND_NOEXF): Likewise.
40962         (SET_RESTORE_ROUND_NOEXL): Likewise.
40963         (SET_RESTORE_ROUND_53BIT): Likewise.
40964         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40965         (libc_feresetround_noexf_ctx): Likewise.
40966         (libc_feresetround_noexl_ctx): Likewise.
40967         (libc_feholdsetround_53bit_ctx): Likewise.
40968         (libc_feresetround_53bit_ctx): Likewise.
40969         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40970         (libc_feholdexcept_setround_sse_ctx): New function.
40971         (libc_fesetenv_sse_ctx): Likewise.
40972         (libc_feupdateenv_sse_ctx): Likewise.
40973         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40974         (libc_feholdexcept_setround_387_ctx): Likewise.
40975         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40976         (libc_feholdsetround_387_prec_ctx): Likewise.
40977         (libc_feholdsetround_387_ctx): Likewise.
40978         (libc_feholdsetround_387_53bit_ctx): Likewise.
40979         (libc_feholdsetround_sse_ctx): Likewise.
40980         (libc_feresetround_sse_ctx): Likewise.
40981         (libc_feresetround_387_ctx): Likewise.
40982         (libc_feupdateenv_387_ctx): Likewise.
40983         (libc_feholdexcept_setroundf_ctx): Define macro.
40984         (libc_fesetenvf_ctx): Likewise.
40985         (libc_feupdateenvf_ctx): Likewise.
40986         (libc_feholdsetroundf_ctx): Likewise.
40987         (libc_feresetroundf_ctx): Likewise.
40988         (libc_feholdexcept_setround_ctx): Likewise.
40989         (libc_fesetenv_ctx): Likewise.
40990         (libc_feupdateenv_ctx): Likewise.
40991         (libc_feholdsetround_ctx): Likewise.
40992         (libc_feresetround_ctx): Likewise.
40993         (libc_feholdexcept_setroundl_ctx): Likewise.
40994         (libc_feupdateenvl_ctx): Likewise.
40995         (libc_feholdsetroundl_ctx): Likewise.
40996         (libc_feresetroundl_ctx): Likewise.
40997         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40998         (libc_feresetround_53bit_ctx): Likewise.
41000 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41002         * locale/iso-639.def: Convert to UTF-8.
41004 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41006         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41007         (EXCEPTION_TESTS_double): Likewise.
41008         (EXCEPTION_TESTS_long_double): Likewise.
41009         (EXCEPTION_TESTS): Likewise.
41010         * math/libm-test.inc (test_exceptions): Only test exceptions if
41011         EXCEPTION_TESTS (FLOAT).
41013 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41015         * benchtests/Makefile (string-bench): Add strcpy_chk and
41016         stpcpy_chk.
41017         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41018         * benchtests/bench-stpcpy_chk.c: New file.
41019         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41020         * benchtests/bench-strcpy_chk.c: New file.
41021         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41022         code.
41023         (do_test): Likewise.
41025 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41027         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41028         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41029         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41030         with tabs where appropriate.
41031         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41032         dl-procinfo.h.
41033         [PPC_PLATFORM_PPC440]: Likewise.
41034         [PPC_PLATFORM_PPC464]: Likewise.
41035         [PPC_PLATFORM_PPC476]: Likewise.
41036         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41037         ppc464, and ppc476 platform strings merging from ports/
41038         dl-procinfo.h.
41040 2013-06-11  Andreas Schwab  <schwab@suse.de>
41042         [BZ #14991]
41043         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41044         (from_ucs4_idx): Regenerate.
41045         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41046         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41047         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41048         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41049         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41050         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41051         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41052         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41053         from FROM_LOOP and TO_LOOP specific macros.
41054         (BODY): Handle combining characters.
41055         * iconvdata/BIG5HKSCS.irreversible: Update.
41056         * iconvdata/BIG5HKSCS.precomposed: New file.
41057         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41058         characters.
41059         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41061 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41063         * include/sys/time.h: Fix indentation and add copyright header.
41065         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41066         (do_test): Likewise.
41067         * string/test-memchr.c (do_one_test): Likewise.
41068         (do_test): Likewise.
41069         * string/test-memcmp.c (do_one_test): Likewise.
41070         (do_test): Likewise.
41071         * string/test-memcpy.c (do_one_test): Likewise.
41072         (do_test): Likewise.
41073         * string/test-memmem.c (do_one_test): Likewise.
41074         (do_test): Likewise.
41075         (do_random_tests): Likewise.
41076         * string/test-memmove.c (do_one_test): Likewise.
41077         (do_test): Likewise.
41078         * string/test-memset.c (do_one_test): Likewise.
41079         (do_test): Likewise.
41080         * string/test-rawmemchr.c (do_one_test): Likewise.
41081         (do_test): Likewise.
41082         * string/test-strcasecmp.c (do_one_test): Likewise.
41083         (do_test): Likewise.
41084         * string/test-strcasestr.c (do_one_test): Likewise.
41085         (do_test): Likewise.
41086         * string/test-strcat.c (do_one_test): Likewise.
41087         (do_test): Likewise.
41088         * string/test-strchr.c (do_one_test): Likewise.
41089         (do_test): Likewise.
41090         * string/test-strcmp.c (do_one_test): Likewise.
41091         (do_test): Likewise.
41092         * string/test-strcpy.c (do_one_test): Likewise.
41093         (do_test): Likewise.
41094         * string/test-string.h: Likewise.
41095         (test_init): Likewise.
41096         * string/test-strlen.c (do_one_test): Likewise.
41097         (do_test): Likewise.
41098         * string/test-strncasecmp.c (do_one_test): Likewise.
41099         (do_test): Likewise.
41100         * string/test-strncat.c (do_one_test): Likewise.
41101         (do_test): Likewise.
41102         * string/test-strncmp.c (do_one_test): Likewise.
41103         (do_test_limit): Likewise.
41104         (do_test): Likewise.
41105         * string/test-strncpy.c (do_one_test): Likewise.
41106         (do_test): Likewise.
41107         * string/test-strnlen.c (do_one_test): Likewise.
41108         (do_test): Likewise.
41109         * string/test-strpbrk.c (do_one_test): Likewise.
41110         (do_test): Likewise.
41111         * string/test-strrchr.c (do_one_test): Likewise.
41112         (do_test): Likewise.
41113         * string/test-strspn.c (do_one_test): Likewise.
41114         (do_test): Likewise.
41115         * string/test-strstr.c (do_one_test): Likewise.
41116         (do_test): Likewise.
41118         * benchtests/Makefile (string-bench): Add string benchmarks.
41119         * benchtests/bench-bcopy-ifunc.c: New file.
41120         * benchtests/bench-bcopy.c: New file.
41121         * benchtests/bench-bzero-ifunc.c: New file.
41122         * benchtests/bench-bzero.c: New file.
41123         * benchtests/bench-memccpy-ifunc.c: New file.
41124         * benchtests/bench-memccpy.c: New file.
41125         * benchtests/bench-memchr-ifunc.c: New file.
41126         * benchtests/bench-memchr.c: New file.
41127         * benchtests/bench-memcmp-ifunc.c: New file.
41128         * benchtests/bench-memcmp.c: New file.
41129         * benchtests/bench-memmem-ifunc.c: New file.
41130         * benchtests/bench-memmem.c: New file.
41131         * benchtests/bench-memmove-ifunc.c: New file.
41132         * benchtests/bench-memmove.c: New file.
41133         * benchtests/bench-mempcpy-ifunc.c: New file.
41134         * benchtests/bench-mempcpy.c: New file.
41135         * benchtests/bench-memset-ifunc.c: New file.
41136         * benchtests/bench-memset.c: New file.
41137         * benchtests/bench-rawmemchr-ifunc.c: New file.
41138         * benchtests/bench-rawmemchr.c: New file.
41139         * benchtests/bench-stpcpy-ifunc.c: New file.
41140         * benchtests/bench-stpcpy.c: New file.
41141         * benchtests/bench-stpncpy-ifunc.c: New file.
41142         * benchtests/bench-stpncpy.c: New file.
41143         * benchtests/bench-strcasecmp-ifunc.c: New file.
41144         * benchtests/bench-strcasecmp.c: New file.
41145         * benchtests/bench-strcasestr-ifunc.c: New file.
41146         * benchtests/bench-strcasestr.c: New file.
41147         * benchtests/bench-strcat-ifunc.c: New file.
41148         * benchtests/bench-strcat.c: New file.
41149         * benchtests/bench-strchr-ifunc.c: New file.
41150         * benchtests/bench-strchr.c: New file.
41151         * benchtests/bench-strchrnul-ifunc.c: New file.
41152         * benchtests/bench-strchrnul.c: New file.
41153         * benchtests/bench-strcmp-ifunc.c: New file.
41154         * benchtests/bench-strcmp.c: New file.
41155         * benchtests/bench-strcpy-ifunc.c: New file.
41156         * benchtests/bench-strcpy.c: New file.
41157         * benchtests/bench-strcspn-ifunc.c: New file.
41158         * benchtests/bench-strcspn.c: New file.
41159         * benchtests/bench-strlen-ifunc.c: New file.
41160         * benchtests/bench-strlen.c: New file.
41161         * benchtests/bench-strncasecmp-ifunc.c: New file.
41162         * benchtests/bench-strncasecmp.c: New file.
41163         * benchtests/bench-strncat-ifunc.c: New file.
41164         * benchtests/bench-strncat.c: New file.
41165         * benchtests/bench-strncmp-ifunc.c: New file.
41166         * benchtests/bench-strncmp.c: New file.
41167         * benchtests/bench-strncpy-ifunc.c: New file.
41168         * benchtests/bench-strncpy.c: New file.
41169         * benchtests/bench-strnlen-ifunc.c: New file.
41170         * benchtests/bench-strnlen.c: New file.
41171         * benchtests/bench-strpbrk-ifunc.c: New file.
41172         * benchtests/bench-strpbrk.c: New file.
41173         * benchtests/bench-strrchr-ifunc.c: New file.
41174         * benchtests/bench-strrchr.c: New file.
41175         * benchtests/bench-strspn-ifunc.c: New file.
41176         * benchtests/bench-strspn.c: New file.
41177         * benchtests/bench-strstr-ifunc.c: New file.
41178         * benchtests/bench-strstr.c: New file.
41180         * benchtests/Makefile: Disable parallel execution of targets.
41181         (string-bench): Add memcpy.
41182         (benchset): New variable to store a list of benchmark sets.
41183         (bench-func): Renamed from bench.
41184         (bench-set): New target.
41185         (bench): Depend on bench-func and bench-set.
41186         * benchtests/README: Add section on benchmark sets.
41187         * benchtests/bench-memcpy-ifunc.c: New file.
41188         * benchtests/bench-memcpy.c: New file.
41189         * benchtests/bench-string.h: New file.
41191 2013-06-11  Andreas Schwab  <schwab@suse.de>
41193         [BZ #15577]
41194         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41195         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41196         values in the triple.
41197         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41198         terminator in the group key.
41200 2013-06-11  Andreas Jaeger  <aj@suse.de>
41202         * po/zh_TW.po: Update Chinese (traditional) translation from
41203         translation project.
41205 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41207         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41208         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41209         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41210         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41211         (clock_getcpuclockid): Likewise.
41212         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41213         Add weak_alias and libc_hidden_def.
41214         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41215         * rt/clock_gettime.c (clock_gettime): Rename to
41216         __clock_gettime.  Add weak_alias and libc_hidden_def.
41217         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41218         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41219         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41220         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41221         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41222         Likewise.
41223         * rt/clock_settime.c (clock_settime): Rename to
41224         __clock_settime.  Add weak_alias and libc_hidden_def.
41225         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41227 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41229         * mach/err_boot.sub: Remove trailing whitespace.
41230         * mach/err_ipc.sub: Likewise.
41231         * mach/err_mach.sub: Likewise.
41233         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41234         (ROUNDING_TESTS_double): Likewise.
41235         (ROUNDING_TESTS_long_double): Likewise.
41236         (ROUNDING_TESTS): Likewise.
41237         * math/libm-test.inc: Include <math-tests.h>.
41238         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41239         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41240         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41241         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41243 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41245         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41246         of assigning.
41248 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41250         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41251         otherwise empty TRANS lines.
41252         * sysdeps/gnu/errlist.c: Regenerated.
41254         * catgets/gencat.c (error_print): Use (void) in function
41255         definition.
41256         * crypt/crypt_util.c (__init_des): Likewise.
41257         * crypt/speeds.c (Stop): Likewise.
41258         (main): Likewise.
41259         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41260         * inet/ruserpass.c (token): Likewise.
41261         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41262         * intl/localealias.c (extend_alias_table): Likewise.
41263         * intl/plural-exp.c (init_germanic_plural): Likewise.
41264         * libio/fcloseall.c (__fcloseall): Likewise.
41265         * libio/genops.c (_IO_flush_all): Likewise.
41266         (_IO_flush_all_linebuffered): Likewise.
41267         (_IO_cleanup): Likewise.
41268         (_IO_iter_begin): Likewise.
41269         (_IO_iter_end): Likewise.
41270         (_IO_list_lock): Likewise.
41271         (_IO_list_unlock): Likewise.
41272         (_IO_list_resetlock): Likewise.
41273         * libio/getchar.c (getchar): Likewise.
41274         * libio/getchar_u.c (getchar_unlocked): Likewise.
41275         * libio/getwchar.c (getwchar): Likewise.
41276         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41277         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41278         * login/getpt.c (__getpt): Likewise.
41279         * login/tst-utmp.c (main): Likewise.
41280         * malloc/hooks.c (__malloc_check_init): Likewise.
41281         * malloc/malloc.c (__malloc_stats): Likewise.
41282         * malloc/mtrace.c (tr_break): Likewise.
41283         (mtrace): Likewise.
41284         (muntrace): Likewise.
41285         * misc/fstab.c (endfsent): Likewise.
41286         * misc/getclktck.c (__getclktck): Likewise.
41287         * misc/getdtsz.c (__getdtablesize): Likewise.
41288         * misc/gethostid.c (gethostid): Likewise.
41289         * misc/getpagesize.c (__getpagesize): Likewise.
41290         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41291         (__get_nprocs): Likewise.
41292         (__get_phys_pages): Likewise.
41293         (__get_avphys_pages): Likewise.
41294         * misc/getttyent.c (getttyent): Likewise.
41295         (setttyent): Likewise.
41296         (endttyent): Likewise.
41297         * misc/getusershell.c (getusershell): Likewise.
41298         (endusershell): Likewise.
41299         (setusershell): Likewise.
41300         (initshells): Likewise.
41301         * misc/hsearch.c (__hdestroy): Likewise.
41302         * misc/sync.c (sync): Likewise.
41303         * misc/syslog.c (closelog_internal): Likewise.
41304         (closelog): Likewise.
41305         * misc/ttyslot.c (ttyslot): Likewise.
41306         * misc/vhangup.c (vhangup): Likewise.
41307         * posix/fork.c (__fork): Likewise.
41308         * posix/getegid.c (__getegid): Likewise.
41309         * posix/geteuid.c (__geteuid): Likewise.
41310         * posix/getgid.c (__getgid): Likewise.
41311         * posix/getpid.c (__getpid): Likewise.
41312         * posix/getppid.c (__getppid): Likewise.
41313         * posix/getuid.c (__getuid): Likewise.
41314         * posix/pause.c (pause): Likewise.
41315         * posix/setpgrp.c (setpgrp): Likewise.
41316         * posix/setsid.c (__setsid): Likewise.
41317         * posix/test-vfork.c (noop): Likewise.
41318         * resolv/gethnamaddr.c (_endhtent): Likewise.
41319         (_gethtent): Likewise.
41320         (ht_endhostent): Likewise.
41321         (gethostent): Likewise.
41322         (dns_service): Likewise.
41323         * stdlib/drand48.c (drand48): Likewise.
41324         * stdlib/lrand48.c (lrand48): Likewise.
41325         * stdlib/mrand48.c (mrand48): Likewise.
41326         * stdlib/rand.c (rand): Likewise.
41327         * stdlib/random.c (__random): Likewise.
41328         * stdlib/setenv.c (clearenv): Likewise.
41329         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41330         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41331         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41332         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41333         (__get_nprocs): Likewise.
41334         (__get_phys_pages): Likewise.
41335         (__get_avphys_pages): Likewise.
41336         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41337         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41338         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41339         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41340         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41341         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41342         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41343         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41344         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41345         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41346         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41347         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41348         * sysdeps/posix/clock.c (clock): Likewise.
41349         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41350         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41351         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41352         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41353         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41354         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41355         (__get_nprocs_conf): Likewise.
41356         (__get_phys_pages): Likewise.
41357         (__get_avphys_pages): Likewise.
41358         * time/clock.c (clock): Likewise.
41359         * time/tzset.c (__tzname_max): Likewise.
41361 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41363         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41364         (__bswap_32): Do not use "register".
41365         * crypt/crypt.c (_ufc_doit_r): Likewise.
41366         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41367         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41368         * gmon/gmon.c (__monstartup): Likewise.
41369         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41370         * hurd/hurdmalloc.c (more_memory): Likewise.
41371         (malloc): Likewise.
41372         (free): Likewise.
41373         (realloc): Likewise.
41374         (malloc_fork_prepare): Likewise.
41375         (malloc_fork_parent): Likewise.
41376         (malloc_fork_child): Likewise.
41377         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41378         (_svcauth_des): Likewise.
41379         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41380         * inet/inet_net.c (inet_network): Likewise.
41381         * inet/inet_netof.c (inet_netof): Likewise.
41382         * inet/rcmd.c (__validuser2_sa): Likewise.
41383         * io/fts.c (fts_open): Likewise.
41384         (fts_load): Likewise.
41385         (fts_close): Likewise.
41386         (fts_read): Likewise.
41387         (fts_children): Likewise.
41388         (fts_build): Likewise.
41389         (fts_stat): Likewise.
41390         (fts_sort): Likewise.
41391         (fts_alloc): Likewise.
41392         (fts_lfree): Likewise.
41393         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41394         (_IO_file_xsgetn): Likewise.
41395         (_IO_file_xsgetn_mmap): Likewise.
41396         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41397         (_IO_cookie_write): Likewise.
41398         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41399         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41400         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41401         * malloc/obstack.c (_obstack_begin): Likewise.
41402         (_obstack_begin_1): Likewise.
41403         (_obstack_newchunk): Likewise.
41404         (_obstack_allocated_p): Likewise.
41405         (obstack_free): Likewise.
41406         (_obstack_memory_used): Likewise.
41407         * misc/getttyent.c (getttynam): Likewise.
41408         (getttyent): Likewise.
41409         (skip): Likewise.
41410         (value): Likewise.
41411         * misc/getusershell.c (initshells): Likewise.
41412         * misc/syslog.c (__vsyslog_chk): Likewise.
41413         * misc/ttyslot.c (ttyslot): Likewise.
41414         * nis/nis_hash.c (__nis_hash): Likewise.
41415         * posix/fnmatch_loop.c (FCT): Likewise.
41416         * posix/getconf.c (print_all): Likewise.
41417         (main): Likewise.
41418         * posix/getopt.c (exchange): Likewise.
41419         * posix/glob.c (globfree): Likewise.
41420         (prefix_array): Likewise.
41421         (__glob_pattern_type): Likewise.
41422         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41423         (NS_GET32): Likewise.
41424         (NS_PUT16): Likewise.
41425         (NS_PUT32): Likewise.
41426         * resolv/gethnamaddr.c (getanswer): Likewise.
41427         (gethostbyname2): Likewise.
41428         (gethostbyaddr): Likewise.
41429         (_gethtent): Likewise.
41430         (_gethtbyname2): Likewise.
41431         (_gethtbyaddr): Likewise.
41432         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41433         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41434         * resolv/res_init.c (__res_vinit): Likewise.
41435         (net_mask): Likewise.
41436         * resolv/res_mkquery.c (outchar): Likewise.
41437         (PRINT): Likewise.
41438         * stdio-common/printf_fp.c (outchar): Likewise.
41439         (PRINT): Likewise.
41440         * stdio-common/printf_fphex.c (outchar): Likewise.
41441         (PRINT): Likewise.
41442         * stdio-common/printf_size.c (outchar): Likewise.
41443         (PRINT): Likewise.
41444         * stdio-common/test_rdwr.c (main): Likewise.
41445         * stdio-common/tfformat.c (matches): Likewise.
41446         * stdio-common/vfprintf.c (outchar): Likewise.
41447         (printf_unknown): Likewise.
41448         (buffered_vfprintf): Likewise.
41449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41450         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41451         (ReadFile): Likewise.
41452         * stdlib/qsort.c (SWAP): Likewise.
41453         (_quicksort): Likewise.
41454         * stdlib/setenv.c (__add_to_environ): Likewise.
41455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41456         * stdlib/strtol_l.c (__strtol_l): Likewise.
41457         * stdlib/tst-strtod.c (main): Likewise.
41458         * stdlib/tst-strtol.c (main): Likewise.
41459         * stdlib/tst-strtoll.c (main): Likewise.
41460         * string/bits/string2.h (__strcmp_cc): Likewise.
41461         (__strcmp_cg): Likewise.
41462         (__strcspn_c1): Likewise.
41463         (__strcspn_c2): Likewise.
41464         (__strcspn_c3): Likewise.
41465         (__strspn_c1): Likewise.
41466         (__strspn_c2): Likewise.
41467         (__strspn_c3): Likewise.
41468         (__strsep_1c): Likewise.
41469         (__strsep_2c): Likewise.
41470         (__strsep_3c): Likewise.
41471         * string/memccpy.c (__memccpy): Likewise.
41472         * string/stpcpy.c (__stpcpy): Likewise.
41473         * string/strcmp.c (strcmp): Likewise.
41474         * string/strrchr.c (strrchr): Likewise.
41475         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41476         Likewise.
41477         * sysdeps/mach/hurd/getcwd.c
41478         (_hurd_canonicalize_directory_name_internal): Likewise.
41479         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41480         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41481         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41482         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41483         Likewise, in both definitions.
41484         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41485         definitions.
41486         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41487         64] (__bswap_64): Likewise.
41488         * time/test_time.c (main): Likewise.
41489         * time/tzfile.c (__tzfile_read): Likewise.
41490         (__tzfile_compute): Likewise.
41491         * time/tzset.c (__tzset_parse_tz): Likewise.
41492         (tzset_internal): Likewise.
41493         (compute_change): Likewise.
41494         * wcsmbs/wcscat.c (__wcscat): Likewise.
41495         * wcsmbs/wcschr.c (wcschr): Likewise.
41496         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41497         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41498         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41499         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41500         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41501         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41502         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41503         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41504         * wcsmbs/wmemset.c (wmemset): Likewise.
41506 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41508         * scripts/config.guess: Update to version 2013-05-16.
41509         * scripts/config.sub: Update to version 2013-04-24.
41510         * scripts/install-sh: Update to version 2011-11-20.07.
41511         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41512         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41514 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41516         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41517         * elf/sln.c: Likewise.
41518         * hurd/hurd/ioctl.h: Likewise.
41519         * hurd/hurdmalloc.c: Likewise.
41520         * hurd/xattr.c: Likewise.
41521         * include/shlib-compat.h: Likewise.
41522         * inet/ruserpass.c: Likewise.
41523         * libio/iofgets_u.c: Likewise.
41524         * libio/iofgetws_u.c: Likewise.
41525         * locale/programs/ld-identification.c: Likewise.
41526         * locale/programs/ld-time.c: Likewise.
41527         * mach/msg-destroy.c: Likewise.
41528         * nss/nss_files/files-netgrp.c: Likewise.
41529         * resolv/res_data.c: Likewise.
41530         * soft-fp/op-1.h: Likewise.
41531         * soft-fp/op-2.h: Likewise.
41532         * soft-fp/op-4.h: Likewise.
41533         * soft-fp/op-common.h: Likewise.
41534         * stdio-common/printf_fphex.c: Likewise.
41535         * stdlib/strtod_l.c: Likewise.
41536         * sunrpc/rpc/clnt.h: Likewise.
41537         * sysdeps/generic/framestate.c: Likewise.
41538         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41539         * sysdeps/i386/bsd-setjmp.S: Likewise.
41540         * sysdeps/i386/__longjmp.S: Likewise.
41541         * sysdeps/i386/setjmp.S: Likewise.
41542         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41543         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41545         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41546         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41547         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41550         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41551         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41552         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41556         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41559         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41560         * sysdeps/ieee754/support.c: Likewise.
41561         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41562         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41563         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41564         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41565         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41566         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41567         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41568         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41569         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41570         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41571         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41572         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41573         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41574         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41575         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41576         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41577         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41580 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41582         * posix/transbug.c: Remove executable mode.
41584 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41586         * crypt/speeds.c: Remove trailing whitespace.
41587         * dlfcn/default.c: Likewise.
41588         * elf/ifuncdep2.c: Likewise.
41589         * elf/ifuncmain1.c: Likewise.
41590         * elf/ifuncmain1vis.c: Likewise.
41591         * elf/testobj.h: Likewise.
41592         * elf/tst-stackguard1.c: Likewise.
41593         * gmon/sys/gmon.h: Likewise.
41594         * hurd/hurdmsg.c: Likewise.
41595         * hurd/new-fd.c: Likewise.
41596         * hurd/ports-get.c: Likewise.
41597         * iconvdata/ibm1008_420.c: Likewise.
41598         * inet/tst-getni1.c: Likewise.
41599         * inet/tst-getni2.c: Likewise.
41600         * libio/ioungetc.c: Likewise.
41601         * libio/wfiledoalloc.c: Likewise.
41602         * manual/libm-err-tab.pl: Likewise.
41603         * math/w_dremf.c: Likewise.
41604         * misc/ftruncate.c: Likewise.
41605         * posix/bug-glob2.c: Likewise.
41606         * posix/tst-pcre.c: Likewise.
41607         * posix/wait4.c: Likewise.
41608         * resolv/README: Likewise.
41609         * resolv/res_debug.h: Likewise.
41610         * resolv/tst-inet_ntop.c: Likewise.
41611         * setjmp/bug269-setjmp.c: Likewise.
41612         * soft-fp/extended.h: Likewise.
41613         * soft-fp/op-1.h: Likewise.
41614         * soft-fp/op-2.h: Likewise.
41615         * soft-fp/op-4.h: Likewise.
41616         * soft-fp/op-8.h: Likewise.
41617         * soft-fp/testit.c: Likewise.
41618         * stdio-common/bug16.c: Likewise.
41619         * stdlib/random.c: Likewise.
41620         * sunrpc/rpcsvc/rquota.x: Likewise.
41621         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41622         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41623         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41624         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41625         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41626         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41627         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41628         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41629         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41630         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41631         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41632         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41633         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41636         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41637         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41639         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41642         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41643         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41644         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41645         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41646         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41647         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41650         * sysdeps/ieee754/s_lib_version.c: Likewise.
41651         * sysdeps/mach/hurd/check_fds.c: Likewise.
41652         * sysdeps/mach/hurd/getsockname.c: Likewise.
41653         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41654         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41655         * sysdeps/powerpc/bits/link.h: Likewise.
41656         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41657         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41658         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41659         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41660         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41661         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41662         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41663         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41664         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41665         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41666         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41667         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41668         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41669         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41670         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41671         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41672         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41674         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41675         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41676         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41677         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41678         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41679         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41680         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41681         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41682         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41684         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41688         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41689         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41690         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41691         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41692         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41693         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41694         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41695         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41696         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41697         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41698         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41699         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41700         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41701         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41702         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41703         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41704         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41705         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41708         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41709         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41710         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41711         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41712         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41714         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41715         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41716         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41717         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41718         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41719         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41720         * sysdeps/powerpc/sysdep.h: Likewise.
41721         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41722         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41723         * sysdeps/sh/dl-trampoline.S: Likewise.
41724         * sysdeps/sh/memset.S: Likewise.
41725         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41726         * sysdeps/sh/strlen.S: Likewise.
41727         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41728         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41729         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41730         * sysdeps/sparc/sparc32/rem.S: Likewise.
41731         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41732         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41733         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41734         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41735         * sysdeps/sparc/sparc32/urem.S: Likewise.
41736         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41737         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41738         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41739         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41741         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41742         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41743         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41744         * sysdeps/unix/bsd/times.c: Likewise.
41745         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41746         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41750         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41751         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41752         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41753         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41754         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41755         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41756         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41757         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41758         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41760         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41761         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41762         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41763         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41764         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41765         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41766         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41767         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41768         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41769         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41770         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41771         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41772         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41773         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41774         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41775         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41776         * sysdeps/x86_64/strcspn.S: Likewise.
41778 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41780         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41781         generated file.  Regenerate properly from gen-translit.pl.
41782         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41783         locale/C-translit.h.
41785 2013-06-05  Andreas Schwab  <schwab@suse.de>
41787         [BZ #15100]
41788         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41789         week as 6 instead of -1.
41790         * time/tst-strptime.c (day_tests): Add test case.
41792 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41794         * sysdeps/generic/math_private.h
41795         (libc_feholdexcept_setround_53bit): Replace with
41796         libc_feholdsetround_53bit.
41797         (libc_feupdateenv_53bit): Replace with
41798         libc_feresetround_53bit.
41799         (SET_RESTORE_ROUND_53BIT): Adjust.
41801 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41803         * string/test-strchrnul.c: Add copyright header.
41805         * posix/tst-getaddrinfo4.c: Increase test timeout.
41807 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41809         [BZ #15536]
41810         * math/libm-test.inc (MAX_EXP): Remove
41811         (MIN_EXP): Define.
41812         (ulp): Use MIN_EXP - MANT_DIG.
41813         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41815 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41817         * po/be.po: Revert last change.
41818         * po/zh_CN.po: Likewise.
41819         * po/header.pot: Likewise.
41821 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41823         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41824         link-libc-deps to empty as target-specific variable.
41825         * Makerules (link-libc-args): New variable.
41826         (libc-for-link): Likewise.
41827         (link-libc-deps): Likewise.
41828         (lib%.so): Depend on $(link-libc-deps).  Link with
41829         $(link-libc-args).
41830         (build-module): Link with $(link-libc-args).
41831         (build-module-asneeded): Likewise.
41832         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41833         list of objects.
41834         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41835         target-specific variable.
41836         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41837         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41838         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41839         libc.
41840         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41841         libc and ld.so.
41842         ($(objpfx)libpcprofile.so): Likewise.
41843         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41844         libc_nonshared.a.
41845         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41846         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41847         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41848         $(link-libc-deps).
41849         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41850         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41851         * login/Makefile ($(objpfx)libutil.so): Likewise.
41852         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41853         * math/Makefile ($(objpfx)libm.so): Likewise.
41854         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41855         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41856         variable instead of depending directly on libc.
41857         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41858         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41859         $(link-libc-deps).
41860         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41861         libc.
41862         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41863         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41864         ($(objpfx)libanl.so): Likewise.
41865         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41866         ld.so.
41867         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41868         $(link-libc-deps).
41869         * sysdeps/i386/fpu/Makefile: Remove file.
41870         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41871         ($(objpfx)libm.so): Remove dependency on ld.so.
41873 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41875         [BZ # 15553]
41876         * nis/yp_xdr.c (XDRMAXNAME): Define.
41877         (XDRMAXRECORD): Define.
41878         (xdr_domainname): Use XDRMAXNAME.
41879         (xdr_mapname): Likewise.
41880         (xdr_peername): Likewise.
41881         (xdr_keydat): Use XDRMAXRECORD.
41882         (xdr_valdat): Likewise.
41884 2013-05-30  Jeff Law  <law@redhat.com>
41886         [BZ #14256]
41887         * manual/errno.texi (ESTALE): Update to account for more than
41888         just NFS file systems.
41889         * sysdeps/gnu/errlist.c: Regenerated.
41891 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41893         [BZ #15465]
41894         * elf/Makefile (tests): Add tst-null-argv.
41895         (modules-names):  Add tst-null-argv-lib.
41896         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41897         (tst-null-argv-ENV): Set environment for tst-null-argv.
41898         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41899         (RTLD_PROGNAME): New macro.
41900         * elf/tst-null-argv.c: New test case.
41901         * elf/tst-null-argv-lib.c: Library for test case.
41902         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41903         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41904         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41905         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41906         * elf/dl-init.c (call_init): Likewise.
41907         (_dl_init): Likewise.
41908         * elf/dl-load.c (print_search_path): Likewise.
41909         (_dl_map_object): Likewise.
41910         * elf/dl-lookup.c (do_lookup_x): Likewise.
41911         (add_dependency): Likewise.
41912         (_dl_lookup_symbol_x): Likewise.
41913         (_dl_debug_bindings): Likewise.
41914         * elf/dl-open.c (_dl_show_scope): Likewise.
41915         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41916         * elf/dl-version.c (match_symbol): Likewise.
41917         (_dl_check_map_versions): Likewise.
41918         * elf/rtld.c (dl_main): Likewise.
41919         (print_unresolved): Use RTLD_PROGNAME.
41920         (print_missing_version): Likewise.
41921         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41922         (elf_machine_rela): Likewise.
41923         * sysdeps/powerpc/powerpc32/dl-machine.c
41924         (__process_machine_rela): Likewise.
41925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41926         Likewise.
41927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41928         Likewise.
41929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41930         Likewise.
41931         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41933         Likewise.
41934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41935         Likewise.
41936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41938 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41940         * po/be.po: Add descriptive title.
41941         * po/zh_CN.po: Likewise.
41942         * po/header.pot: Likewise.
41944 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41946         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41947         error message.
41948         (enlarge_archive): Likewise.
41950 2013-05-28  Ben North  <ben@redfrontdoor.org>
41952         * manual/arith.texi (frexp): It is the magnitude of the return
41953         value which lies in [0.5, 1), not the return value itself.
41955 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41959 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41961         * stdio-common/bug26.c (main): Correct fscanf template.
41963         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41964         declare _dl_skip_args.
41966         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41967         Don't declare.
41969         * manual/platform.texi: Add missing @end deftypefun.
41971 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41973         [BZ #15529]
41974         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41975         bit of mantissa of 2^16382.
41976         * math/libm-test.inc (hypot_test_data): Add more tests.
41978         * math/libm-test.inc: Add drem and pow10 to list of tested
41979         functions.
41980         (pow10_test): New function.
41981         (drem_test): Likewise.
41982         (drem_test_tonearest): Likewise.
41983         (drem_test_towardzero): Likewise.
41984         (drem_test_downward): Likewise.
41985         (drem_test_upward): Likewise.
41986         (main): Call the new functions.
41988         * math/libm-test.inc (finite_test_data): Remove.
41989         (finite_test): Run tests from isfinite_test_data.
41990         (gamma_test_data): Remove.
41991         (gamma_test): Run tests from lgamma_test_data.
41992         * sysdeps/i386/fpu/libm-test-ulps: Update.
41993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41995 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41997         * manual/platform.texi: Add PowerPC PPR function set documentation.
41998         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41999         implementation.
42001 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42003         * math/libm-test.inc (MAX_EXP): Define.
42004         (ULPDIFF): Define.
42005         (ulp): New function.
42006         (check_float_internal): Use ULPDIFF.
42007         (cpow_test): Disable failing test.
42008         (check_ulp): Test ulp() implemetnation.
42009         (main): Call check_ulp before starting tests.
42011 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42013         * math/gen-libm-test.pl (generate_testfile): Do not handle
42014         START_DATA and END_DATA.
42015         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42016         END_DATA.
42017         (acos_tonearest_test_data): Likewise.
42018         (acos_towardzero_test_data): Likewise.
42019         (acos_downward_test_data): Likewise.
42020         (acos_upward_test_data): Likewise.
42021         (acosh_test_data): Likewise.
42022         (asin_test_data): Likewise.
42023         (asin_tonearest_test_data): Likewise.
42024         (asin_towardzero_test_data): Likewise.
42025         (asin_downward_test_data): Likewise.
42026         (asin_upward_test_data): Likewise.
42027         (asinh_test_data): Likewise.
42028         (atan_test_data): Likewise.
42029         (atanh_test_data): Likewise.
42030         (atan2_test_data): Likewise.
42031         (cabs_test_data): Likewise.
42032         (cacos_test_data): Likewise.
42033         (cacosh_test_data): Likewise.
42034         (carg_test_data): Likewise.
42035         (casin_test_data): Likewise.
42036         (casinh_test_data): Likewise.
42037         (catan_test_data): Likewise.
42038         (catanh_test_data): Likewise.
42039         (cbrt_test_data): Likewise.
42040         (ccos_test_data): Likewise.
42041         (ccosh_test_data): Likewise.
42042         (ceil_test_data): Likewise.
42043         (cexp_test_data): Likewise.
42044         (cimag_test_data): Likewise.
42045         (clog_test_data): Likewise.
42046         (clog10_test_data): Likewise.
42047         (conj_test_data): Likewise.
42048         (copysign_test_data): Likewise.
42049         (cos_test_data): Likewise.
42050         (cos_tonearest_test_data): Likewise.
42051         (cos_towardzero_test_data): Likewise.
42052         (cos_downward_test_data): Likewise.
42053         (cos_upward_test_data): Likewise.
42054         (cosh_test_data): Likewise.
42055         (cosh_tonearest_test_data): Likewise.
42056         (cosh_towardzero_test_data): Likewise.
42057         (cosh_downward_test_data): Likewise.
42058         (cosh_upward_test_data): Likewise.
42059         (cpow_test_data): Likewise.
42060         (cproj_test_data): Likewise.
42061         (creal_test_data): Likewise.
42062         (csin_test_data): Likewise.
42063         (csinh_test_data): Likewise.
42064         (csqrt_test_data): Likewise.
42065         (ctan_test_data): Likewise.
42066         (ctan_tonearest_test_data): Likewise.
42067         (ctan_towardzero_test_data): Likewise.
42068         (ctan_downward_test_data): Likewise.
42069         (ctan_upward_test_data): Likewise.
42070         (ctanh_test_data): Likewise.
42071         (ctanh_tonearest_test_data): Likewise.
42072         (ctanh_towardzero_test_data): Likewise.
42073         (ctanh_downward_test_data): Likewise.
42074         (ctanh_upward_test_data): Likewise.
42075         (erf_test_data): Likewise.
42076         (erfc_test_data): Likewise.
42077         (exp_test_data): Likewise.
42078         (exp_tonearest_test_data): Likewise.
42079         (exp_towardzero_test_data): Likewise.
42080         (exp_downward_test_data): Likewise.
42081         (exp_upward_test_data): Likewise.
42082         (exp10_test_data): Likewise.
42083         (exp2_test_data): Likewise.
42084         (expm1_test_data): Likewise.
42085         (fabs_test_data): Likewise.
42086         (fdim_test_data): Likewise.
42087         (finite_test_data): Likewise.
42088         (floor_test_data): Likewise.
42089         (fma_test_data): Likewise.
42090         (fma_towardzero_test_data): Likewise.
42091         (fma_downward_test_data): Likewise.
42092         (fma_upward_test_data): Likewise.
42093         (fmax_test_data): Likewise.
42094         (fmin_test_data): Likewise.
42095         (fmod_test_data): Likewise.
42096         (fpclassify_test_data): Likewise.
42097         (frexp_test_data): Likewise.
42098         (gamma_test_data): Likewise.
42099         (hypot_test_data): Likewise.
42100         (ilogb_test_data): Likewise.
42101         (isfinite_test_data): Likewise.
42102         (isgreater_test_data): Likewise.
42103         (isgreaterequal_test_data): Likewise.
42104         (isinf_test_data): Likewise.
42105         (isless_test_data): Likewise.
42106         (islessequal_test_data): Likewise.
42107         (islessgreater_test_data): Likewise.
42108         (isnan_test_data): Likewise.
42109         (isnormal_test_data): Likewise.
42110         (issignaling_test_data): Likewise.
42111         (isunordered_test_data): Likewise.
42112         (j0_test_data): Likewise.
42113         (j1_test_data): Likewise.
42114         (jn_test_data): Likewise.
42115         (ldexp_test_data): Likewise.
42116         (lgamma_test_data): Likewise.
42117         (lrint_test_data): Likewise.
42118         (lrint_tonearest_test_data): Likewise.
42119         (lrint_towardzero_test_data): Likewise.
42120         (lrint_downward_test_data): Likewise.
42121         (lrint_upward_test_data): Likewise.
42122         (llrint_test_data): Likewise.
42123         (llrint_tonearest_test_data): Likewise.
42124         (llrint_towardzero_test_data): Likewise.
42125         (llrint_downward_test_data): Likewise.
42126         (llrint_upward_test_data): Likewise.
42127         (log_test_data): Likewise.
42128         (log10_test_data): Likewise.
42129         (log1p_test_data): Likewise.
42130         (log2_test_data): Likewise.
42131         (logb_test_data): Likewise.
42132         (logb_downward_test_data): Likewise.
42133         (lround_test_data): Likewise.
42134         (llround_test_data): Likewise.
42135         (modf_test_data): Likewise.
42136         (nearbyint_test_data): Likewise.
42137         (nextafter_test_data): Likewise.
42138         (nexttoward_test_data): Likewise.
42139         (pow_test_data): Likewise.
42140         (pow_tonearest_test_data): Likewise.
42141         (pow_towardzero_test_data): Likewise.
42142         (pow_downward_test_data): Likewise.
42143         (pow_upward_test_data): Likewise.
42144         (remainder_test_data): Likewise.
42145         (remainder_tonearest_test_data): Likewise.
42146         (remainder_towardzero_test_data): Likewise.
42147         (remainder_downward_test_data): Likewise.
42148         (remainder_upward_test_data): Likewise.
42149         (remquo_test_data): Likewise.
42150         (rint_test_data): Likewise.
42151         (rint_tonearest_test_data): Likewise.
42152         (rint_towardzero_test_data): Likewise.
42153         (rint_downward_test_data): Likewise.
42154         (rint_upward_test_data): Likewise.
42155         (round_test_data): Likewise.
42156         (scalb_test_data): Likewise.
42157         (scalbn_test_data): Likewise.
42158         (scalbln_test_data): Likewise.
42159         (signbit_test_data): Likewise.
42160         (sin_test_data): Likewise.
42161         (sin_tonearest_test_data): Likewise.
42162         (sin_towardzero_test_data): Likewise.
42163         (sin_downward_test_data): Likewise.
42164         (sin_upward_test_data): Likewise.
42165         (sincos_test_data): Likewise.
42166         (sinh_test_data): Likewise.
42167         (sinh_tonearest_test_data): Likewise.
42168         (sinh_towardzero_test_data): Likewise.
42169         (sinh_downward_test_data): Likewise.
42170         (sinh_upward_test_data): Likewise.
42171         (sqrt_test_data): Likewise.
42172         (tan_test_data): Likewise.
42173         (tan_tonearest_test_data): Likewise.
42174         (tan_towardzero_test_data): Likewise.
42175         (tan_downward_test_data): Likewise.
42176         (tan_upward_test_data): Likewise.
42177         (tanh_test_data): Likewise.
42178         (tgamma_test_data): Likewise.
42179         (trunc_test_data): Likewise.
42180         (y0_test_data): Likewise.
42181         (y1_test_data): Likewise.
42182         (yn_test_data): Likewise.
42183         (significand_test_data): Likewise.
42185         * math/gen-libm-test.pl (@functions): Remove variable.
42186         (generate_testfile): Don't handle START and END lines.
42187         * math/libm-test.inc (START): New macro.
42188         (END): Likewise.
42189         (END_COMPLEX): Likewise.
42190         (acos_test): Use END macro without arguments.
42191         (acos_test_tonearest): Likewise.
42192         (acos_test_towardzero): Likewise.
42193         (acos_test_downward): Likewise.
42194         (acos_test_upward): Likewise.
42195         (acosh_test): Likewise.
42196         (asin_test): Likewise.
42197         (asin_test_tonearest): Likewise.
42198         (asin_test_towardzero): Likewise.
42199         (asin_test_downward): Likewise.
42200         (asin_test_upward): Likewise.
42201         (asinh_test): Likewise.
42202         (atan_test): Likewise.
42203         (atanh_test): Likewise.
42204         (atan2_test): Likewise.
42205         (cabs_test): Likewise.
42206         (cacos_test): Use END_COMPLEX macro without arguments.
42207         (cacosh_test): Likewise.
42208         (carg_test): Use END macro without arguments.
42209         (casin_test): Use END_COMPLEX macro without arguments.
42210         (casinh_test): Likewise.
42211         (catan_test): Likewise.
42212         (catanh_test): Likewise.
42213         (cbrt_test): Use END macro without arguments.
42214         (ccos_test): Use END_COMPLEX macro without arguments.
42215         (ccosh_test): Likewise.
42216         (ceil_test): Use END macro without arguments.
42217         (cexp_test): Use END_COMPLEX macro without arguments.
42218         (cimag_test): Use END macro without arguments.
42219         (clog_test): Use END_COMPLEX macro without arguments.
42220         (clog10_test): Likewise.
42221         (conj_test): Likewise.
42222         (copysign_test): Use END macro without arguments.
42223         (cos_test): Likewise.
42224         (cos_test_tonearest): Likewise.
42225         (cos_test_towardzero): Likewise.
42226         (cos_test_downward): Likewise.
42227         (cos_test_upward): Likewise.
42228         (cosh_test): Likewise.
42229         (cosh_test_tonearest): Likewise.
42230         (cosh_test_towardzero): Likewise.
42231         (cosh_test_downward): Likewise.
42232         (cosh_test_upward): Likewise.
42233         (cpow_test): Use END_COMPLEX macro without arguments.
42234         (cproj_test): Likewise.
42235         (creal_test): Use END macro without arguments.
42236         (csin_test): Use END_COMPLEX macro without arguments.
42237         (csinh_test): Likewise.
42238         (csqrt_test): Likewise.
42239         (ctan_test): Likewise.
42240         (ctan_test_tonearest): Likewise.
42241         (ctan_test_towardzero): Likewise.
42242         (ctan_test_downward): Likewise.
42243         (ctan_test_upward): Likewise.
42244         (ctanh_test): Likewise.
42245         (ctanh_test_tonearest): Likewise.
42246         (ctanh_test_towardzero): Likewise.
42247         (ctanh_test_downward): Likewise.
42248         (ctanh_test_upward): Likewise.
42249         (erf_test): Use END macro without arguments.
42250         (erfc_test): Likewise.
42251         (exp_test): Likewise.
42252         (exp_test_tonearest): Likewise.
42253         (exp_test_towardzero): Likewise.
42254         (exp_test_downward): Likewise.
42255         (exp_test_upward): Likewise.
42256         (exp10_test): Likewise.
42257         (exp2_test): Likewise.
42258         (expm1_test): Likewise.
42259         (fabs_test): Likewise.
42260         (fdim_test): Likewise.
42261         (finite_test): Likewise.
42262         (floor_test): Likewise.
42263         (fma_test): Likewise.
42264         (fma_test_towardzero): Likewise.
42265         (fma_test_downward): Likewise.
42266         (fma_test_upward): Likewise.
42267         (fmax_test): Likewise.
42268         (fmin_test): Likewise.
42269         (fmod_test): Likewise.
42270         (fpclassify_test): Likewise.
42271         (frexp_test): Likewise.
42272         (gamma_test): Likewise.
42273         (hypot_test): Likewise.
42274         (ilogb_test): Likewise.
42275         (isfinite_test): Likewise.
42276         (isgreater_test): Likewise.
42277         (isgreaterequal_test): Likewise.
42278         (isinf_test): Likewise.
42279         (isless_test): Likewise.
42280         (islessequal_test): Likewise.
42281         (islessgreater_test): Likewise.
42282         (isnan_test): Likewise.
42283         (isnormal_test): Likewise.
42284         (issignaling_test): Likewise.
42285         (isunordered_test): Likewise.
42286         (j0_test): Likewise.
42287         (j1_test): Likewise.
42288         (jn_test): Likewise.
42289         (ldexp_test): Likewise.
42290         (lgamma_test): Likewise.
42291         (lrint_test): Likewise.
42292         (lrint_test_tonearest): Likewise.
42293         (lrint_test_towardzero): Likewise.
42294         (lrint_test_downward): Likewise.
42295         (lrint_test_upward): Likewise.
42296         (llrint_test): Likewise.
42297         (llrint_test_tonearest): Likewise.
42298         (llrint_test_towardzero): Likewise.
42299         (llrint_test_downward): Likewise.
42300         (llrint_test_upward): Likewise.
42301         (log_test): Likewise.
42302         (log10_test): Likewise.
42303         (log1p_test): Likewise.
42304         (log2_test): Likewise.
42305         (logb_test): Likewise.
42306         (logb_test_downward): Likewise.
42307         (lround_test): Likewise.
42308         (llround_test): Likewise.
42309         (modf_test): Likewise.
42310         (nearbyint_test): Likewise.
42311         (nextafter_test): Likewise.
42312         (nexttoward_test): Likewise.
42313         (pow_test): Likewise.
42314         (pow_test_tonearest): Likewise.
42315         (pow_test_towardzero): Likewise.
42316         (pow_test_downward): Likewise.
42317         (pow_test_upward): Likewise.
42318         (remainder_test): Likewise.
42319         (remainder_test_tonearest): Likewise.
42320         (remainder_test_towardzero): Likewise.
42321         (remainder_test_downward): Likewise.
42322         (remainder_test_upward): Likewise.
42323         (remquo_test): Likewise.
42324         (rint_test): Likewise.
42325         (rint_test_tonearest): Likewise.
42326         (rint_test_towardzero): Likewise.
42327         (rint_test_downward): Likewise.
42328         (rint_test_upward): Likewise.
42329         (round_test): Likewise.
42330         (scalb_test): Likewise.
42331         (scalbn_test): Likewise.
42332         (scalbln_test): Likewise.
42333         (signbit_test): Likewise.
42334         (sin_test): Likewise.
42335         (sin_test_tonearest): Likewise.
42336         (sin_test_towardzero): Likewise.
42337         (sin_test_downward): Likewise.
42338         (sin_test_upward): Likewise.
42339         (sincos_test): Likewise.
42340         (sinh_test): Likewise.
42341         (sinh_test_tonearest): Likewise.
42342         (sinh_test_towardzero): Likewise.
42343         (sinh_test_downward): Likewise.
42344         (sinh_test_upward): Likewise.
42345         (sqrt_test): Likewise.
42346         (tan_test): Likewise.
42347         (tan_test_tonearest): Likewise.
42348         (tan_test_towardzero): Likewise.
42349         (tan_test_downward): Likewise.
42350         (tan_test_upward): Likewise.
42351         (tanh_test): Likewise.
42352         (tgamma_test): Likewise.
42353         (trunc_test): Likewise.
42354         (y0_test): Likewise.
42355         (y1_test): Likewise.
42356         (yn_test): Likewise.
42357         (significand_test): Likewise.
42359 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42361         [BZ #15381]
42362         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42364 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42366         [BZ #14894]
42367         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42368         __ppc_mdoio and __ppc_mdoom.
42369         * manual/platform.texi: Document new functions __ppc_yield,
42370         __ppc_mdoio and __ppc_mdoom.
42372 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42374         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42375         (main): Mention "tls" pseudo-hwcap is legacy.
42376         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42378 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42380         * math/gen-libm-test.pl (parse_args): Output only string of
42381         arguments as text for test name, not full call or descriptions of
42382         tests for extra outputs.
42383         (generate_testfile): Do not pass function name to parse_args.
42384         Generate this_func variable from START.
42385         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42386         field to arg_str.
42387         (struct test_ff_f_data): Likewise.
42388         (test_ff_f_data_nexttoward): Likewise.
42389         (struct test_fi_f_data): Likewise.
42390         (struct test_fl_f_data): Likewise.
42391         (struct test_if_f_data): Likewise.
42392         (struct test_fff_f_data): Likewise.
42393         (struct test_c_f_data): Likewise.
42394         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42395         (struct test_fF_f1_data): Likewise.
42396         (struct test_ffI_f1_data): Likewise.
42397         (struct test_c_c_data): Rename test_name field to arg_str.
42398         (struct test_cc_c_data): Likewise.
42399         (struct test_f_i_data): Likewise.
42400         (struct test_ff_i_data): Likewise.
42401         (struct test_f_l_data): Likewise.
42402         (struct test_f_L_data): Likewise.
42403         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42404         and extra2_name.
42405         (COMMON_TEST_SETUP): New macro.
42406         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42407         (COMMON_TEST_CLEANUP): Likewise.
42408         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42409         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42410         macros.
42411         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42412         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42413         macros.
42414         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42415         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42416         cleanup macros.
42417         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42418         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42419         macros.
42420         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42421         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42422         macros.
42423         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42424         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42425         cleanup macros.
42426         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42427         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42428         cleanup macros.
42429         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42430         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42431         cleanup macros.
42432         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42433         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42434         macros.
42435         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42436         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42437         macros.
42438         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42439         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42440         macros.
42441         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42442         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42443         cleanup macros.
42444         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42445         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42446         cleanup macros.
42447         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42448         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42449         macros.
42450         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42451         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42452         cleanup macros.
42453         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42454         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42455         macros.
42456         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42457         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42458         macros.
42459         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42460         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42461         cleanup macros.
42462         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42464 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42466         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42467         to _sifields.sigfault.
42468         (si_addr_lsb): Define new macro.
42469         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42471         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42473 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42475         [BZ #15441]
42476         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42477         returns -1.
42478         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42479         null return -1.
42480         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42481         loading the domain.
42483 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42485         * math/gen-libm-test.pl (parse_args): Do not include expected
42486         result in test name.
42487         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42489         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42490         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42491         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42494 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42496         * benchtests/Makefile: Sort function entries.
42498         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42499         tanh, asinh, acosh, atanh.
42500         * benchtests/acos-inputs: New file.
42501         * benchtests/acosh-inputs: New file.
42502         * benchtests/asin-inputs: New file.
42503         * benchtests/asinh-inputs: New file.
42504         * benchtests/atanh-inputs: New file.
42505         * benchtests/cosh-inputs: New file.
42506         * benchtests/log-inputs: New file.
42507         * benchtests/sinh-inputs: New file.
42508         * benchtests/tanh-inputs: New file.
42510 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42512         [BZ #15339]
42513         * posix/tst-getaddrinfo4.c: New test.
42514         * posix/Makefile (tests): Add it.
42516 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42518         [BZ #15339]
42519         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42520         when no services were used.
42521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42522         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42524 2013-05-21  Andreas Schwab  <schwab@suse.de>
42526         [BZ #15014]
42527         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42528         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42529         successful.
42530         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42531         redundant variable declarations and reallocation of buffer when
42532         parsing as IPv6 address.  Always set NSS status when called from
42533         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42534         buffer too small.  Correct computation of needed size.
42535         * nss/Makefile (tests): Add test-digits-dots.
42536         * nss/test-digits-dots.c: New test.
42538 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         * benchtests/Makefile: Remove instructions for adding
42541         benchmark tests.
42542         * benchtests/README: New file to explain how to execute and
42543         enhance the benchmark tests.
42545 2013-05-21  Andreas Schwab  <schwab@suse.de>
42547         [BZ #15493]
42548         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42549         * setjmp/tst-sigsetjmp.c: New test.
42551 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42553         * sysdeps/x86_64/memset.S (memset): New implementation.
42554         (__bzero): Likewise.
42555         (__memset_tail): New function.
42557 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42559         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42560         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42561         __memcpy_sse2_unaligned ifunc selection.
42562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42563         Add memcpy-sse2-unaligned.S.
42564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42565         Add: __memcpy_sse2_unaligned.
42567 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42569         [BZ #15490]
42570         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42571         math_force_eval before restoring floating-point envrionment.
42572         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42573         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42574         Likewise.
42575         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42576         <math_private.h>.
42577         (__nearbyintl): Use math_force_eval before restoring
42578         floating-point environment.
42579         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42581         * math/gen-libm-test.pl (special_functions): Remove.
42582         (parse_args): Don't handle TEST_extra.  Handle functions with no
42583         return value.
42584         * math/libm-test.inc (struct test_sincos_data): Replace with
42585         struct test_fFF_11_data.
42586         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42587         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42588         (sincos_test_data): Change element type to struct
42589         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42590         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42591         RUN_TEST_LOOP_sincos.
42592         * math/README.libm-test: Don't mention special handling of
42593         individual functions.
42594         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42595         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42596         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42597         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42598         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42601         * math/gen-libm-test.pl (get_variable): Remove function.
42602         (parse_args): Don't show pointer parameters to call in test
42603         names.  Use "extra output N" in test names for extra outputs
42604         rather than naming variables.
42606 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42608         [BZ #15488]
42609         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42610         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42611         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42612         double tests.
42613         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42614         disable.
42615         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42616         check_long_double.
42618         * math/gen-libm-test.pl (@tests): Remove variable.
42619         ($count): Likewise.
42620         (new_test): Remove function.
42621         (show_exceptions): New function.
42622         (special_functions): Use show_exceptions instead of new_test.
42623         (parse_args): Likewise.
42624         (generate_testfile): Pass only function name in generated call to
42625         print_max_error or print_complex_max_error.
42626         (get_ulps): Do not handle complex tests specially.
42627         (output_test): Rename to ...
42628         (get_all_ulps_for_test): ... this.  Return a string rather than
42629         printing to a file.  Require ulps to be present.
42630         (output_ulps): Generate arrays rather than #defines.
42631         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42632         (struct ulp_data): New type.
42633         (BUILD_COMPLEX_ULP): Remove macro.
42634         (compare_ulp_data): New function.
42635         (find_ulps): Likewise.
42636         (find_test_ulps): Likewise.
42637         (find_function_ulps): Likewise.
42638         (find_complex_function_ulps): Likewise.
42639         (print_max_error): Determine allowed ulps using
42640         find_function_ulps.
42641         (print_complex_max_error): Determine allowed ulps using
42642         find_complex_function_ulps.
42643         (check_float_internal): Determine max ulps using find_test_ulps.
42644         (check_float): Do not take max_ulp parameter.  Update call to
42645         check_float_internal.
42646         (check_complex): Likewise.
42647         (check_int): Do not take max_ulp parameter.
42648         (check_long): Likewise.
42649         (check_bool): Likewise.
42650         (check_longlong): Likewise.
42651         (struct test_f_f_data): Remove max_ulp field.
42652         (struct test_ff_f_data): Likewise.
42653         (struct test_ff_f_data_nexttoward): Likewise.
42654         (struct test_fi_f_data): Likewise.
42655         (struct test_fl_f_data): Likewise.
42656         (struct test_if_f_data): Likewise.
42657         (struct test_fff_f_data): Likewise.
42658         (struct test_c_f_data): Likewise.
42659         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42660         (struct test_fF_f1_data): Likewise.
42661         (struct test_ffI_f1_data): Likewise.
42662         (struct test_c_c_data): Remove max_ulp field.
42663         (struct test_cc_c_data): Likewise.
42664         (struct test_f_i_data): Likewise.
42665         (struct test_ff_i_data): Likewise.
42666         (struct test_f_l_data): Likewise.
42667         (struct test_f_L_data): Likewise.
42668         (struct test_sincos_data): Likewise.
42669         (RUN_TEST_f_f): Do not handle ulps.
42670         (RUN_TEST_LOOP_f_f): Likewise.
42671         (RUN_TEST_2_f): Likewise.
42672         (RUN_TEST_LOOP_2_f): Likewise.
42673         (RUN_TEST_fff_f): Likewise.
42674         (RUN_TEST_LOOP_fff_f): Likewise.
42675         (RUN_TEST_c_f): Likewise.
42676         (RUN_TEST_LOOP_c_f): Likewise.
42677         (RUN_TEST_f_f1): Likewise.
42678         (RUN_TEST_LOOP_f_f1): Likewise.
42679         (RUN_TEST_fF_f1): Likewise.
42680         (RUN_TEST_LOOP_fF_f1): Likewise.
42681         (RUN_TEST_fI_f1): Likewise.
42682         (RUN_TEST_LOOP_fI_f1): Likewise.
42683         (RUN_TEST_ffI_f1): Likewise.
42684         (RUN_TEST_LOOP_ffI_f1): Likewise.
42685         (RUN_TEST_c_c): Likewise.
42686         (RUN_TEST_LOOP_c_c): Likewise.
42687         (RUN_TEST_cc_c): Likewise.
42688         (RUN_TEST_LOOP_cc_c): Likewise.
42689         (RUN_TEST_f_i): Likewise.
42690         (RUN_TEST_LOOP_f_i): Likewise.
42691         (RUN_TEST_f_i_tg): Likewise.
42692         (RUN_TEST_LOOP_f_i_tg): Likewise.
42693         (RUN_TEST_ff_i_tg): Likewise.
42694         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42695         (RUN_TEST_f_b): Likewise.
42696         (RUN_TEST_LOOP_f_b): Likewise.
42697         (RUN_TEST_f_b_tg): Likewise.
42698         (RUN_TEST_LOOP_f_b_tg): Likewise.
42699         (RUN_TEST_f_l): Likewise.
42700         (RUN_TEST_LOOP_f_l): Likewise.
42701         (RUN_TEST_f_L): Likewise.
42702         (RUN_TEST_LOOP_f_L): Likewise.
42703         (RUN_TEST_sincos): Likewise.
42704         (RUN_TEST_LOOP_sincos): Likewise.
42706 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42708         [BZ #15480]
42709         [BZ #15485]
42710         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42711         main case of finite arguments, set rounding mode to FE_TONEAREST
42712         and discard exceptions.
42713         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42714         exceptions.
42715         (remainder_tonearest_test_data): New variable.
42716         (remainder_test_tonearest): New function.
42717         (remainder_towardzero_test_data): New variable.
42718         (remainder_test_towardzero): New function.
42719         (remainder_downward_test_data): New variable.
42720         (remainder_test_downward): New function.
42721         (remainder_upward_test_data): New variable.
42722         (remainder_test_upward): New function.
42723         (main): Call the new test functions.
42725         * math/libm-test.inc (struct test_f_f1_data): Remove field
42726         extra_init.
42727         (struct test_fF_f1_data): Likewise.
42728         (struct test_ffI_f1_data): Likewise.
42729         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42730         based on value of EXTRA_EXPECTED.
42731         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42732         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42733         EXTRA_VAR based on value of EXTRA_EXPECTED.
42734         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42735         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42736         EXTRA_VAR based on value of EXTRA_EXPECTED.
42737         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42738         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42739         EXTRA_VAR based on value of EXTRA_EXPECTED.
42740         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42741         * math/gen-libm-test.pl (parse_args): Don't output initializers
42742         for extra output values.
42744         * math/libm-test.inc (check_int): Expect result to be exactly
42745         equal to expected value and do not handle ulps.
42746         (check_long): Likewise.
42747         (check_longlong): Likewise.
42749         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42750         exceptions.
42751         (cimag_test_data): Likewise.
42752         (conj_test_data): Likewise.
42753         (copysign_test_data): Likewise.
42754         (cproj_test_data): Likewise.
42755         (creal_test_data): Likewise.
42756         (fabs_test_data): Likewise.
42757         (fdim_test_data): Likewise.
42758         (finite_test_data): Likewise.
42759         (floor_test_data): Likewise.
42760         (fmax_test_data): Likewise.
42761         (fmin_test_data): Likewise.
42762         (fmod_test_data): Likewise.
42763         (fpclassify_test_data): Likewise.
42764         (frexp_test_data): Likewise.
42765         (ilogb_test_data): Likewise.
42766         (isfinite_test_data): Likewise.
42767         (isgreater_test_data): Likewise.
42768         (isgreaterequal_test_data): Likewise.
42769         (isinf_test_data): Likewise.
42770         (isless_test_data): Likewise.
42771         (islessequal_test_data): Likewise.
42772         (islessgreater_test_data): Likewise.
42773         (isnan_test_data): Likewise.
42774         (isnormal_test_data): Likewise.
42775         (issignaling_test_data): Likewise.
42776         (isunordered_test_data): Likewise.
42777         (ldexp_test_data): Likewise.
42778         (lrint_test_data): Likewise.
42779         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42780         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42781         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42782         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42783         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42784         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42785         test input.
42786         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42787         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42788         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42789         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42790         that test input.
42791         (lrint_downward_test_data): Test for "inexact" exceptions.
42792         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42793         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42794         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42795         test input.
42796         (lrint_upward_test_data): Test for "inexact" exceptions.
42797         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42798         test input.
42799         (llrint_test_data): Test for "inexact" exceptions.
42800         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42801         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42802         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42803         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42804         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42805         (llrint_downward_test_data): Test for "inexact" exceptions.
42806         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42807         (llrint_upward_test_data): Test for "inexact" exceptions.
42808         (logb_test_data): Likewise.
42809         (logb_downward_test_data): Likewise.
42810         (nextafter_test_data): Likewise.
42811         (nexttoward_test_data): Likewise.
42812         (remainder_test_data): Likewise.
42813         (remquo_test_data): Likewise.
42814         (scalbn_test_data): Likewise.
42815         (scalbln_test_data): Likewise.
42816         (signbit_test_data): Likewise.
42817         (sqrt_test_data): Likewise.
42818         (significand_test_data): Likewise.
42820 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42822         [BZ #15424]
42823         * benchtests/bench-modf.c (struct args): Mark arg0 as
42824         volatile.
42825         * scripts/bench.pl: Mark members of struct args as volatile.
42827 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42829         [BZ # 15497]
42830         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42831         negative infinity on POWER6 or lower.
42832         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42834 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42836         [BZ #15442]
42837         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42838         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42839         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42840         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42841         (_FP_SETQNAN): New macro.
42842         (_FP_SETQNAN_SEMIRAW): Likewise.
42843         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42844         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42845         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42846         (FP_EXTEND): Use _FP_FRAC_SNANP.
42847         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42848         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42849         into account.
42850         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42851         New macro.
42852         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42853         Likewise.
42855 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42857         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42858         with DIVIDE_BY_ZERO_EXCEPTION.
42859         (gamma_test_data): Likewise.
42860         (lgamma_test_data): Likewise.
42861         (log_test_data): Likewise.
42862         (log10_test_data): Likewise.
42863         (log2_test_data): Likewise.
42864         (tgamma_test_data): Likewise.
42866         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42867         (acos_test_tonearest): Likewise.
42868         (acos_test_towardzero): Likewise.
42869         (acos_test_downward): Likewise.
42870         (acos_test_upward): Likewise.
42871         (acosh_test): Likewise.
42872         (asin_test): Likewise.
42873         (asin_test_tonearest): Likewise.
42874         (asin_test_towardzero): Likewise.
42875         (asin_test_downward): Likewise.
42876         (asin_test_upward): Likewise.
42877         (asinh_test): Likewise.
42878         (atan_test): Likewise.
42879         (atanh_test): Likewise.
42880         (atan2_test): Likewise.
42881         (cabs_test): Likewise.
42882         (cacos_test): Likewise.
42883         (cacosh_test): Likewise.
42884         (casin_test): Likewise.
42885         (casinh_test): Likewise.
42886         (catan_test): Likewise.
42887         (catanh_test): Likewise.
42888         (cbrt_test): Likewise.
42889         (ccos_test): Likewise.
42890         (ccosh_test): Likewise.
42891         (cexp_test): Likewise.
42892         (clog_test): Likewise.
42893         (clog10_test): Likewise.
42894         (cos_test): Likewise.
42895         (cos_test_tonearest): Likewise.
42896         (cos_test_towardzero): Likewise.
42897         (cos_test_downward): Likewise.
42898         (cos_test_upward): Likewise.
42899         (cosh_test): Likewise.
42900         (cosh_test_tonearest): Likewise.
42901         (cosh_test_towardzero): Likewise.
42902         (cosh_test_downward): Likewise.
42903         (cosh_test_upward): Likewise.
42904         (cpow_test): Likewise.
42905         (csin_test): Likewise.
42906         (csinh_test): Likewise.
42907         (csqrt_test): Likewise.
42908         (ctan_test): Likewise.
42909         (ctan_test_tonearest): Likewise.
42910         (ctan_test_towardzero): Likewise.
42911         (ctan_test_downward): Likewise.
42912         (ctan_test_upward): Likewise.
42913         (ctanh_test): Likewise.
42914         (ctanh_test_tonearest): Likewise.
42915         (ctanh_test_towardzero): Likewise.
42916         (ctanh_test_downward): Likewise.
42917         (ctanh_test_upward): Likewise.
42918         (erf_test): Likewise.
42919         (erfc_test): Likewise.
42920         (exp_test): Likewise.
42921         (exp_test_tonearest): Likewise.
42922         (exp_test_towardzero): Likewise.
42923         (exp_test_downward): Likewise.
42924         (exp_test_upward): Likewise.
42925         (exp10_test): Likewise.
42926         (exp2_test): Likewise.
42927         (expm1_test): Likewise.
42928         (fmod_test): Likewise.
42929         (gamma_test): Likewise.
42930         (hypot_test): Likewise.
42931         (j0_test): Likewise.
42932         (j1_test): Likewise.
42933         (jn_test): Likewise.
42934         (lgamma_test): Likewise.
42935         (log_test): Likewise.
42936         (log10_test): Likewise.
42937         (log1p_test): Likewise.
42938         (log2_test): Likewise.
42939         (logb_test_downward): Likewise.
42940         (pow_test): Likewise.
42941         (pow_test_tonearest): Likewise.
42942         (pow_test_towardzero): Likewise.
42943         (pow_test_downward): Likewise.
42944         (pow_test_upward): Likewise.
42945         (remainder_test): Likewise.
42946         (remquo_test): Likewise.
42947         (sin_test): Likewise.
42948         (sin_test_tonearest): Likewise.
42949         (sin_test_towardzero): Likewise.
42950         (sin_test_downward): Likewise.
42951         (sin_test_upward): Likewise.
42952         (sincos_test): Likewise.
42953         (sinh_test): Likewise.
42954         (sinh_test_tonearest): Likewise.
42955         (sinh_test_towardzero): Likewise.
42956         (sinh_test_downward): Likewise.
42957         (sinh_test_upward): Likewise.
42958         (sqrt_test): Likewise.
42959         (tan_test): Likewise.
42960         (tan_test_tonearest): Likewise.
42961         (tan_test_towardzero): Likewise.
42962         (tan_test_downward): Likewise.
42963         (tan_test_upward): Likewise.
42964         (tanh_test): Likewise.
42965         (tgamma_test): Likewise.
42966         (y0_test): Likewise.
42967         (y1_test): Likewise.
42968         (yn_test): Likewise.
42970         * math/gen-libm-test.pl (adjust_arg): Remove function.
42971         (special_function): Remove argument $in_func.  Only handle
42972         generating output for tables of tests, not inside functions.
42973         (parse_args): Likewise.
42974         (generate_testfile): Remove variable $in_func.  Update call to
42975         parse_args.
42976         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42977         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42978         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42979         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42980         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42981         (MAX_VALUE_INIT): Rename macro to max_value.
42982         (MIN_VALUE_INIT): Rename macro to min_value.
42983         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42984         (plus_zero): Remove variable.
42985         (minus_zero): Likewise.
42986         (plus_infty): Likewise.
42987         (minus_infty): Likewise.
42988         (qnan_value): Likewise.
42989         (max_value): Likewise.
42990         (min_value): Likewise.
42991         (min_subnorm_value): Likewise.
42993 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42995         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42996         uint64_t or uint32_t usage.
42997         * crypt/sha256-block.c: Likewise.
42998         * crypt/sha256-crypt.c: Likewise.
42999         * crypt/sha256.c: Likewise.
43000         * crypt/sha512-block.c: Likewise.
43001         * crypt/sha512-crypt.c: Likewise.
43002         * crypt/sha512.c: Likewise.
43003         * debug/backtrace-tst.c: Likewise.
43004         * debug/pcprofiledump.c: Likewise.
43005         * elf/cache.c: Likewise.
43006         * elf/dl-cache.c: Likewise.
43007         * elf/dl-misc.c: Likewise.
43008         * elf/dl-profile.c: Likewise.
43009         * elf/dl-support.c: Likewise.
43010         * elf/ldconfig.c: Likewise.
43011         * elf/sprof.c: Likewise.
43012         * iconv/dummy-repertoire.c: Likewise.
43013         * iconv/iconv_charmap.c: Likewise.
43014         * iconv/skeleton.c: Likewise.
43015         * iconvdata/8bit-generic.c: Likewise.
43016         * iconvdata/cp737.h: Likewise.
43017         * iconvdata/cp775.h: Likewise.
43018         * iconvdata/ibm1008.h: Likewise.
43019         * iconvdata/ibm1025.h: Likewise.
43020         * iconvdata/ibm1046.h: Likewise.
43021         * iconvdata/ibm1097.h: Likewise.
43022         * iconvdata/ibm1112.h: Likewise.
43023         * iconvdata/ibm1122.h: Likewise.
43024         * iconvdata/ibm1123.h: Likewise.
43025         * iconvdata/ibm1124.h: Likewise.
43026         * iconvdata/ibm1129.h: Likewise.
43027         * iconvdata/ibm1130.h: Likewise.
43028         * iconvdata/ibm1132.h: Likewise.
43029         * iconvdata/ibm1133.h: Likewise.
43030         * iconvdata/ibm1137.h: Likewise.
43031         * iconvdata/ibm1140.h: Likewise.
43032         * iconvdata/ibm1141.h: Likewise.
43033         * iconvdata/ibm1142.h: Likewise.
43034         * iconvdata/ibm1143.h: Likewise.
43035         * iconvdata/ibm1144.h: Likewise.
43036         * iconvdata/ibm1145.h: Likewise.
43037         * iconvdata/ibm1146.h: Likewise.
43038         * iconvdata/ibm1147.h: Likewise.
43039         * iconvdata/ibm1148.h: Likewise.
43040         * iconvdata/ibm1149.h: Likewise.
43041         * iconvdata/ibm1153.h: Likewise.
43042         * iconvdata/ibm1154.h: Likewise.
43043         * iconvdata/ibm1155.h: Likewise.
43044         * iconvdata/ibm1156.h: Likewise.
43045         * iconvdata/ibm1157.h: Likewise.
43046         * iconvdata/ibm1158.h: Likewise.
43047         * iconvdata/ibm1160.h: Likewise.
43048         * iconvdata/ibm1161.h: Likewise.
43049         * iconvdata/ibm1162.h: Likewise.
43050         * iconvdata/ibm1163.h: Likewise.
43051         * iconvdata/ibm1164.h: Likewise.
43052         * iconvdata/ibm1166.h: Likewise.
43053         * iconvdata/ibm1167.h: Likewise.
43054         * iconvdata/ibm12712.h: Likewise.
43055         * iconvdata/ibm1390.h: Likewise.
43056         * iconvdata/ibm1399.h: Likewise.
43057         * iconvdata/ibm16804.h: Likewise.
43058         * iconvdata/ibm4517.h: Likewise.
43059         * iconvdata/ibm4899.h: Likewise.
43060         * iconvdata/ibm4909.h: Likewise.
43061         * iconvdata/ibm4971.h: Likewise.
43062         * iconvdata/ibm5347.h: Likewise.
43063         * iconvdata/ibm803.h: Likewise.
43064         * iconvdata/ibm856.h: Likewise.
43065         * iconvdata/ibm901.h: Likewise.
43066         * iconvdata/ibm902.h: Likewise.
43067         * iconvdata/ibm9030.h: Likewise.
43068         * iconvdata/ibm9066.h: Likewise.
43069         * iconvdata/ibm921.h: Likewise.
43070         * iconvdata/ibm922.h: Likewise.
43071         * iconvdata/ibm9448.h: Likewise.
43072         * iconvdata/isiri-3342.h: Likewise.
43073         * iconvdata/jis0201.h: Likewise.
43074         * include/link.h: Likewise.
43075         * include/netdb.h: Likewise.
43076         * inet/check_native.c: Likewise.
43077         * inet/check_pf.c: Likewise.
43078         * inet/getipv4sourcefilter.c: Likewise.
43079         * inet/getnameinfo.c: Likewise.
43080         * inet/getsourcefilter.c: Likewise.
43081         * inet/htonl.c: Likewise.
43082         * inet/setipv4sourcefilter.c: Likewise.
43083         * inet/setsourcefilter.c: Likewise.
43084         * inet/test-inet6_opt.c: Likewise.
43085         * inet/tst-network.c: Likewise.
43086         * locale/C-collate.c: Likewise.
43087         * locale/C-ctype.c: Likewise.
43088         * locale/C-time.c: Likewise.
43089         * locale/C-translit.h: Likewise.
43090         * locale/loadarchive.c: Likewise.
43091         * locale/programs/3level.h: Likewise.
43092         * locale/programs/charmap.c: Likewise.
43093         * locale/programs/charmap.h: Likewise.
43094         * locale/programs/ld-address.c: Likewise.
43095         * locale/programs/ld-collate.c: Likewise.
43096         * locale/programs/ld-ctype.c: Likewise.
43097         * locale/programs/ld-identification.c: Likewise.
43098         * locale/programs/ld-measurement.c: Likewise.
43099         * locale/programs/ld-messages.c: Likewise.
43100         * locale/programs/ld-monetary.c: Likewise.
43101         * locale/programs/ld-name.c: Likewise.
43102         * locale/programs/ld-numeric.c: Likewise.
43103         * locale/programs/ld-paper.c: Likewise.
43104         * locale/programs/ld-telephone.c: Likewise.
43105         * locale/programs/ld-time.c: Likewise.
43106         * locale/programs/linereader.c: Likewise.
43107         * locale/programs/locale.c: Likewise.
43108         * locale/programs/locarchive.c: Likewise.
43109         * locale/programs/locfile.h: Likewise.
43110         * locale/programs/repertoire.c: Likewise.
43111         * locale/programs/simple-hash.c: Likewise.
43112         * locale/programs/simple-hash.h: Likewise.
43113         * malloc/memusage.c: Likewise.
43114         * malloc/memusagestat.c: Likewise.
43115         * nis/nis_defaults.c: Likewise.
43116         * nis/nis_hash.c: Likewise.
43117         * nis/nis_print.c: Likewise.
43118         * nis/nis_xdr.c: Likewise.
43119         * nscd/connections.c: Likewise.
43120         * nscd/hstcache.c: Likewise.
43121         * nscd/nscd_gethst_r.c: Likewise.
43122         * nscd/nscd_getserv_r.c: Likewise.
43123         * nscd/nscd_helper.c: Likewise.
43124         * nscd/servicescache.c: Likewise.
43125         * nss/makedb.c: Likewise.
43126         * nss/nss_db/db-XXX.c: Likewise.
43127         * nss/nss_db/db-initgroups.c: Likewise.
43128         * nss/nss_db/db-netgrp.c: Likewise.
43129         * nss/nss_files/files-network.c: Likewise.
43130         * nss/nss_files/files-parse.c: Likewise.
43131         * posix/bug-regex5.c: Likewise.
43132         * posix/fnmatch_loop.c: Likewise.
43133         * posix/regcomp.c: Likewise.
43134         * posix/regexec.c: Likewise.
43135         * posix/tst-rfc3484-2.c: Likewise.
43136         * posix/tst-rfc3484-3.c: Likewise.
43137         * posix/tst-rfc3484.c: Likewise.
43138         * resolv/nss_dns/dns-canon.c: Likewise.
43139         * resolv/nss_dns/dns-network.c: Likewise.
43140         * resolv/res_init.c: Likewise.
43141         * resolv/res_mkquery.c: Likewise.
43142         * resolv/tst-aton.c: Likewise.
43143         * stdlib/cxa_atexit.c: Likewise.
43144         * stdlib/cxa_finalize.c: Likewise.
43145         * stdlib/gen-fpioconst.c: Likewise.
43146         * stdlib/strtol_l.c: Likewise.
43147         * string/tst-endian.c: Likewise.
43148         * sunrpc/auth_des.c: Likewise.
43149         * sunrpc/clnt_udp.c: Likewise.
43150         * sunrpc/rtime.c: Likewise.
43151         * sunrpc/svcauth_des.c: Likewise.
43152         * sunrpc/xdr.c: Likewise.
43153         * sunrpc/xdr_intXX_t.c: Likewise.
43154         * sunrpc/xdr_rec.c: Likewise.
43155         * sysdeps/generic/ldconfig.h: Likewise.
43156         * sysdeps/generic/ldsodefs.h: Likewise.
43157         * sysdeps/generic/memusage.h: Likewise.
43158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43160         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43161         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43162         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43163         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43164         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43165         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43166         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43168         * sysdeps/posix/getaddrinfo.c: Likewise.
43169         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43170         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43171         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43172         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43173         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43174         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43175         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43176         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43177         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43178         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43179         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43180         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43181         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43182         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43183         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43184         * sysdeps/x86_64/dl-tls.h: Likewise.
43185         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43186         * time/alt_digit.c: Likewise.
43187         * time/era.c: Likewise.
43188         * wcsmbs/tst-c16c32-1.c: Likewise.
43190 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43192         * math/libm-test.inc (struct test_sincos_data): New type.
43193         (RUN_TEST_LOOP_sincos): New macro.
43194         (sincos_test_data): New variable.
43195         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43197 2013-05-16  Richard Henderson  <rth@redhat.com>
43199         * math/atest-exp2.c (LIMB64): New macro.
43200         (CONSTSZ): New macro.
43201         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43202         (hexdig): Move ...
43203         (print_mpn_fp): ... to function scope.
43204         (read_mpn_hex): Remove.
43205         (get_log2): Remove.
43206         (exp2_mpn): Use mp_log2.
43207         (main): Use mp_exp1.
43209 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43211         * math/libm-test.inc: Remove comment about not testing "inexact"
43212         exceptions.
43213         (INEXACT_EXCEPTION): New macro.
43214         (NO_INEXACT_EXCEPTION): Likewise.
43215         (INVALID_EXCEPTION_OK): Update value.
43216         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43217         (OVERFLOW_EXCEPTION_OK): Likewise.
43218         (UNDERFLOW_EXCEPTION_OK): Likewise.
43219         (IGNORE_ZERO_INF_SIGN): Likewise.
43220         (ERRNO_UNCHANGED): Likewise.
43221         (ERRNO_EDOM): Likewise.
43222         (ERRNO_ERANGE): Likewise.
43223         (test_exceptions): Handle testing "inexact" exceptions.
43224         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43225         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43226         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43227         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43228         INEXACT_EXCEPTION.
43229         (rint_towardzero_test_data): Likewise.
43230         (rint_downward_test_data): Likewise.
43231         (rint_upward_test_data): Likewise.
43233         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43234         with OVERFLOW_EXCEPTION.
43235         (exp10_test_data): Likewise.
43236         (exp2_test_data): Likewise.
43237         (expm1_test_data): Likewise.
43238         (lgamma_test_data): Likewise.
43239         (pow_test_data): Likewise.
43240         (tgamma_test_data): Likewise.
43241         (yn_test_data): Remove duplicate test of overflow.
43243         * math/libm-test.inc (struct test_cc_c_data): New type.
43244         (RUN_TEST_LOOP_cc_c): New macro.
43245         (cpow_test_data): New variable.
43246         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43248         * math/libm-test.inc (struct test_f_L_data): New type.
43249         (RUN_TEST_LOOP_f_L): New macro.
43250         (llrint_test_data): New variable.
43251         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43252         (llrint_tonearest_test_data): New variable.
43253         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43254         (llrint_towardzero_test_data): New variable.
43255         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43256         (llrint_downward_test_data): New variable.
43257         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43258         (llrint_upward_test_data): New variable.
43259         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43260         (llround_test_data): New variable.
43261         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43263 2013-05-13  Peter Collingbourne  <pcc@google.com>
43265         * math/atest-exp2.c (get_log2): Remove const attribute.
43267 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43269         * math/libm-test.inc (struct test_f_l_data): New type.
43270         (RUN_TEST_LOOP_f_l): New macro.
43271         (lrint_test_data): New variable.
43272         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43273         (lrint_tonearest_test_data): New variable.
43274         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43275         (lrint_towardzero_test_data): New variable.
43276         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43277         (lrint_downward_test_data): New variable.
43278         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43279         (lrint_upward_test_data): New variable.
43280         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43281         (lround_test_data): New variable.
43282         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43284 2013-05-15  Peter Collingbourne  <pcc@google.com>
43286         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43287         (EXTRACT_WORDS64) Use where appropriate.
43288         (INSERT_WORDS64) Likewise.
43290         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43291         constraints with x constraints.
43292         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43294         * malloc/obstack.c (_obstack_compat): Add initializer.
43296 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43298         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43299         si_trapno and add si_addr_lsb to _sifields.sigfault.
43300         (si_trapno): Remove macro.
43301         (si_addr_lsb): Define new macro.
43302         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43304 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43306         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43307         instead of TEST_f_l.
43308         (llrint_test_tonearest): Likewise.
43309         (llrint_test_towardzero): Likewise.
43310         (llrint_test_downward): Likewise.
43311         (llrint_test_upward): Likewise.
43312         (llround_test): Likewise.
43314         * math/libm-test.inc (struct test_f_i_data): Add comment.
43315         (RUN_TEST_LOOP_f_b): New macro.
43316         (RUN_TEST_LOOP_f_b_tg): Likewise.
43317         (finite_test_data): New variable.
43318         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43319         (isfinite_test_data): New variable.
43320         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43321         (isinf_test_data): New variable.
43322         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43323         (isnan_test_data): New variable.
43324         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43325         (isnormal_test_data): New variable.
43326         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43327         (issignaling_test_data): New variable.
43328         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43329         (signbit_test_data): New variable.
43330         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43332         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43333         with INVALID_EXCEPTION.
43334         (acosh_test_data): Likewise.
43335         (asin_test_data): Likewise.
43336         (atanh_test_data): Likewise.
43337         (fmod_test_data): Likewise.
43338         (log_test_data): Likewise.
43339         (log10_test_data): Likewise.
43340         (log2_test_data): Likewise.
43341         (pow_test_data): Likewise.
43342         (sqrt_test_data): Likewise.
43343         (y0_test_data): Likewise.
43344         (y1_test_data): Likewise.
43345         (yn_test_data): Likewise.
43347         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43348         function contents.
43350         * math/libm-test.inc (struct test_ff_i_data): New type.
43351         (RUN_TEST_LOOP_ff_i_tg): New macro.
43352         (isgreater_test_data): New variable.
43353         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43354         (isgreaterequal_test_data): New variable.
43355         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43356         (isless_test_data): New variable.
43357         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43358         (islessequal_test_data): New variable.
43359         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43360         (islessgreater_test_data): New variable.
43361         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43362         (isunordered_test_data): New variable.
43363         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43365 2013-05-14  David S. Miller  <davem@davemloft.net>
43367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43369 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43371         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43373         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43374         extra_test to int.
43375         (struct test_f_i_data): Change type of max_ulp to int.
43377         * math/libm-test.inc (test_ffI_f1_data): New type.
43378         (RUN_TEST_LOOP_ffI_f1): New macro.
43379         (remquo_test_data): New variable.
43380         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43382         * setjmp/tst-setjmp-fp.c: New file.
43383         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43384         (link-libm): New variable.
43385         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43387         * math/libm-test.inc (struct test_f_i_data): New type.
43388         (RUN_TEST_LOOP_f_i): New macro.
43389         (RUN_TEST_LOOP_f_i_tg): Likewise.
43390         (fpclassify_test_data): New variable.
43391         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43392         (ilogb_test_data): New variable.
43393         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43395         * math/libm-test.inc (scalbln_test): Correct function name in END
43396         call.
43398         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43399         (RUN_TEST_LOOP_fI_f1): New macro.
43400         (frexp_test_data): New variable.
43401         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43403         * math/libm-test.inc (struct test_fF_f1_data): New type.
43404         (RUN_TEST_LOOP_fF_f1): New macro.
43405         (modf_test_data): New variable.
43406         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43408         * math/libm-test.inc (struct test_f_f1_data): New type.
43409         (RUN_TEST_LOOP_f_f1): New macro.
43410         (gamma_test_data): New variable.
43411         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43412         (lgamma_test_data): New variable.
43413         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43415 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43417         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43418         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43419         (main): Comment "tls" pseudo-hwcap.
43421 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43423         * math/libm-test.inc (struct test_fl_f_data): New type.
43424         (RUN_TEST_LOOP_fl_f): New variable.
43425         (scalbln_test_data): New variable.
43426         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43428         * math/libm-test.inc (struct test_fi_f_data): New type.
43429         (RUN_TEST_LOOP_fi_f): New macro.
43430         (ldexp_test_data): New variable.
43431         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43432         (scalbn_test_data): New variable.
43433         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43435         * math/libm-test.inc (struct test_c_f_data): New type.
43436         (RUN_TEST_LOOP_c_f): New macro.
43437         (cabs_test_data): New variable.
43438         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43439         (carg_test_data): New variable.
43440         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43441         (cimag_test_data): New variable.
43442         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43443         (creal_test_data): New variable.
43444         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43446         * math/libm-test.inc (struct test_if_f_data): New type.
43447         (RUN_TEST_LOOP_if_f): New macro.
43448         (jn_test_data): New variable.
43449         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43450         (yn_test_data): New variable.
43451         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43453         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43455 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43457         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43458         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43460 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43462         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43463         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43464         (bench-deps): Add bench-timing.h.
43465         * benchtests-bench-skeleton.c: Include bench-timing.h.
43466         (main): Use TIMING_* macros instead of clock_gettime.
43467         * benchtests/bench-timing.h: New file.
43469         [BZ #14582]
43470         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43471         Renamed from _LIB_VERSION.
43472         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43474 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43476         * math/libm-test.inc (struct test_fff_f_data): New type.
43477         (RUN_TEST_LOOP_fff_f): New macro.
43478         (fma_test_data): New variable.
43479         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43480         (fma_towardzero_test_data): New variable.
43481         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43482         (fma_downward_test_data): New variable.
43483         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43484         (fma_upward_test_data): New variable.
43485         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43487         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43488         (struct test_c_c_data): New type.
43489         (RUN_TEST_LOOP_c_c): New macro.
43490         (cacos_test_data): New variable.
43491         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43492         (cacosh_test_data): New variable.
43493         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43494         (casin_test_data): New variable.
43495         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43496         (casinh_test_data): New variable.
43497         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43498         (catan_test_data): New variable.
43499         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43500         (catanh_test_data): New variable.
43501         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43502         (ccos_test_data): New variable.
43503         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43504         (ccosh_test_data): New variable.
43505         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43506         (cexp_test_data): New variable.
43507         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43508         (clog_test_data): New variable.
43509         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43510         (clog10_test_data): New variable.
43511         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43512         (conj_test_data): New variable.
43513         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43514         (cproj_test_data): New variable.
43515         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43516         (csin_test_data): New variable.
43517         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43518         (csinh_test_data): New variable.
43519         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43520         (csqrt_test_data): New variable.
43521         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43522         (ctan_test_data): New variable.
43523         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43524         (ctan_tonearest_test_data): New variable.
43525         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43526         (ctan_towardzero_test_data): New variable.
43527         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43528         (ctan_downward_test_data): New variable.
43529         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43530         (ctan_upward_test_data): New variable.
43531         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43532         (ctanh_test_data): New variable.
43533         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43534         (ctanh_tonearest_test_data): New variable.
43535         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43536         (ctanh_towardzero_test_data): New variable.
43537         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43538         (ctanh_downward_test_data): New variable.
43539         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43540         (ctanh_upward_test_data): New variable.
43541         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43542         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43543         of BUILD_COMPLEX.
43545         * math/libm-test.inc (struct test_ff_f_data): New type.
43546         (struct test_ff_f_data_nexttoward): Likewise.
43547         (RUN_TEST_LOOP_2_f): New macro.
43548         (RUN_TEST_LOOP_ff_f): Likewise.
43549         (atan2_test_data): New variable.
43550         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43551         (copysign_test_data): New variable.
43552         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43553         (fdim_test_data): New variable.
43554         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43555         (fmax_test_data): New variable.
43556         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43557         (fmin_test_data): New variable.
43558         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43559         (fmod_test_data): New variable.
43560         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43561         (hypot_test_data): New variable.
43562         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43563         (nextafter_test_data): New variable.
43564         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43565         (nexttoward_test_data): New variable.
43566         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43567         (pow_test_data): New variable.
43568         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43569         (pow_tonearest_test_data): New variable.
43570         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43571         (pow_towardzero_test_data): New variable.
43572         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43573         (pow_downward_test_data): New variable.
43574         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43575         (pow_upward_test_data): New variable.
43576         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43577         (remainder_test_data): New variable.
43578         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43579         (scalb_test_data): New variable.
43580         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43581         * sysdeps/i386/fpu/libm-test-ulps: Update.
43583 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43585         * math/libm-test.inc (fma_test): Use max_value instead of local
43586         variable fltmax.
43587         (nextafter_test): Likewise.
43589         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43590         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43591         (acos_downward_test_data): New variable.
43592         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43593         (acos_upward_test_data): New variable.
43594         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43595         (acosh_test_data): New variable.
43596         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43597         (asin_test_data): New variable.
43598         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43599         (asin_tonearest_test_data): New variable.
43600         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43601         (asin_towardzero_test_data): New variable.
43602         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43603         (asin_downward_test_data): New variable.
43604         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43605         (asin_upward_test_data): New variable.
43606         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43607         (asinh_test_data): New variable.
43608         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43609         (atan_test_data): New variable.
43610         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43611         (atanh_test_data): New variable.
43612         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43613         (cbrt_test_data): New variable.
43614         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43615         (ceil_test_data): New variable.
43616         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43617         (cos_test_data): New variable.
43618         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43619         (cos_tonearest_test_data): New variable.
43620         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43621         (cos_towardzero_test_data): New variable.
43622         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43623         (cos_downward_test_data): New variable.
43624         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43625         (cos_upward_test_data): New variable.
43626         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43627         (cosh_test_data): New variable.
43628         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43629         (cosh_tonearest_test_data): New variable.
43630         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43631         (cosh_towardzero_test_data): New variable.
43632         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43633         (cosh_downward_test_data): New variable.
43634         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43635         (cosh_upward_test_data): New variable.
43636         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43637         (erf_test_data): New variable.
43638         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43639         (erfc_test_data): New variable.
43640         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43641         (exp_test_data): New variable.
43642         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43643         (exp_tonearest_test_data): New variable.
43644         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43645         (exp_towardzero_test_data): New variable.
43646         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43647         (exp_downward_test_data): New variable.
43648         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43649         (exp_upward_test_data): New variable.
43650         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43651         (exp10_test_data): New variable.
43652         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43653         (exp2_test_data): New variable.
43654         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43655         (expm1_test_data): New variable.
43656         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43657         (fabs_test_data): New variable.
43658         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43659         (floor_test_data): New variable.
43660         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43661         (j0_test_data): New variable.
43662         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43663         (j1_test_data): New variable.
43664         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43665         (log_test_data): New variable.
43666         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43667         (log10_test_data): New variable.
43668         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43669         (log1p_test_data): New variable.
43670         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43671         (log2_test_data): New variable.
43672         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43673         (logb_test_data): New variable.
43674         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43675         (logb_downward_test_data): New variable.
43676         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43677         (nearbyint_test_data): New variable.
43678         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43679         (rint_test_data): New variable.
43680         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43681         (rint_tonearest_test_data): New variable.
43682         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43683         (rint_towardzero_test_data): New variable.
43684         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43685         (rint_downward_test_data): New variable.
43686         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43687         (rint_upward_test_data): New variable.
43688         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43689         (round_test_data): New variable.
43690         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43691         (sin_test_data): New variable.
43692         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43693         (sin_tonearest_test_data): New variable.
43694         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43695         (sin_towardzero_test_data): New variable.
43696         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43697         (sin_downward_test_data): New variable.
43698         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43699         (sin_upward_test_data): New variable.
43700         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43701         (sinh_test_data): New variable.
43702         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43703         (sinh_tonearest_test_data): New variable.
43704         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43705         (sinh_towardzero_test_data): New variable.
43706         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43707         (sinh_downward_test_data): New variable.
43708         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43709         (sinh_upward_test_data): New variable.
43710         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43711         (sqrt_test_data): New variable.
43712         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43713         (tan_test_data): New variable.
43714         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43715         (tan_tonearest_test_data): New variable.
43716         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43717         (tan_towardzero_test_data): New variable.
43718         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43719         (tan_downward_test_data): New variable.
43720         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43721         (tan_upward_test_data): New variable.
43722         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43723         (tanh_test_data): New variable.
43724         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43725         (tgamma_test_data): New variable.
43726         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43727         (trunc_test_data): New variable.
43728         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43729         (y0_test_data): New variable.
43730         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43731         (y1_test_data): New variable.
43732         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43733         (significand_test_data): New variable.
43734         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43736 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43738         [BZ #12387]
43739         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43741 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43743         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43745 2013-05-10  Andreas Jaeger  <aj@suse.de>
43747         [BZ #15448]
43748         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43749         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43751 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43753         * math/gen-libm-test.pl (adjust_arg): New function.
43754         (special_functions): Handle generating output in both functions
43755         and arrays.
43756         (parse_args): Likewise.
43757         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43758         $in_func argument to parse_args.
43759         * math/libm-test.inc (struct test_f_f_data): New type.
43760         (IF_ROUND_INIT_): New macro.
43761         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43762         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43763         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43764         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43765         (ROUND_RESTORE_): Likewise.
43766         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43767         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43768         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43769         (ROUND_RESTORE_FE_UPWARD): Likewise.
43770         (RUN_TEST_LOOP_f_f): New macro.
43771         (acos_test_data): New variable.
43772         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43773         (acos_tonearest_test_data): New variable.
43774         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43776 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43778         * benchtests/bench-skeleton.c (startup): Fix coding style.
43780 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43782         [BZ #6809]
43783         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43784         negative infinity argument.
43785         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43786         negative infinity argument.
43787         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43788         negative infinity argument.
43789         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43790         domain errors.
43792 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43794         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43795         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43796         * iconv/iconv_prog.c (main): Likewise.
43797         * locale/programs/charmap-dir.c (charmap_readdir)
43798         (fopen_uncompressed): Likewise.
43799         * locale/programs/locfile.c (siblings_uncached)
43800         (write_locale_data): Use lstat64 instead of lstat.
43801         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43802         stat.
43804 2013-05-10  Andreas Jaeger  <aj@suse.de>
43806         [BZ #15395]
43807         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43808         localization.
43809         Include <locale.h>.
43811 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43813         * elf/dl-close.c (_dl_close_worker): Add comments.
43815 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43817         [BZ #15359]
43818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43819         high part of pi/2.
43820         (__ieee754_rem_pio2l): Update comments.
43822         [BZ #15429]
43823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43824         high part of pi/2.
43825         (__ieee754_rem_pio2l): Update comments.
43827         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43828         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43830         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43831         M_PI_4l.
43833         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43834         (M_PI_34_LOG10El): Likewise.
43835         (M_PI2_LOG10El): Likewise.
43836         (M_PI4_LOG10El): Likewise.
43837         (M_PI_LOG10El): Likewise.
43839 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43843 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43845         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43846         (MINUS_ZERO_INIT): Likewise.
43847         (PLUS_INFTY_INIT): Likewise.
43848         (MINUS_INFTY_INIT): Likewise.
43849         (QNAN_VALUE_INIT): Likewise.
43850         (MAX_VALUE_INIT): Likewise.
43851         (MIN_VALUE_INIT): Likewise.
43852         (MIN_SUBNORM_VALUE_INIT): Likewise.
43853         (plus_zero): Initialize with PLUS_ZERO_INIT.
43854         (minus_zero): Initialize with MINUS_ZERO_INIT.
43855         (plus_infty): Initialize with PLUS_INFTY_INIT.
43856         (minus_infty): Initialize with MINUS_INFTY_INIT.
43857         (qnan_value): Initialize with QNAN_VALUE_INIT.
43858         (max_value): Initialize with MAX_VALUE_INIT.
43859         (min_value): Initialize with MIN_VALUE_INIT.
43860         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43862         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43863         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43864         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43865         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43867         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43868         (RUN_TEST_2_f): Likewise.
43869         (RUN_TEST_ff_f): Likewise.
43870         (RUN_TEST_fi_f): Likewise.
43871         (RUN_TEST_fl_f): Likewise.
43872         (RUN_TEST_fff_f): Likewise.
43873         (RUN_TEST_c_f): Likewise.
43874         (RUN_TEST_f_f1): Likewise.
43875         (RUN_TEST_fF_f1): Likewise.
43876         (RUN_TEST_fI_f1): Likewise.
43877         (RUN_TEST_ffI_f1): Likewise.
43878         (RUN_TEST_c_c): Likewise.
43879         (RUN_TEST_cc_c): Likewise.
43880         (RUN_TEST_f_i): Likewise.
43881         (RUN_TEST_f_i_tg): Likewise.
43882         (RUN_TEST_ff_i_tg): Likewise.
43883         (RUN_TEST_f_b): Likewise.
43884         (RUN_TEST_f_b_tg): Likewise.
43885         (RUN_TEST_f_l): Likewise.
43886         (RUN_TEST_f_L): Likewise.
43887         (RUN_TEST_sincos): Likewise.
43888         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43889         whether to show exceptions.  Do not include ");\n" in return
43890         value.
43891         (special_functions): Output call to RUN_TEST_sincos instead of
43892         check_float calls.  Update calls to new_test.
43893         (parse_args): Output call to single RUN_TEST_* macro instead of
43894         check_* calls and other assignments.  Update calls to new_test.
43896         [BZ #2546]
43897         [BZ #2560]
43898         [BZ #5159]
43899         [BZ #15426]
43900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43901         input to result for tgamma overflow.
43902         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43903         (gamma_coeff): New variable.
43904         (NCOEFF): New macro.
43905         (gamma_positive): New function.
43906         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43907         underflow here.  Use gamma_positive instead of exp (lgamma) for
43908         other arguments.
43909         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43910         (gamma_coeff): New variable.
43911         (NCOEFF): New macro.
43912         (gammaf_positive): New function.
43913         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43914         underflow here.  Use gamma_positive instead of exp (lgamma) for
43915         other arguments.
43916         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43917         (gamma_coeff): New variable.
43918         (NCOEFF): New macro.
43919         (gammal_positive): New function.
43920         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43921         underflow here.  Use gamma_positive instead of exp (lgamma) for
43922         other arguments.
43923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43924         (gamma_coeff): New variable.
43925         (NCOEFF): New macro.
43926         (gammal_positive): New function.
43927         (__ieee754_gammal_r): Handle positive infinity, overflow and
43928         underflow here.  Handle NaN the same as positive infinity.  Remove
43929         check x < 0xffffffff for negative integers.  Use gamma_positive
43930         instead of exp (lgamma) for other arguments.
43931         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43932         (gamma_coeff): New variable.
43933         (NCOEFF): New macro.
43934         (gammal_positive): New function.
43935         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43936         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43937         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43938         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43939         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43940         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43941         * sysdeps/generic/math_private.h (__gamma_productf): New
43942         prototype.
43943         (__gamma_product): Likewise.
43944         (__gamma_productl): Likewise.
43945         * math/Makefile (libm-calls): Add gamma_product.
43946         * math/libm-test.inc (tgamma_test): Add more tests.
43947         * sysdeps/i386/fpu/libm-test-ulps: Update.
43948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43950 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43952         * benchtests/bench-skeleton.c (main): Preheat CPU.
43954 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43956         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43958 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43960         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43961         and _dl_skip_args_internal.
43963 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43965         * manual/message.texi (Message Translation): Talk about users.
43966         Message to key mapping impacts design.
43968 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43970         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43972         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43974         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43975         * sysdeps/wordsize-64/glob64.c: ... here.
43977         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43978         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43979         New macros.
43981         * debug/getlogin_r_chk.c: Moved to ...
43982         * login/getlogin_r_chk.c: ... here.
43983         * debug/Makefile (routines): Move getlogin_r_chk to ...
43984         * login/Makefile (routines): ... here.
43985         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43986         * login/Versions (libc: GLIBC_2.4): ... here.
43988         * io/poll.c (__poll): Renamed from poll.
43989         Add libc_hidden_def.
43990         (poll): Define as weak alias.
43992         * debug/ptsname_r_chk.c: Moved to ...
43993         * login/ptsname_r_chk.c: ... here.
43994         * debug/Makefile (routines): Move ptsname_r_chk to ...
43995         * login/Makefile (routines): ... here.
43996         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43997         * login/Versions (libc: GLIBC_2.4): ... here.
43999         * posix/getlogin.c: Moved to ...
44000         * login/getlogin.c: ... here.
44001         * posix/getlogin_r.c: Moved to ...
44002         * login/getlogin_r.c: ... here.
44003         * posix/getlogin_r.c: Moved to ...
44004         * login/getlogin_r.c: ... here.
44005         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44006         * login/Makefile (routines): ... here.
44007         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44008         * login/Versions (libc: GLIBC_2.0): ... here.
44010         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44011         (setrlimit): Define as weak alias.
44013         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44014         Call __ names for open, ftruncate, and close.
44015         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44016         (truncate): Define as weak alias.
44018 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44020         * math/gen-libm-test.pl (parse_args): Initialize x before each
44021         test of frexp, modf and remquo.
44023         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44024         test signgam value.
44026 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44028         [BZ #15418]
44029         [BZ #15419]
44030         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44031         internal tests.
44032         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44034 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44036         * elf/dl-writev.h: New file.
44037         * elf/dl-misc.c: Include it.
44038         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44039         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44041 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44043         * math/libm-test.inc (noXFails): Remove variable.
44044         (noXPasses): Likewise.
44045         (BUILD_COMPLEX_INT): Remove macro.
44046         (print_screen): Remove xfail argument.
44047         (print_screen_max_error): Likewise.
44048         (update_stats): Likewise.
44049         (print_max_error): Likewise.  Update calls to other affected
44050         functions.
44051         (print_complex_max_error): Likewise.
44052         (test_single_exception): Update calls to print_screen.
44053         (test_single_errno): Likewise.
44054         (check_float_internal): Remove xfail argument.  Update calls to
44055         other affected functions.
44056         (check_float): Likewise.
44057         (check_complex): Likewise.
44058         (check_int): Likewise.
44059         (check_long): Likewise.
44060         (check_bool): Likewise.
44061         (check_longlong): Likewise.
44062         (main): Don't print noXFails and noXPasses.
44063         * math/gen-libm-test.pl (top level): Don't mention expected
44064         failure handling in comment.
44065         (new_test): Don't handle expected failures.
44066         (parse_args): Don't mention expected failure handling in comment.
44067         (generate_testfile): Don't handle expected failures.
44068         (parse_ulps): Likewise.
44069         (print_ulps_file): Likewise.
44070         (get_failure): Remove function.
44071         (output_test): Don't handle expected failures.
44072         * make/README.libm-test: Don't mention expected failure handling.
44074         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44075         (minus_zero): Likewise.
44076         (plus_infty): Likewise.
44077         (minus_infty): Likewise.
44078         (qnan_value): Likewise.
44079         (max_value): Likewise.
44080         (min_value): Likewise.
44081         (min_subnorm_value): Likewise.
44082         (initialize): Do not initialize those variables dynamically.
44084 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44086         * io/open.c (__open_2): Moved to ...
44087         * io/open_2.c: ... this new file.
44088         * io/open64.c (__open64_2): Moved to ...
44089         * io/open64_2.c: ... this new file.
44090         * io/openat.c (__openat_2): Moved to ...
44091         * io/openat_2.c: ... this new file.
44092         * io/openat64.c (__openat64_2): Moved to ...
44093         * io/openat64_2.c: ... this new file.
44094         * io/Makefile (routines): Add them.
44095         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44096         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44097         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44098         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44099         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44100         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44101         (__openat64): Add hidden_ver.
44102         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44103         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44105         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44106         Separately conditionalize setting of GLRO(dl_sysinfo) so
44107         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44108         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44110 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44112         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44114         definition.
44115         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44116         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44117         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44118         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44119         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44121 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44123         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44124         test signgam value.
44126         * math/libm-test.inc (hypot_test): Do not use
44127         IGNORE_ZERO_INF_SIGN.
44129 2013-05-03  Andreas Jaeger  <aj@suse.de>
44131         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44132         Linux 3.9.
44133         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44134         (PF_MAX): Adjust for VSOCK change.
44136 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44140 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44142         [BZ #15264]
44143         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44144         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44145         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44147 2013-05-02  David S. Miller  <davem@davemloft.net>
44149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44151 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44153         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44155 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44157         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44159 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44161         [BZ #14952]
44162         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44163         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44164         Use __attribute__ ((__gnu_inline__)).
44165         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44166         Don't use __attribute__ ((__gnu_inline__)).
44168 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44170         [BZ #15423]
44171         * math/s_catan.c (__catan): Handle small real or imaginary part of
44172         input specially to avoid spurious underflow.
44173         * math/s_catanf.c (__catanf): Likewise.
44174         * math/s_catanh.c (__catanh): Likewise.
44175         * math/s_catanhf.c (__catanhf): Likewise.
44176         * math/s_catanhl.c (__catanhl): Likewise.
44177         * math/s_catanl.c (__catanl): Likewise.
44178         * math/libm-test.inc (catan_test): Add more tests.
44179         (catanh_test): Likewise.
44180         * sysdeps/i386/fpu/libm-test-ulps: Update.
44181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44183 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44187 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44189         [BZ #15416]
44190         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44191         accurately for denominator in atan2.
44192         * math/s_catanf.c (__catanf): Likewise.
44193         * math/s_catanh.c (__catanh): Likewise.
44194         * math/s_catanhf.c (__catanhf): Likewise.
44195         * math/s_catanhl.c (__catanhl): Likewise.
44196         * math/s_catanl.c (__catanl): Likewise.
44197         * math/libm-test.inc (catan_test): Add more tests.
44198         (catanh_test): Likewise.
44199         * sysdeps/i386/fpu/libm-test-ulps: Update.
44200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44202 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44204         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44206         * benchtests/Makefile (bench): Remove slow benchmarks.
44207         * benchtests/atan-inputs: Add slow benchmark inputs.
44208         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44209         (BENCH_FUNC): Accept variant offset.
44210         (VARIANT): Define.
44211         * benchtests/bench-skeleton.c (main): Run benchmark for each
44212         variant.
44213         * benchtests/cos-inputs: Add slow benchmark inputs.
44214         * benchtests/exp-inputs: Likewise.
44215         * benchtests/pow-inputs: Likewise.
44216         * benchtests/sin-inputs: Likewise.
44217         * benchtests/slowatan-inputs: Remove.
44218         * benchtests/slowatan.c: Remove.
44219         * benchtests/slowcos-inputs: Remove.
44220         * benchtests/slowcos.c: Remove.
44221         * benchtests/slowexp-inputs: Remove.
44222         * benchtests/slowexp.c: Remove.
44223         * benchtests/slowpow-inputs: Remove.
44224         * benchtests/slowpow.c: Remove.
44225         * benchtests/slowsin-inputs: Remove.
44226         * benchtests/slowsin.c: Remove.
44227         * benchtests/slowtan-inputs: Remove.
44228         * benchtests/slowtan.c: Remove.
44229         * benchtests/tan-inputs: Add slow benchmark inputs.
44230         * scripts/bench.pl: Parse comments and directives.
44232         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44233         in CPPFLAGS.
44234         ($(objpfx)bench-%.c): Remove *-ITER.
44235         * benchtests/bench-modf.c: Remove definition of ITER.
44236         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44237         (main): Loop for DURATION seconds instead of fixed number of
44238         iterations.
44239         * scripts/bench.pl: Don't expect iterations in parameters.
44241 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44243         * io/fchdir.c (__fchdir): Renamed from fchdir.
44244         (fchdir): Define as weak alias.
44246 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44248         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44249         (ERRNO_EDOM): Likewise.
44250         (ERRNO_ERANGE): Likewise.
44251         (noErrnoTests): New variable.
44252         (init_max_error): Set errno to 0.
44253         (test_single_errno): New function.
44254         (test_errno): Likewise.
44255         (check_float_internal): Call test_errno.  Set errno to 0.
44256         (check_complex): Refer to errno tests in comment.
44257         (check_int): Call test_errno.  Set errno to 0.
44258         (check_long): Likewise.
44259         (check_bool): Likewise.
44260         (check_longlong): Likewise.
44261         (cos_test): Use ERRNO_* flags for errno tests instead of
44262         check_int.
44263         (expm1_test): Likewise.
44264         (fmod_test): Likewise.
44265         (ilogb_test): Likewise.
44266         (lgamma_test): Likewise.
44267         (pow_test): Likewise.
44268         (remainder_test): Likewise.
44269         (sin_test): Likewise.
44270         (tan_test): Likewise.
44271         (yn_test): Likewise.
44272         (initialize): Set errno to 0.
44273         (main): Print number of errno tests.
44274         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44276 2013-04-29  Andreas Jaeger  <aj@suse.de>
44278         [BZ #15084]
44279         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44280         and RES_USEVC.
44282         [BZ #15085]
44283         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44284         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44285         unimplemented.
44287         [BZ #15380]
44288         * stdlib/random.c (__initstate): Return NULL if
44289         __initstate fails.
44291         [BZ #15086]
44292         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44293         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44294         RES_SNGLKUPREOP.
44296 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44300 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44302         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44303         of individual tests.
44304         (casin_test): Likewise.
44305         (casinh_test): Likewise.
44307 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44309         [BZ #15409]
44310         * math/s_catan.c (__catan): Handle arguments with large real or
44311         imaginary part separately without squaring.
44312         * math/s_catanf.c (__catanf): Likewise.
44313         * math/s_catanh.c (__catanh): Likewise.
44314         * math/s_catanhf.c (__catanhf): Likewise.
44315         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44316         and redefine.
44317         (__catanhl): Handle arguments with large real or imaginary part
44318         separately without squaring.
44319         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44320         and redefine.
44321         (__catanl): Handle arguments with large real or imaginary part
44322         separately without squaring.
44323         * math/libm-test.inc (catan_test): Add more tests.
44324         (catanh_test): Likewise.
44325         * sysdeps/i386/fpu/libm-test-ulps: Update.
44326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44328 2013-04-27  Andreas Jaeger  <aj@suse.de>
44330         [BZ #15007]
44331         * stdlib/stdlib.h: Update guards for qecvt.
44332         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44333         <stdlib.h>.
44335 2013-04-27  Allan McRae  <allan@archlinux.org>
44337         * sysdeps/i386/fpu/libm-test-ulps: Update.
44339 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44341         [BZ #15406]
44342         * math/s_catan.c: Include <float.h>.
44343         (__catan): Ensure underflow exception occurs for underflowed
44344         result.
44345         * math/s_catanf.c: Include <float.h>.
44346         (__catanf): Ensure underflow exception occurs for underflowed
44347         result.
44348         * math/s_catanh.c: Include <float.h>.
44349         (__catanh): Ensure underflow exception occurs for underflowed
44350         result.
44351         * math/s_catanhf.c: Include <float.h>.
44352         (__catanhf): Ensure underflow exception occurs for underflowed
44353         result.
44354         * math/s_catanhl.c: Include <float.h>.
44355         (__catanhl): Ensure underflow exception occurs for underflowed
44356         result.
44357         * math/s_catanl.c: Include <float.h>.
44358         (__catanl): Ensure underflow exception occurs for underflowed
44359         result.
44360         * math/libm-test.inc (catan_test): Add more tests.
44361         (catanh_test): Likewise.
44363         [BZ #15405]
44364         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44365         underflowed result.
44366         * math/s_ccoshf.c (__ccoshf): Likewise.
44367         * math/s_ccoshl.c (__ccoshl): Likewise.
44368         * math/s_csin.c (__csin): Likewise.
44369         * math/s_csinf.c (__csinf): Likewise.
44370         * math/s_csinh.c (__csinh): Likewise.
44371         * math/s_csinhf.c (__csinhf): Likewise.
44372         * math/s_csinhl.c (__csinhl): Likewise.
44373         * math/s_csinl.c (__csinl): Likewise.
44374         * math/libm-test.inc (ccos_test): Add more tests.
44375         (ccosh_test): Likewise.
44376         (csin_test): Likewise.
44377         (csinh_test): Likewise.
44379 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44381         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44382         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44383         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44384         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44385         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44386         powerpc/power5+/fpu folders.
44387         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44390 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44394 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44396         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44397         additions to variable.
44398         [$(config-machine) = x86_64] (modules-names): Likewise.
44399         ($(objpfx)tst-audit3): Remove dependency.
44400         ($(objpfx)tst-audit3.out): Likewise.
44401         ($(objpfx)tst-audit4): Likewise.
44402         ($(objpfx)tst-audit4.out): Likewise.
44403         ($(objpfx)tst-audit5): Likewise.
44404         ($(objpfx)tst-audit5.out): Likewise.
44405         ($(objpfx)tst-audit6): Likewise.
44406         ($(objpfx)tst-audit6.out): Likewise.
44407         ($(objpfx)tst-audit7): Likewise.
44408         ($(objpfx)tst-audit7.out): Likewise.
44409         (tst-audit3-ENV): Remove variable.
44410         (tst-audit4-ENV): Likewise.
44411         (tst-audit5-ENV): Likewise.
44412         (tst-audit6-ENV): Likewise.
44413         (tst-audit7-ENV): Likewise.
44414         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44415         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44416         addition to variable.
44417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44420         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44421         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44422         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44423         tst-audit3, tst-audit4 and tst-audit5.
44424         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44425         tst-audit6 and tst-audit7.
44426         [$(subdir) = elf] (modules-names): Add audit modules for those
44427         tests.
44428         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44429         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44430         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44431         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44432         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44433         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44434         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44435         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44436         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44437         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44438         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44439         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44440         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44441         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44442         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44443         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44444         Likewise.
44445         [$(subdir) = elf && $(config-cflags-avx) = yes]
44446         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44447         [$(subdir) = elf && $(config-cflags-avx) = yes]
44448         (CFLAGS-tst-auditmod4a.c): Likewise.
44449         [$(subdir) = elf && $(config-cflags-avx) = yes]
44450         (CFLAGS-tst-auditmod4b.c): Likewise.
44451         [$(subdir) = elf && $(config-cflags-avx) = yes]
44452         (CFLAGS-tst-auditmod6b.c): Likewise.
44453         [$(subdir) = elf && $(config-cflags-avx) = yes]
44454         (CFLAGS-tst-auditmod6c.c): Likewise.
44455         [$(subdir) = elf && $(config-cflags-avx) = yes]
44456         (CFLAGS-tst-auditmod7b.c): Likewise.
44457         * elf/tst-audit3.c: Move to ...
44458         * sysdeps/x86_64/tst-audit3.c: ... here.
44459         * elf/tst-audit4.c: Move to ...
44460         * sysdeps/x86_64/tst-audit4.c: ... here.
44461         * elf/tst-audit5.c: Move to ...
44462         * sysdeps/x86_64/tst-audit5.c: ... here.
44463         * elf/tst-audit6.c: Move to ...
44464         * sysdeps/x86_64/tst-audit6.c: ... here.
44465         * elf/tst-audit7.c: Move to ...
44466         * sysdeps/x86_64/tst-audit7.c: ... here.
44467         * elf/tst-auditmod3a.c: Move to ...
44468         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44469         * elf/tst-auditmod3b.c: Move to ...
44470         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44471         * elf/tst-auditmod4a.c: Move to ...
44472         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44473         * elf/tst-auditmod4b.c: Move to ...
44474         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44475         * elf/tst-auditmod5a.c: Move to ...
44476         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44477         * elf/tst-auditmod5b.c: Move to ...
44478         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44479         * elf/tst-auditmod6a.c: Move to ...
44480         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44481         * elf/tst-auditmod6b.c: Move to ...
44482         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44483         * elf/tst-auditmod6c.c: Move to ...
44484         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44485         * elf/tst-auditmod7a.c: Move to ...
44486         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44487         * elf/tst-auditmod7b.c: Move to ...
44488         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44490 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44492         [BZ #15366]
44493         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44494         define unconditionally.
44495         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44496         define unconditionally.
44497         (INT8_C, INT16_C, etc.): Likewise.
44499 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44501         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44502         __ehdr_start with hidden visibility.
44504         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44506 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44508         * math/libm-test.inc (cos_test): Use accurate hex constants.
44509         (sincost_test): Likewise.
44511 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44513         * math/libm-test.inc (catan_test): Add more tests.
44514         (catanh_test): Likewise.
44516         * math/s_catanf.c (__catanf): Use suffixed floating-point
44517         constants.
44518         * math/s_catanhf.c (__catanhf): Likewise.
44519         * math/s_catanhl.c (__catanhl): Likewise.
44520         * math/s_catanl.c (__catanl): Likewise.
44522         [BZ #15394]
44523         * math/s_catan.c (__catan): Calculate imaginary part of result
44524         with log1p not log unless computing log of number close to 0.
44525         * math/s_catanf.c (__catanf): Likewise.
44526         * math/s_catanl.c (__catanl): Likewise.
44527         * math/s_catanh.c (__catanh): Calculate real part of result with
44528         log1p not log unless computing log of number close to 0.
44529         * math/s_catanhf.c (__catanhf): Likewise.
44530         * math/s_catanhl.c (__catanhl): Likewise.
44531         * math/libm-test.inc (catan_test): Add more tests.
44532         (catanh_test): Likewise.
44533         * sysdeps/i386/fpu/libm-test-ulps: Update.
44534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44536 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44538         * benchtests/Makefile: Mention files in which fast and slow
44539         paths of math functions are implemented.
44541 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44543         * sysdeps/posix/timespec_get.c: New file.
44545 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44547         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44548         POWER.
44549         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44550         for POWER.
44551         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44552         powerpc/power5/fpu folders.
44553         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44554         * benchtests/Makefile: Add modf testcase.
44555         * benchtests/bench-modf.c: New file: Benchmark test for mo
44557 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44559         [BZ #14888]
44560         * time/Makefile (tests): Add tst-strptime-whitespace.
44561         * time/strptime_l.c (get_number): Use ISSPACE.
44562         (__strptime_internal): Likewise.
44563         * time/tst-strptime-whitespace.c: New test case.
44565 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44567         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44568         member.
44569         (_nss_files_init): Set it here.
44571 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44573         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44574         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44575         unsigned.
44577 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44579         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44581 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44584         size just once.
44586 2013-04-21  David S. Miller  <davem@davemloft.net>
44588         * po/ru.po: Update Russion translation from translation project.
44590 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44592         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44593         and setfsgid.
44595 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44597         * configure.in: Remove i386 configure warning. Remove i386 case.
44598         * configure: Regenerate.
44599         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44600         Add example to error message.
44601         * sysdeps/i386/configure: Regenerate.
44603 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44605         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44606         slowtan.
44607         * benchtests/cos-inputs: New file.
44608         * benchtests/slowcos-inputs: New file.
44609         * benchtests/slowcos.c: New file.
44610         * benchtests/slowtan-inputs: New file.
44611         * benchtests/slowtan.c: New file.
44612         * benchtests/tan-inputs: New file.
44614 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44616         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44617         considered kosher.
44619 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44621         * benchtests/Makefile: Include cppflags-iterator.mk to add
44622         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44624         * Makefile.in (bench-clean): New target.
44625         * benchtests/Makefile (bench-clean): Likewise.
44627 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44629         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44631 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44633         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44635 2013-04-15  Andreas Schwab  <schwab@suse.de>
44637         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44638         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44639         * nscd/pwdcache.c (cache_addpw): Likewise.
44640         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44641         more than recsize.
44643 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44645         * benchtests/Makefile (bench): Write all output to
44646         bench-out.tmp together.
44648 2013-04-15  Andreas Schwab  <schwab@suse.de>
44650         * nscd/nscd.c (main): Don't fork again after closing files.
44652 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44654         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44656         * benchtests/Rules (bench-deps): Collect dependencies into a
44657         single variable.  Add Makefile to dependencies.
44658         ($(objpfx)bench-%.c): Depend on bench-deps.
44660 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44661             Xavier Roche  <roche+kml2@exalead.com>
44663         [BZ #15361]
44664         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44665         just that it's a file descriptor.
44666         * manual/llio.texi (Synchronizing AIO Operations): Update description
44667         for EBADF error from aio_fsync.
44669 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44671         * Rules (bench): Move target definition...
44672         * benchtests/Makefile: ... here.
44674 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44676         * math/libm-test.inc (cos_test): Fix PI/2 test.
44677         (sincos_test): Likewise.
44678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44679         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44681 2013-04-11  Andreas Schwab  <schwab@suse.de>
44683         [BZ #13988]
44684         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44685         accept exponent character only when digits were seen.
44686         * stdio-common/Makefile (tests): Add bug26.
44687         * stdio-common/bug26.c: New file.
44689         [BZ #14293]
44690         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44691         non-freeable.
44693 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44695         * Makeconfig (rtld-prefix): Define built linker prefix.
44696         * Rules (run-bench): Use it.
44697         * math/Makefile (run-regen-ulps): Likewise.
44699         * Rules (bench): Remove eval.
44701 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44702             Roland McGrath  <roland@hack.frob.com>
44703             Ondrej Bilka  <neleai@seznam.cz>
44705         [BZ #15346]
44706         * time/getdate.c: Include ctype.h and alloca.h.
44707         (__getdate_r): Trim leading and trailing spaces of input.
44708         * time/tst-getdate.c (tests): Add tests with leading and
44709         trailing spaces.
44711 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44713         [BZ #14280]
44714         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44715         when computing value.
44717 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44719         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44720         Use testrun.sh to run libm tests.
44722         [BZ #15309]
44723         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44725 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44727         [BZ #15264]
44728         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44730 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44732         * Makefile.in (regen-ulps): New target.
44733         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44734         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44735         [ifneq (no,$(PERL)] (regen-ulps): New target.
44736         [ifeq (no,$(PERL)] (regen-ulps): New target.
44737         * math/libm-test.inc (ulps_file_name): Define.
44738         (output_dir): New variable.
44739         (options): Add "output-dir" option.
44740         (parse_opt): Handle 'o' case.
44741         (main): If output_dir is non-NULL use it as a prefix
44742         otherwise use "".
44743         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44747         [BZ #10060, #10062]
44748         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44749         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44750         fail configure if __sync_val_compare_and_swap is not inlined.
44751         * sysdeps/i386/configure: Regenerate.
44752         * configure.in: Build for i686 when configured for i386.
44753         * configure: Regenerate.
44754         * README: Remove i386 reference.
44756 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44758         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44759         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44761 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44763         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44764         (lmsnanval): New variables.
44765         (F): Add conversion tests.
44766         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44767         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44769         * stdio-common/tstdiomisc.c (F): Properly collect individual
44770         tests' results.
44772         [BZ #14686, #15336]
44773         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44774         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44775         Instead, use input NaN values or generate a qNaN by arithmetic
44776         operation.  Also fix bugs to comply with the standard.
44777         * math/libm-test.inc (remainder_test): Add more tests.
44779         [BZ #15335, #15342]
44780         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44781         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44782         input NaN values or generate a qNaN by arithmetic operation.
44784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44785         unreachable code.
44787         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44788         definitions.
44790 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44792         [BZ #14478]
44793         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44794         underflowed result.
44795         * math/s_cexpf.c (__cexpf): Likewise.
44796         * math/s_cexpl.c (__cexpl): Likewise.
44797         * math/libm-test.inc (cexp_test): Add more tests.
44799 2013-04-03  Andreas Schwab  <schwab@suse.de>
44801         [BZ #15330]
44802         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44803         order arrays from heap if bigger than alloca cutoff.
44805 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44807         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44808         (SNAN_TESTS_double): Refer to GCC PR56831.
44809         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44810         GCC PR56828.
44812 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         * Rules (bench): Move bench.out after the run is complete.
44816         * Rules (bench): Echo currently running benchmark.
44818         * benchtests/Makefile (bench): Add atan and slowatan.
44819         * benchtests/atan-inputs: New file.
44820         * benchtests/slowatan-inputs: New file.
44821         * benchtests/slowatan.c: New file.
44823         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44825         its value.
44827         [BZ #15305]
44828         * sysdeps/unix/sysv/linux/kernel-features.h
44829         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44830         __ASSUME_XFS_RESTRICTED_CHOWN.
44831         * sysdeps/unix/sysv/linux/pathconf.c
44832         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44833         Save and restore errno.
44835 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44837         [BZ #15327]
44838         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44839         arguments using __kernel_casinh.
44840         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44841         arguments using __kernel_casinhf.
44842         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44843         arguments using __kernel_casinhl.
44844         * math/libm-test.inc (cacosh_test): Add more tests.
44845         * sysdeps/i386/fpu/libm-test-ulps: Update.
44846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44848 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44850         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44853         * bench/Makefile (bench): Add sin and slowsin.
44854         * benchtests/sin-inputs: New file.
44855         * benchtests/slowsin-inputs: New file.
44856         * benchtests/slowsin.c: New file.
44858         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44859         (bench): Add slowexp and slowpow.
44860         (exp-ITER): Increase iterations.
44861         (pow-ITER): Likewise.
44862         * benchtests/exp-inputs: Change input.
44863         * benchtests/pow-inputs: Likewise.
44864         * benchtests/slowexp-inputs: New file.
44865         * benchtests/slowexp.c: New file.
44866         * benchtests/slowpow-inputs: New file.
44867         * benchtests/slowpow.c: New file.
44869 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44871         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44872         instructions.
44873         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44875         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44876         * benchtests/Makefile: Add rint benchtest.
44877         * benchtests/rint-inputs: Input for rint benchtest.
44879 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44881         * Versions.def (libm): Add GLIBC_2.18.
44882         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44883         hidden libm prototypes.
44884         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44885         * math/Makefile (libm-calls): Add s_issignaling.
44886         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44887         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44888         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44889         declaration.
44890         * math/math.h [__USE_GNU] (issignaling): New macro.
44891         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44892         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44893         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44894         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44896         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44897         * manual/arith.texi (issignaling): New section.
44898         * manual/libm-err-tab.pl (@all_functions): Update comment.
44899         * math/gen-libm-test.pl (parse_args): Apply special handling for
44900         issignaling.
44901         * math/libm-test.inc (print_float, issignaling_test): New
44902         functions.
44903         (check_float_internal): Add issignaling checks.
44904         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44905         default definition.
44906         * sysdeps/powerpc/math-tests.h: New file.
44907         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44908         tests.
44909         * math/test-snan.c (TEST_FUNC): Likewise.
44911 2013-03-30  David S. Miller  <davem@davemloft.net>
44913         * po/de.po: Update from translation team.
44915 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44917         [BZ #10357]
44918         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44919         imaginary part less than 1.0 and real part less than 0.5
44920         specially.
44921         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44922         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44923         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44924         (cacos_test): Add more tests.
44925         (casin_test): Likewise.
44926         (casinh_test): Likewise.
44927         * sysdeps/i386/fpu/libm-test-ulps: Update.
44928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44930 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44932         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44933         ONE with its value.
44935         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44936         (__pow_mp): Replace ONE and MONE with their values.
44937         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44939         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44940         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44941         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44942         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44944         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44946         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44947         (__pow_mp): Replace ZERO and MZERO with their values.
44948         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44949         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44950         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44952         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44953         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44954         (__sqr): Likewise.
44956         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44958         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44960 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44962         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44963         Declare with __attribute__ ((weak)).
44964         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44965         Call __call_tls_dtors only if it's not NULL.
44967 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44969         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44970         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44971         magic __ehdr_start linker symbol if it's defined.
44972         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44973         them up here if it was already done.
44975         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44976         (_dl_aux_init): Use const in cast when setting it.
44977         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44978         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44979         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44981         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44982         Declare them here.
44983         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44984         * csu/libc-tls.c: Nor here.
44985         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44987         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44988         (__libc_message): Never call vsyslog.
44990 2013-03-28  Alan Modra  <amodra@gmail.com>
44992         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44993         Define as empty.
44994         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44995         Likewise.
44997 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44999         [BZ #15214]
45000         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45001         underflow.
45002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45004 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45006         [BZ #15304]
45007         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45008         Don't add gid passed as argument.
45010         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45012 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45014         [BZ #15307]
45015         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45016         imaginary part between 1.0 and 1.5 and real part less than 0.5
45017         specially.
45018         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45019         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45020         * math/libm-test.inc (cacos_test): Add more tests.
45021         (casin_test): Likewise.
45022         (casinh_test): Likewise.
45023         * sysdeps/i386/fpu/libm-test-ulps: Update.
45024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45026 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45028         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45029         constants.
45030         (norm): Likewise.
45031         (denorm): Likewise.
45032         (__dbl_mp): Likewise.
45033         (add_magnitudes): Likewise.
45034         (sub_magnitudes): Likewise.
45035         (__add): Likewise.
45036         (__sub): Likewise.
45037         (__mul): Likewise.
45038         (__sqr): Likewise.
45039         (__inv): Likewise.
45040         (__dvd): Likewise.
45042         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45043         commented code.
45044         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45045         (__dubcos): Likewise.
45046         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45047         (__ieee754_acos): Likewise.
45048         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45049         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45050         (__exp1): Likewise.
45051         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45052         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45053         (log1): Likewise.
45054         (my_log2): Likewise.
45055         (checkint): Likewise.
45056         * sysdeps/ieee754/dbl-64/e_remainder.c
45057         (__ieee754_remainder): Likewise.
45058         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45060         (bsloww): Likewise.
45061         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45063         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45064         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45065         MANTISSA_STORE_T to store computations on mantissa.  Use
45066         macros for rounding and division.
45067         (denorm): Likewise.
45068         (__dbl_mp): Likewise.
45069         (add_magnitudes): Likewise.
45070         (sub_magnitudes): Likewise.
45071         (__mul): Likewise.
45072         (__sqr): Likewise.
45073         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45074         powers of two in terms of TWOPOW macro.
45075         (mp_no): Make type of mantissa as MANTISSA_T.
45076         [!RADIXI]: Define RADIXI.
45077         [!TWO52]: Define TWO52.
45078         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45080 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45082         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45083         llroundl symbol when building for PPC32.
45085 2013-03-24  Mark H Weaver  <mhw@netris.org>
45087         * manual/arith.texi (Normalization Functions): Fix prototypes for
45088         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45090 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45092         [BZ #13889]
45093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45094         high value to check if expl overflow.
45095         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45096         to check for underflow and overflow.
45097         * math/libm-test.inc: Add exp test.
45099 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45101         [BZ #11120]
45102         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45103         with NOT_IN_libc.
45105 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45107         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45108         symbol.
45110 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45112         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45113         wrap blocks consisting of several statements.
45115         * sysdeps/generic/math-tests.h: New file.
45116         * sysdeps/i386/fpu/math-tests.h: Likewise.
45117         * math/test-snan.c: Include it.
45118         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45120 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45122         [BZ #15285]
45123         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45124         (__ieee754_j0l): Do not improve calculations using cos of twice
45125         input for inputs above LDBL_MAX / 2.0L.
45126         (__ieee754_y0l): Likewise.
45127         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45128         (__ieee754_j1l): Do not improve calculations using cos of twice
45129         input for inputs above LDBL_MAX / 2.0L.
45130         (__ieee754_y1l): Likewise.
45131         * math/libm-test.inc (j0_test): Add another test.
45132         (j1_test): Likewise.
45133         (y0_test): Likewise.
45134         (y1_test): Likewise.
45135         * sysdeps/i386/fpu/libm-test-ulps: Update.
45137 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         * Rules ($(objpfx)bench-%.c): Include code from a C source
45140         file.
45142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45144         [BZ #15287]
45145         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45146         imaginary part 1.0 and real part less than 0.5 specially.
45147         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45148         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45149         * math/libm-test.inc (cacos_test): Add more tests.
45150         (casin_test): Likewise.
45151         (casinh_test): Likewise.
45152         * sysdeps/i386/fpu/libm-test-ulps: Update.
45153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45155 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45157         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45158         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45160 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45162         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45163         * config.make.in (config-cflags-sse4): Remove variable.
45164         (config-cflags-avx): Likewise.
45165         (config-cflags-sse2avx): Likewise.
45166         (config-cflags-novzeroupper): Likewise.
45167         (config-asflags-i686): Likewise.
45168         (have-mfma4): Likewise.
45169         (have-as-vis3): Likewise.
45170         (MIG): Likewise.
45171         * configure.in (MIG): Do not AC_SUBST.
45172         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45173         (libc_cv_cc_sse4): Do not AC_SUBST.
45174         (libc_cv_cc_avx): Likewise.
45175         (libc_cv_cc_sse2avx): Likewise.
45176         (libc_cv_cc_novzeroupper): Likewise.
45177         (libc_cv_cc_fma4): Likewise.
45178         (libc_cv_as_i686): Likewise.
45179         (libc_cv_sparc_as_vis3): Likewise.
45180         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45181         LIBC_CONFIG_VAR.
45182         (config-asflags-i686): Likewise.
45183         (config-cflags-avx): Likewise.
45184         (config-cflags-sse2avx): Likewise.
45185         (have-mfma4): Likewise.
45186         (config-cflags-novzeroupper): Likewise.
45187         * sysdeps/mach/configure.in (MIG): Likewise.
45188         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45189         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45190         LIBC_CONFIG_VAR.
45191         (config-cflags-avx): Likewise.
45192         (config-cflags-sse2avx): Likewise.
45193         (have-mfma4): Likewise.
45194         (config-cflags-novzeroupper): Likewise.
45195         * configure: Regenerated.
45196         * sysdeps/i386/configure: Likewise.
45197         * sysdeps/mach/configure: Likewise.
45198         * sysdeps/sparc/configure: Likewise.
45199         * sysdeps/x86_64/configure: Likewise.
45201 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45203         [BZ #14812]
45204         * locale/programs/localedef.c (options): Put N_ translation marker
45205         on argument names, not just descriptions.
45207 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45209         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45211 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45213         [BZ #14176]
45214         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45216 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45218         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45219         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45220         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45221         [!BEFORE_ABORT] (before_abort): New function.
45222         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45223         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45224         (writev_for_fatal): New function.
45225         (WRITEV_FOR_FATAL): New macro; call that.
45226         (backtrace_and_maps): New function.
45227         (BEFORE_ABORT): New macro; call that.
45228         (struct str_list): Type removed.
45229         (__libc_message, __libc_fatal): Functions removed.
45230         Include <sysdeps/posix/libc_fatal.c> instead.
45232 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45234         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45235         constants.
45236         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45237         double constants.
45239 2013-03-19  Andreas Schwab  <schwab@suse.de>
45241         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45242         * sysdeps/gnu/configure: Regenerate.
45244         * configure.in: Substitute libc_cv_rtlddir.
45245         * configure: Regenerate.
45246         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45247         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45248         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45249         * elf/Makefile (install-others, CFLAGS-interp.c)
45250         (ldso_install, common-ldd-rewrite): Likewise.
45251         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45252         $(inst_slibdir)/$(rtld-installed-name).
45253         * scripts/rellns-sh: Add -p option.
45254         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45255         for source.
45257 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45259         * manual/nptl.texi: Renamed to ...
45260         * manual/threads.texi: ... this.
45261         * manual/Makefile (chapters): Update.
45263 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45265         [BZ #14812]
45266         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45267         on argument names, not just descriptions.
45268         * malloc/memusagestat.c (options): Likewise.
45269         * nss/getent.c (options): Likewise.
45271 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45273         [BZ #14812]
45274         * iconv/iconv_prog.c (options): Put N_ translation marker
45275         on argument names, not just descriptions.
45276         * iconv/iconvconfig.c (options): Likewise.
45278 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45280         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45281         implementation which is faster on all x86_64 architectures.
45282         Tested on AMD, Intel Nehalem, SNB, IVB.
45283         * sysdeps/x86_64/strnlen.S: Likewise.
45285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45286         Remove all multiarch strlen and strnlen versions.
45287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45288         Remove strlen and strnlen related parts.
45290         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45291         Inline strlen part.
45292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45294         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45295         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45296         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45297         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45298         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45299         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45301 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45303         * manual/memory.texi (Malloc Tunable Parameters):
45304         Sort parameters alphabetically. Add comments for missing entries.
45306 2013-03-17  David S. Miller  <davem@davemloft.net>
45308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45310 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45312         [BZ #15283]
45313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45314         for arguments at most half maximum finite value.
45315         * math/libm-test.inc (j0_test): Add more tests.
45316         (j1_test): Likewise.
45317         (y0_test): Likewise.
45318         (y1_test): Likewise.
45319         * sysdeps/i386/fpu/libm-test-ulps: Update.
45320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45322         [BZ #14155]
45323         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45324         1 / x and functions P and Q for arguments above 0x1p256L.
45325         (__ieee754_y0l): Likewise.
45326         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45327         (__ieee754_y1l): Likewise.
45328         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45329         (j1_test): Likewise.
45330         (y0_test): Likewise.
45331         (y1_test): Likewise.
45333 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45335         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45336         variable.
45338 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45340         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45341         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45342         zero since it's initialized to EXEC_PAGESIZE.
45344         * sysdeps/unix/sysv/linux/ldsodefs.h
45345         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45346         * sysdeps/generic/ldsodefs.h: ... here.
45348 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45350         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45352         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45353         math/test-snan.c.
45354         * math/test-snan.c: Renamed from
45355         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45356         * math/Makefile (tests): Add test-snan.
45357         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45358         test-powerpc-snan.
45360         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45361         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45362         functions.
45363         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45364         __builtin_nan family of functions.
45365         * math/libm-test.inc (initialize): Initialize qnan_value with
45366         __builtin_nan family of functions.
45367         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45368         Remove variables.
45369         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45370         Remove functions.
45371         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45372         storage class.  Initialize qNaN_var and sNaN_var with
45373         __builtin_nan and __builtin_nans families of functions,
45374         respectively.
45376         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45377         (sqrt_test): Remove duplicate test with qNaN input.
45378         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45379         (round_test, signbit_test, significand_test): Note missing +/-Inf
45380         as well as qNaN tests.
45382         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45383         qNaN_var.  Fix a few strings, too.
45384         * math/libm-test.inc (nan_value): Rename to qnan_value.
45385         * math/gen-libm-test.pl (%beautify): Adjust to that.
45386         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45387         * math/test-misc.c (main): Likewise.
45388         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45389         to __qnan_bytes, and __qnan_union, respectively.
45390         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45391         Likewise.
45392         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45393         and lqnanval, respectively.
45394         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45395         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45396         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45397         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45399         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45400         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45401         doubles.
45403         * math/test-misc.c (main): Fix copy'n'pastos.
45404         * misc/tst-efgcvt.c (special): Likewise.
45406         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45407         Remove declarations.
45409 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45411         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45412         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45413         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45416 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45418         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45419         macro to return vdso values correctly in IFUNC implementations.
45420         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45421         Optimization by using IFUNC.
45423 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45424             Richard Henderson  <rth@redhat.com>
45425             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45427         * Makefile.in (bench): New target.
45428         * NEWS: Mention the benchmark framework.
45429         * Rules (bench): Likewise.
45430         (binaries-bench): Generate binaries for functions to
45431         benchmark.
45432         * benchtests/Makefile: New makefile for benchmark tests.
45433         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45434         programs.
45435         * benchtests/exp-inputs: New input file for EXP function.
45436         * benchtests/pow-inputs: New input file for POW function.
45437         * scripts/bench.pl: New script to generate source files for
45438         benchmark programs.
45440 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45442         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45444         computations on mantissa.  Use macros for rounding and
45445         division.
45446         (denorm): Likewise.
45447         (__dbl_mp): Likewise.
45448         (add_magnitudes): Likewise.
45449         (sub_magnitudes): Likewise.
45450         (__mul): Likewise.
45451         (__sqr): Likewise.
45452         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45453         powers of two in terms of TWOPOW macro.
45454         (mp_no): Make type of mantissa as MANTISSA_T.
45455         [!RADIXI]: Define RADIXI.
45456         [!TWO52]: Define TWO52.
45457         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45459         * manual/nptl.texi (cindex): Modify threads to pthreads.
45461 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45463         * sysdeps/x86_64/preconfigure: Regenerated.
45465 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45467         [BZ #14155]
45468         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45469         0x1p28 and above.
45470         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45471         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45472         0x1p28 and above.
45473         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45474         * math/libm-test.inc (j0_test): Do not allow one spurious
45475         underflow exception.
45476         (y1_test): Likewise.
45478 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45480         * manual/Makefile (chapters): Add nptl.
45481         * manual/debug.texi (Debugging Support): Add link to Threads
45482         chapter.
45483         * manual/nptl.texi: New file.
45485         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45487 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45489         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45490         for non-NULL pointer before the memory validity test. Pointed
45491         out by Holger Brunck <holger.brunck@keymile.com>.
45493 2013-03-13  Andreas Schwab  <schwab@suse.de>
45495         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45496         instead of .os.
45498 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45500         * timezone/zic.c: Update from tzcode 2013b.
45502 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45504         * manual/install.texi (Configuring and compiling):
45505         Mention i686 and i586.
45506         * INSTALL: Regenerate.
45508 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45510         * sysdeps/init_array/elf-init.c: New file.
45511         * csu/elf-init.c
45512         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45513         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45515         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45516         __gmon_start__ as global, but as static with a .preinit_array pointer.
45517         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45518         * sysdeps/init_array/crti.S: New file, empty except for comments.
45519         * sysdeps/init_array/crtn.S: Likewise.
45521 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45523         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45524         definining bcopy.
45525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45526         Remove Prefer_SSE_for_memop.
45527         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45528         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45529         HAS_PREFER_SSE_FOR_MEMOP.
45530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45531         memset-x86-64.
45532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45533         Remove bzero, memset ifunc support.
45534         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45535         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45536         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45537         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45539 2013-03-11  Andreas Schwab  <schwab@suse.de>
45541         [BZ #15234]
45542         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45543         by SHLIB_COMPAT.
45544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45545         (GLIBC_2.16): Remove pthread_atfork.
45547 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45549         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45550         (ptestcases.h): Likewise.
45552 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45554         * Makeconfig ($(common-objpfx)config.status): Depend on
45555         sysdeps/*/preconfigure{,.in} too.
45557 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45559         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45560         (__free_hook): Use void * instead of __malloc_ptr_t.
45561         (__malloc_hook): Likewise.
45562         (__realloc_hook): Likewise.
45563         (__memalign_hook): Likewise.
45564         (__after_morecore_hook): Likewise.
45565         * malloc/arena.c (save_malloc_hook): Likewise.
45566         (save_free_hook): Likewise.
45567         * malloc/hooks.c (malloc_hook_ini): Likewise.
45568         (realloc_hook_ini): Likewise.
45569         (memalign_hook_ini): Likewise.
45570         * malloc/malloc.c (malloc_hook_ini): Likewise.
45571         (realloc_hook_ini): Likewise.
45572         (memalign_hook_ini): Likewise.
45573         (__free_hook): Likewise.
45574         (__malloc_hook): Likewise.
45575         (__realloc_hook): Likewise.
45576         (__memalign_hook): Likewise.
45577         (__libc_malloc): Likewise.
45578         (__libc_free): Likewise.
45579         (__libc_realloc): Likewise.
45580         (__libc_memalign): Likewise.
45581         (__libc_valloc): Likewise.
45582         (__libc_pvalloc): Likewise.
45583         (__libc_calloc): Likewise.
45584         (__posix_memalign): Likewise.
45585         * malloc/morecore.c (__sbrk): Likewise.
45586         (__default_morecore): Likewise.
45588         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45590         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45591         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45592         __malloc_ptrdiff_t.
45594         * malloc/malloc.h (__malloc_size_t): Remove macro.
45595         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45596         __malloc_size_t.
45597         (old_memalign_hook): Likewise.
45598         (old_realloc_hook): Likewise.
45599         (struct hdr): Likewise.
45600         (flood): Likewise.
45601         (mallochook): Likewise.
45602         (memalignhook): Likewise.
45603         (reallochook): Likewise.
45604         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45605         (tr_old_realloc_hook): Likewise.
45606         (tr_old_memalign_hook): Likewise.
45607         (tr_mallochook): Likewise.
45608         (tr_reallochook): Likewise.
45609         (tr_memalignhook): Likewise.
45611 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45614         default_ldbl_pack and using as default implementation.
45615         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45616         implementation.
45617         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45618         redundant definition.
45619         (ldbl_insert_mantissa): Likewise.
45620         (ldbl_canonicalize): Likewise.
45621         (ldbl_nearbyint): Likewise.
45622         (ldbl_pack): Rename to ldbl_pack_ppc.
45623         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45624         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45625         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45627 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45630         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45631         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45632         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45634         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45635         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45636         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45638 2013-03-07  Andreas Jaeger  <aj@suse.de>
45640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45641         bits/mman-linux.h.
45643 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45645         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45646         Include mpa.h and declare __MPEXP.
45647         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45649         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45650         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45652         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45653         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45655         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45656         (__slowpow): Use long double EXPL and LOGL functions to
45657         compute POW.
45658         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45659         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45660         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45661         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45662         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45666         intermediate variable to calculate exponent.
45667         (__sqr): Likewise.
45668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45669         Likewise.
45670         (__sqr): Likewise.
45672         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45673         [!NO__SQR]: Define __sqr.
45674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45675         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45676         sysdeps/ieee754/dbl-64/mpa.c.
45677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45679         [BZ #12723]
45680         * posix/Makefile (tests): Add tst-pathconf.
45681         * posix/tst-pathconf.c: New test case.
45682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45683         _PC_PIPE_BUF.
45684         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45686 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45688         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45690 2013-03-06  Andreas Jaeger  <aj@suse.de>
45692         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45693         definition via __MAP_ANONYMOUS.
45695         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45696         it's not part of Linux headers.
45698         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45699         (MAP_HUGE_MASK): Define.
45701         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45702         Define.
45703         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45705         Define.
45706         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45707         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45708         Define.
45709         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45711         Define.
45712         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45714         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45715         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45716         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45717         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45718         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45719         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45721         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45722         Handle f2fs.
45724         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45725         Handle f2fs and efivarfs.
45727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45728         f2fs.
45730         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45731         (EFIVARFS_MAGIC): Add.
45732         (F2FS_LINK_MAX): Add.
45734 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45736         * stdio-common/vfprintf.c: Replace __builtin_expect with
45737         __glibc_unlikely.
45739 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45741         [BZ #13550]
45742         * sysdeps/generic/bp-sym.h: Remove file.
45743         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45744         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45745         <bp-sym.h> and <bp-asm.h>.
45746         (__longjmp): Don't use BP_SYM.
45747         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45748         and <bp-asm.h>.
45749         (memcpy): Don't use BP_SYM.
45750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45751         <bp-sym.h> and <bp-asm.h>.
45752         (memcpy): Don't use BP_SYM.
45753         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45754         <bp-asm.h>.
45755         (memcpy): Don't use BP_SYM.
45756         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45757         <bp-asm.h>.
45758         (memset): Don't use BP_SYM.
45759         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45760         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45761         (__bzero): Don't use BP_SYM.
45762         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45763         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45764         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45765         <bp-sym.h> and <bp-asm.h>.
45766         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45767         pointers.
45768         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45769         <bp-sym.h> and <bp-asm.h>.
45770         (memcpy): Don't use BP_SYM.
45771         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45772         <bp-sym.h> and <bp-asm.h>.
45773         (memset): Don't use BP_SYM.
45774         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45775         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45776         (__bzero): Don't use BP_SYM.
45777         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45778         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45779         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45780         <bp-sym.h> and <bp-asm.h>.
45781         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45782         pointers.
45783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45784         <bp-sym.h> and <bp-asm.h>.
45785         (memcpy): Don't use BP_SYM.
45786         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45787         <bp-sym.h> and <bp-asm.h>.
45788         (memset): Don't use BP_SYM.
45789         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45790         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45791         (__bzero): Don't use BP_SYM.
45792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45795         <bp-sym.h> and <bp-asm.h>.
45796         (__memchr): Don't use BP_SYM.
45797         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45798         <bp-sym.h> and <bp-asm.h>.
45799         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45800         pointers.
45801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45802         <bp-sym.h> and <bp-asm.h>.
45803         (memcpy): Don't use BP_SYM.
45804         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45805         <bp-sym.h> and <bp-asm.h>.
45806         (__mempcpy): Don't use BP_SYM.
45807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45808         <bp-sym.h> and <bp-asm.h>.
45809         (__memrchr): Don't use BP_SYM.
45810         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45811         <bp-sym.h> and <bp-asm.h>.
45812         (memset): Don't use BP_SYM.
45813         (__bzero): Likewise.
45814         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45815         <bp-sym.h> and <bp-asm.h>.
45816         (__rawmemchr): Don't use BP_SYM.
45817         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45818         <bp-sym.h> and <bp-asm.h>.
45819         (__STRCMP): Don't use BP_SYM.
45820         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45821         <bp-sym.h> and <bp-asm.h>.
45822         (strchr): Don't use BP_SYM.
45823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45824         <bp-sym.h> and <bp-asm.h>.
45825         (__strchrnul): Don't use BP_SYM.
45826         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45827         <bp-sym.h> and <bp-asm.h>.
45828         (strlen): Don't use BP_SYM.
45829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45830         <bp-sym.h> and <bp-asm.h>.
45831         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45832         pointers.
45833         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45834         <bp-sym.h> and <bp-asm.h>.
45835         (__strnlen): Don't use BP_SYM.
45836         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45837         <bp-sym.h> and <bp-asm.h>.
45838         (__GI__setjmp): Don't use BP_SYM.
45839         (_setjmp): Likewise.
45840         (__sigsetjmp): Likewise.
45841         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45842         (L(start_addresses)): Don't use BP_SYM.
45843         (_start): Likewise.
45844         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45845         <bp-asm.h>.
45846         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45847         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45848         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45849         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45850         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45851         <bp-asm.h>.
45852         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45853         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45854         about bounded pointers.
45855         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45856         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45857         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45858         <bp-asm.h>.
45859         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45860         about bounded pointers.  Remove GKM FIXME comments.
45861         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45862         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45863         <bp-asm.h>.
45864         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45865         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45866         Remove GKM FIXME comments.
45867         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45868         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45869         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45870         <bp-asm.h>.
45871         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45872         about bounded pointers.  Remove GKM FIXME comment.
45873         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45874         and <bp-asm.h>.
45875         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45876         pointers.
45877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45878         <bp-sym.h> and <bp-asm.h>.
45879         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45881         <bp-sym.h> and <bp-asm.h>.
45882         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45883         comment.
45885 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45887         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45888         call free(NULL).
45890 2013-03-05  David S. Miller  <davem@davemloft.net>
45892         * po/es.po: Update from translation team.
45894 2013-03-05  Andreas Jaeger  <aj@suse.de>
45896         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45897         <bits/mman-linux.h>.
45898         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45899         is fine.
45900         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45901         <bits/mman-linux.h> to end of file.
45902         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45903         is fine.
45904         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45905         <bits/mman-linux.h> to end of file.
45906         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45907         is fine.
45908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45909         <bits/mman-linux.h> to end of file.
45911         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45912         (MCL_CURRENT, MCL_FUTURE): Define here.
45914 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45916         [BZ #15232]
45917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45918         attribute_hidden.
45919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45921 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45924         fourth parameter needed for rt_sigprocmask syscall.
45925         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45926         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45927         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45928         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45929         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45930         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45932 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45934         [BZ #13550]
45935         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45936         comment about bounded pointers.
45937         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45938         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45940 2013-03-04  Andreas Jaeger  <aj@suse.de>
45942         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45943         common definitions.
45945         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45946         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45947         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45948         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45949         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45950         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45952 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45954         [BZ #15055]
45955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45956         __ieee754_sqrl instead of __sqrl.
45958 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45960         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45961         * sysdeps/powerpc/fpu_control.h: ... here.
45962         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45963         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45964         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45965         * sysdeps/powerpc/bits/mathinline.h: ... here.
45967 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45969         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45970         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45971         to just [NEED_DL_SYSINFO_DSO].
45972         * elf/dl-support.c: Likewise.
45973         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45974         * elf/rtld.c (dl_main): Likewise.
45975         * elf/setup-vdso.h (setup_vdso): Likewise.
45976         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45977         * sysdeps/unix/sysv/linux/dl-sysdep.c
45978         (_dl_discover_osversion): Likewise.
45980 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45982         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45983         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45985 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45987         * NEWS: Mention libm performance improvements and non-x86 PI
45988         futex support.
45990         * csu/libc-start.c (__pthread_initialize_minimal): Change
45991         function arguments.
45992         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45994 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45996         [BZ #13550]
45997         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45998         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45999         <bp-sym.h> and <bp-asm.h>.
46000         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46001         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46002         and <bp-asm.h>.
46003         (memcpy): Don't use BP_SYM.
46004         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46005         <bp-asm.h>.
46006         (__mpn_add_n): Don't use BP_SYM.
46007         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46008         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46009         and <bp-asm.h>.
46010         (__mpn_addmul_1): Don't use BP_SYM.
46011         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46012         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46013         <bp-sym.h>.
46014         (_setjmp): Don't use BP_SYM.
46015         (__novmx_setjmp): Likewise.
46016         (__GI__setjmp): Likewise.
46017         (__vmx_setjmp): Likewise.
46018         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46019         <bp-sym.h>.
46020         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46021         (__bzero): Don't use BP_SYM.
46022         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46023         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46024         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46025         <bp-sym.h> and <bp-asm.h>.
46026         (memcpy): Don't use BP_SYM.
46027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46028         <bp-sym.h> and <bp-asm.h>.
46029         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46030         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46031         <bp-sym.h> and <bp-asm.h>.
46032         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46033         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46034         <bp-asm.h>.
46035         (__mpn_lshift): Don't use BP_SYM.
46036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46037         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46038         <bp-asm.h>.
46039         (memset): Don't use BP_SYM.
46040         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46041         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46042         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46043         <bp-asm.h>.
46044         (__mpn_mul_1): Don't use BP_SYM.
46045         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46046         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46047         <bp-sym.h> and <bp-asm.h>.
46048         (memcmp): Don't use BP_SYM.
46049         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46050         <bp-sym.h> and <bp-asm.h>.
46051         (memcpy): Don't use BP_SYM.
46052         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46053         <bp-sym.h> and <bp-asm.h>.
46054         (memset): Don't use BP_SYM.
46055         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46056         <bp-sym.h> and <bp-asm.h>.
46057         (strncmp): Don't use BP_SYM.
46058         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46059         <bp-sym.h> and <bp-asm.h>.
46060         (memcpy): Don't use BP_SYM.
46061         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46062         <bp-sym.h> and <bp-asm.h>.
46063         (memset): Don't use BP_SYM.
46064         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46065         <bp-sym.h> and <bp-asm.h>.
46066         (__memchr): Don't use BP_SYM.
46067         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46068         <bp-sym.h> and <bp-asm.h>.
46069         (memcmp): Don't use BP_SYM.
46070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46071         <bp-sym.h> and <bp-asm.h>.
46072         (memcpy): Don't use BP_SYM.
46073         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46074         <bp-sym.h> and <bp-asm.h>.
46075         (__mempcpy): Don't use BP_SYM.
46076         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46077         <bp-sym.h> and <bp-asm.h>.
46078         (__memrchr): Don't use BP_SYM.
46079         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46080         <bp-sym.h> and <bp-asm.h>.
46081         (memset): Don't use BP_SYM.
46082         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46083         <bp-sym.h> and <bp-asm.h>.
46084         (__rawmemchr): Don't use BP_SYM.
46085         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46086         <bp-sym.h> and <bp-asm.h>.
46087         (__STRCMP): Don't use BP_SYM.
46088         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46089         <bp-sym.h> and <bp-asm.h>.
46090         (strchr): Don't use BP_SYM.
46091         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46092         <bp-sym.h> and <bp-asm.h>.
46093         (__strchrnul): Don't use BP_SYM.
46094         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46095         <bp-sym.h> and <bp-asm.h>.
46096         (strlen): Don't use BP_SYM.
46097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46098         <bp-sym.h> and <bp-asm.h>.
46099         (strncmp): Don't use BP_SYM.
46100         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46101         <bp-sym.h> and <bp-asm.h>.
46102         (__strnlen): Don't use BP_SYM.
46103         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46104         <bp-asm.h>.
46105         (__mpn_rshift): Don't use BP_SYM.
46106         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46107         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46108         <bp-sym.h> and <bp-asm.h>.
46109         (__sigsetjmp): Don't use BP_SYM.
46110         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46111         (L(start_addresses)): Don't use BP_SYM.
46112         (_start): Likewise.
46113         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46114         <bp-asm.h>.
46115         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46116         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46117         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46118         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46119         <bp-asm.h>.
46120         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46121         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46122         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46123         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46124         <bp-asm.h>.
46125         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46126         comments.
46127         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46128         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46129         <bp-asm.h>.
46130         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46131         FIXME comments.
46132         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46133         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46134         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46135         <bp-asm.h>.
46136         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46137         comment.
46138         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46139         and <bp-asm.h>.
46140         (strncmp): Don't use BP_SYM,
46141         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46142         <bp-asm.h>.
46143         (__mpn_sub_n): Don't use BP_SYM.
46144         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46145         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46146         and <bp-asm.h>.
46147         (__mpn_submul_1): Don't use BP_SYM.
46148         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46150         <bp-sym.h> and <bp-asm.h>.
46151         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46153         <bp-sym.h> and <bp-asm.h>.
46154         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46155         comment.
46157 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46160         Use ZK to minimize writes to Z.
46161         (sub_magnitudes): Simplify code a bit.
46162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46163         Use ZK to minimize writes to Z.
46164         (sub_magnitudes): Simplify code a bit.
46166 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46168         * csu/gmon-start.c: Add special exception to license text.
46170 2013-02-27  Richard Henderson  <rth@redhat.com>
46172         * scripts/config.guess: Update from config.git.
46173         * scripts/config.sub: Likewise.
46175 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46177         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46179         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46181         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46183         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46185         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46187 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46189         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46190         [$(build-shared = yes].
46192 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46194         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46195         (__mul): Reduce iterations for calculating mantissa.
46197         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46198         MPTWO.
46199         (__mpranred): Likewise.
46201         [BZ #15160]
46202         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46203         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46205 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46207         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46208         Define __attribute__.
46210 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46212         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46213         unused.
46214         * posix/regex_internal.h (__attribute): Remove.
46215         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46216         (re_string_context_at): Likewise.
46217         (bitset_not): Use __attribute__ and mark function as possibly
46218         unused.
46219         (bitset_merge): Likewise.
46220         (bitset_mask): Likewise.
46221         (re_string_char_size_at): Likewise.
46222         (re_string_wchar_at): Likewise.
46223         (re_string_elem_size_at): Likewise.
46225 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46227         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46228         code.
46229         (cc32): Likewise.
46231         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46232         (__acr): Likewise.
46233         (__cpy): Likewise.
46234         (norm): Likewise.
46235         (denorm): Likewise.
46236         (__dbl_mp): Likewise.
46237         (add_magnitudes): Likewise.
46238         (sub_magnitudes): Likewise.
46239         (__mul): Likewise.
46240         (__inv): Likewise.
46242         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46243         style.
46245         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46246         style.
46248         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46249         code.
46251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46252         up changes with default code.
46253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46254         Likewise.
46256 2013-02-24  Allan McRae  <allan@archlinux.org>
46258         * manual/socket.texi (The Internet Namespace): Order menu items
46259         to match that in the file.
46261         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46262         node listing of the info page menu.
46264 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46266         [BZ #13550]
46267         * sysdeps/i386/bp-asm.h: Remove file.
46268         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46269         (PARMS): Do not use macros from bp-asm.h.
46270         (S1): Likewise.
46271         (S2): Likewise.
46272         (SIZE): Likewise.
46273         (__mpn_add_n): Do not use BP_SYM
46274         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46275         "bp-asm.h".
46276         (PARMS): Do not use macros from bp-asm.h.
46277         (S1): Likewise.
46278         (SIZE): Likewise.
46279         (__mpn_addmul_1): Do not use BP_SYM
46280         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46281         "bp-asm.h".
46282         (PARMS): Do not use macros from bp-asm.h.
46283         (SIGMSK): Likewise.
46284         (_setjmp): Likewise.  Do not use BP_SYM.
46285         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46286         "bp-asm.h".
46287         (PARMS): Do not use macros from bp-asm.h.
46288         (SIGMSK): Likewise.
46289         (setjmp): Likewise.  Do not use BP_SYM.
46290         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46291         "bp-asm.h".
46292         (PARMS): Do not use macros from bp-asm.h.
46293         (__frexp): Do not use BP_SYM.
46294         (frexp): Likewise.
46295         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46296         "bp-asm.h".
46297         (PARMS): Do not use macros from bp-asm.h.
46298         (__frexpf): Do not use BP_SYM.
46299         (frexpf): Likewise.
46300         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46301         "bp-asm.h".
46302         (PARMS): Do not use macros from bp-asm.h.
46303         (__frexpl): Do not use BP_SYM.
46304         (frexpl): Likewise.
46305         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46306         "bp-asm.h".
46307         (PARMS): Do not use macros from bp-asm.h.
46308         (__remquo): Do not use BP_SYM.
46309         (remquo): Likewise.
46310         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46311         "bp-asm.h".
46312         (PARMS): Do not use macros from bp-asm.h.
46313         (__remquof): Do not use BP_SYM.
46314         (remquof): Likewise.
46315         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46316         "bp-asm.h".
46317         (PARMS): Do not use macros from bp-asm.h.
46318         (__remquol): Do not use BP_SYM.
46319         (remquol): Likewise.
46320         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46321         "bp-asm.h".
46322         (PARMS): Do not use macros from bp-asm.h.
46323         (DEST): Likewise.
46324         (SRC): Likewise.
46325         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46326         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46327         "bp-asm.h".
46328         (PARMS): Do not use macros from bp-asm.h.
46329         (strlen): Do not use BP_SYM.
46330         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46331         "bp-asm.h".
46332         (PARMS): Do not use macros from bp-asm.h.
46333         (S1): Likewise.
46334         (S2): Likewise.
46335         (SIZE): Likewise.
46336         (__mpn_add_n): Do not use BP_SYM.
46337         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46338         "bp-asm.h".
46339         (PARMS): Do not use macros from bp-asm.h.
46340         (S1): Likewise.
46341         (SIZE): Likewise.
46342         (__mpn_addmul_1): Do not use BP_SYM.
46343         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46344         weak_alias.
46345         (bzero): Likewise.
46346         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46347         "bp-asm.h".
46348         (PARMS): Do not use macros from bp-asm.h.
46349         (S): Likewise.
46350         (SIZE): Likewise.
46351         (__mpn_lshift): Do not use BP_SYM.
46352         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46353         "bp-asm.h".
46354         (PARMS): Do not use macros from bp-asm.h.
46355         (DEST): Likewise.
46356         (SRC): Likewise.
46357         (LEN): Likewise.
46358         (memcpy): Likewise.  Do not use BP_SYM.
46359         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46360         libc_hidden_def and weak_alias.
46361         (mempcpy): Do not use BP_SYM in weak_alias.
46362         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46363         "bp-asm.h".
46364         (PARMS): Do not use macros from bp-asm.h.
46365         (DEST): Likewise.
46366         (LEN): Likewise.
46367         [!BZERO_P] (CHR): Likewise.
46368         (memset): Likewise.  Do not use BP_SYM.
46369         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46370         "bp-asm.h".
46371         (PARMS): Do not use macros from bp-asm.h.
46372         (S1): Likewise.
46373         (SIZE): Likewise.
46374         (__mpn_mul_1): Do not use BP_SYM.
46375         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46376         "bp-asm.h".
46377         (PARMS): Do not use macros from bp-asm.h.
46378         (S): Likewise.
46379         (SIZE): Likewise.
46380         (__mpn_rshift): Do not use BP_SYM.
46381         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46382         "bp-asm.h".
46383         (PARMS): Do not use macros from bp-asm.h.
46384         (STR): Likewise.
46385         (CHR): Likewise.
46386         (strchr): Likewise.  Do not use BP_SYM.
46387         (index): Do not use BP_SYM in weak_alias.
46388         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46389         "bp-asm.h".
46390         (PARMS): Do not use macros from bp-asm.h.
46391         (DEST): Likewise.
46392         (SRC): Likewise.
46393         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46394         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46395         "bp-asm.h".
46396         (PARMS): Do not use macros from bp-asm.h.
46397         (strlen): Do not use BP_SYM.
46398         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46399         "bp-asm.h".
46400         (PARMS): Do not use macros from bp-asm.h.
46401         (S1): Likewise.
46402         (S2): Likewise.
46403         (SIZE): Likewise.
46404         (__mpn_sub_n): Do not use BP_SYM.
46405         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46406         "bp-asm.h".
46407         (PARMS): Do not use macros from bp-asm.h.
46408         (S1): Likewise.
46409         (SIZE): Likewise.
46410         (__mpn_submul_1): Do not use BP_SYM.
46411         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46412         "bp-asm.h".
46413         (PARMS): Do not use macros from bp-asm.h.
46414         (S1): Likewise.
46415         (S2): Likewise.
46416         (SIZE): Likewise.
46417         (__mpn_add_n): Do not use BP_SYM.
46418         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46419         weak_alias.
46420         (bzero): Likewise.
46421         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46422         "bp-asm.h".
46423         (PARMS): Do not use macros from bp-asm.h.
46424         (BLK2): Likewise.
46425         (LEN): Likewise.
46426         (memcmp): Do not use BP_SYM.
46427         (bcmp): Do not use BP_SYM in weak_alias.
46428         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46429         "bp-asm.h".
46430         (PARMS): Do not use macros from bp-asm.h.
46431         (DEST): Likewise.
46432         (SRC): Likewise.
46433         (LEN): Likewise.
46434         (memcpy): Likewise.  Do not use BP_SYM.
46435         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46436         "bp-asm.h".
46437         (PARMS): Do not use macros from bp-asm.h.
46438         (DEST): Likewise.
46439         (SRC): Likewise.
46440         (LEN): Likewise.
46441         (memmove): Likewise.  Do not use BP_SYM.
46442         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46443         "bp-asm.h".
46444         (PARMS): Do not use macros from bp-asm.h.
46445         (DEST): Likewise.
46446         (SRC): Likewise.
46447         (LEN): Likewise.
46448         (__mempcpy): Likewise.  Do not use BP_SYM.
46449         (mempcpy): Do not use BP_SYM in weak_alias.
46450         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46451         "bp-asm.h".
46452         (PARMS): Do not use macros from bp-asm.h.
46453         (DEST): Likewise.
46454         (LEN): Likewise.
46455         [!BZERO_P] (CHR): Likewise.
46456         (memset): Likewise.  Do not use BP_SYM.
46457         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46458         "bp-asm.h".
46459         (PARMS): Do not use macros from bp-asm.h.
46460         (STR2): Likewise.
46461         (strcmp): Do not use BP_SYM.
46462         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46463         "bp-asm.h".
46464         (PARMS): Do not use macros from bp-asm.h.
46465         (STR): Likewise.
46466         (DELIM): Likewise.
46467         [USE_AS_STRTOK_R] (SAVE): Likewise.
46468         (FUNCTION): Likewise.  Do not use BP_SYM.
46469         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46470         aliases.
46471         (strtok_r): Likewise.
46472         (__GI___strtok_r): Likewise.
46473         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46474         (PARMS): Do not use macros from bp-asm.h.
46475         (S): Likewise.
46476         (SIZE): Likewise.
46477         (__mpn_lshift): Do not use BP_SYM.
46478         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46479         (PARMS): Do not use macros from bp-asm.h.
46480         (STR): Likewise.
46481         (CHR): Likewise.
46482         (__memchr): Do not use BP_SYM.
46483         (memchr): Do not use BP_SYM in weak_alias.
46484         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46485         (PARMS): Do not use macros from bp-asm.h.
46486         (BLK2): Likewise.
46487         (LEN): Likewise.
46488         (memcmp): Do not use BP_SYM.
46489         (bcmp): Do not use BP_SYM in weak_alias.
46490         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46491         (PARMS): Do not use macros from bp-asm.h.
46492         (S1): Likewise.
46493         (SIZE): Likewise.
46494         (__mpn_mul_1): Do not use BP_SYM.
46495         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46496         "bp-asm.h".
46497         (PARMS): Do not use macros from bp-asm.h.
46498         (STR): Likewise.
46499         (CHR): Likewise.
46500         (__rawmemchr): Do not use BP_SYM.
46501         (rawmemchr): Do not use BP_SYM in weak_alias.
46502         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46503         (PARMS): Do not use macros from bp-asm.h.
46504         (S): Likewise.
46505         (SIZE): Likewise.
46506         (__mpn_rshift): Do not use BP_SYM.
46507         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46508         (PARMS): Do not use macros from bp-asm.h.
46509         (SIGMSK): Likewise.
46510         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46511         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46512         (_start): Do not use BP_SYM.
46513         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46514         (PARMS): Do not use macros from bp-asm.h.
46515         (DEST): Likewise.
46516         (SRC): Likewise.
46517         (__stpcpy): Likewise.  Do not use BP_SYM.
46518         (stpcpy): Do not use BP_SYM in weak_alias.
46519         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46520         "bp-asm.h".
46521         (PARMS): Do not use macros from bp-asm.h.
46522         (DEST): Likewise.
46523         (SRC): Likewise.
46524         (LEN): Likewise.
46525         (__stpncpy): Likewise.  Do not use BP_SYM.
46526         (stpncpy): Do not use BP_SYM in weak_alias.
46527         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46528         (PARMS): Do not use macros from bp-asm.h.
46529         (STR): Likewise.
46530         (CHR): Likewise.
46531         (strchr): Likewise.  Do not use BP_SYM.
46532         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46533         "bp-asm.h".
46534         (PARMS): Do not use macros from bp-asm.h.
46535         (STR): Likewise.
46536         (CHR): Likewise.
46537         (__strchrnul): Likewise.  Do not use BP_SYM.
46538         (strchrnul): Do not use BP_SYM in weak_alias.
46539         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46540         "bp-asm.h".
46541         (PARMS): Do not use macros from bp-asm.h.
46542         (STOP): Likewise.
46543         (strcspn): Do not use BP_SYM.
46544         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46545         "bp-asm.h".
46546         (PARMS): Do not use macros from bp-asm.h.
46547         (STR): Likewise.
46548         (STOP): Likewise.
46549         (strpbrk): Likewise.  Do not use BP_SYM.
46550         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46551         "bp-asm.h".
46552         (PARMS): Do not use macros from bp-asm.h.
46553         (STR): Likewise.
46554         (CHR): Likewise.
46555         (strrchr): Likewise.  Do not use BP_SYM.
46556         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46557         (PARMS): Do not use macros from bp-asm.h.
46558         (SKIP): Likewise.
46559         (strspn): Do not use BP_SYM.
46560         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46561         (PARMS): Do not use macros from bp-asm.h.
46562         (STR): Likewise.
46563         (DELIM): Likewise.
46564         (SAVE): Likewise.
46565         (FUNCTION): Likewise.  Do not use BP_SYM.
46566         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46567         aliases.
46568         (strtok_r): Likewise.
46569         (__GI___strtok_r): Likewise.
46570         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46571         (PARMS): Do not use macros from bp-asm.h.
46572         (S1): Likewise.
46573         (S2): Likewise.
46574         (SIZE): Likewise.
46575         (__mpn_sub_n): Do not use BP_SYM.
46576         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46577         "bp-asm.h".
46578         (PARMS): Do not use macros from bp-asm.h.
46579         (S1): Likewise.
46580         (SIZE): Likewise.
46581         (__mpn_submul_1): Do not use BP_SYM.
46582         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46583         <bp-sym.h>.
46584         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46585         and <bp-asm.h>.
46586         (PARMS): Do not use macros from bp-asm.h.
46587         (FLAGS): Likewise.
46588         (PTID): Likewise.
46589         (TLS): Likewise.
46590         (CTID): Likewise.
46591         (__clone): Do not use BP_SYM.
46592         (clone): Do not use BP_SYM in weak_alias.
46593         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46594         and <bp-asm.h>.
46595         (PARMS): Do not use macros from bp-asm.h.
46596         (LEN): Likewise.
46597         (__mmap64): Do not use BP_SYM.
46598         (mmap64): Do not use BP_SYM in weak_alias.
46599         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46600         <bp-sym.h> and <bp-asm.h>.
46601         (PARMS): Do not use macros from bp-asm.h.
46602         (__posix_fadvise64_l64): Do not use BP_SYM.
46603         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46604         (PARMS): Do not use macros from bp-asm.h.
46605         (NSOPS): Likewise.
46606         (semtimedop): Do not use BP_SYM.
46607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46608         and <bp-asm.h>.
46610 2013-02-21  Allan McRae  <allan@archlinux.org>
46612         * manual/message.texi (Charset conversion in gettext):
46613         Move @end statement to beginning of line.
46615 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46618         static.
46619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46620         Likewise.
46622         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46623         (denorm): Likewise.
46624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46627 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46629         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46630         tail-call to the resolved function if pltexit isn't needed.
46632 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46635         or Y being zero as being unlikely.
46636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46637         Likewise.
46639 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46641         * manual/nss.texi (System Databases and Name Service Switch):
46642         Remove frobnicate @pxref.
46644 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46646         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46647         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46649 2013-02-20  Petr Machata  <pmachata@redhat.com>
46651         * elf/elf.h (R_ARM_TARGET1): New macro.
46652         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46653         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46654         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46655         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46656         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46657         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46658         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46659         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46660         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46661         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46662         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46663         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46664         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46665         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46666         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46667         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46668         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46669         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46670         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46671         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46672         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46673         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46674         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46675         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46676         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46677         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46678         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46679         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46680         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46681         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46682         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46683         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46684         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46685         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46686         (R_ARM_THM_GOT_BREL12): Likewise.
46687         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46688         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46689         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46690         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46691         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46692         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46693         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46694         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46695         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46697 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46699         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46700         __attribute_used__ to __attribute__ ((unused)).
46702 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46704         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46705         powerpc mpa.c.
46706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46707         comment formatting.
46708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46710 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46712         [BZ #13550]
46713         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46714         Remove macro.
46715         (ENTER): Remove both macro definitions.
46716         (LEAVE): Likewise.
46717         (CHECK_BOUNDS_LOW): Likewise.
46718         (CHECK_BOUNDS_HIGH): Likewise.
46719         (CHECK_BOUNDS_BOTH): Likewise.
46720         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46721         (RETURN_BOUNDED_POINTER): Likewise.
46722         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46723         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46724         (POP_ERRNO_LOCATION_RETURN): Likewise.
46725         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46726         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46727         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46728         macros.
46729         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46730         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46731         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46732         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46733         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46734         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46735         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46736         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46737         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46738         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46739         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46740         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46741         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46742         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46743         removed macros.
46744         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46745         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46746         macros.
46747         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46748         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46749         * sysdeps/i386/i586/memset.S (memset): Likewise.
46750         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46751         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46752         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46753         macros.
46754         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46755         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46756         Change uses of L(2) to L(out).
46757         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46758         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46759         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46760         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46761         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46762         removed macros.
46763         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46764         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46765         macros.
46766         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46767         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46768         (RETURN): Do not use macro LEAVE.
46769         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46770         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46771         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46772         * sysdeps/i386/i686/memset.S (memset): Likewise.
46773         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46774         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46775         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46776         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46777         Likewise.
46778         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46779         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46780         L(1_2) and L(1_3) into L(1).
46781         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46782         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46783         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46784         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46785         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46786         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46787         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46788         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46789         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46790         macros.
46791         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46792         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46793         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46794         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46795         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46796         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46797         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46798         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46799         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46800         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46801         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46802         * sysdeps/i386/strspn.S (strspn): Likewise.
46803         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46804         conditional code.
46805         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46806         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46807         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46808         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46809         L(1_3) into L(1_1).
46810         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46811         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46812         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46813         macros.
46814         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46816 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46818         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46819         macro.
46821 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46823         * math/atest-exp.c (exp_mpn): Remove ROUND.
46824         * math/atest-exp2.c (exp_mpn): Likewise.
46825         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46827         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46828         * stdlib/tst-tls-atexit-lib.c: Likewise.
46829         * stdlib/tst-tls-atexit.c: Likewise.
46831 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46833         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46834         and __attribute_alloc_size__.
46836 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46838         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46839         __attribute_alloc_size__.
46840         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46841         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46843 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46845         * include/programs/xmalloc.h: New file.
46846         * catgets/gencat.c: Include it.
46847         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46848         * elf/pldd.c: Likewise.
46849         * iconv/iconv_charmap.c: Likewise.
46850         * iconv/iconvconfig.c: Likewise.
46851         * iconv/strtab.c: Likewise.
46852         * locale/programs/locale.c: Likewise.
46853         * locale/programs/localedef.h: Likewise.
46854         * locale/programs/simple-hash.c: Likewise.
46855         * nscd/nscd.h: Likewise.
46856         * nss/makedb.c: Likewise.
46857         * sysdeps/generic/ldconfig.h: Likewise.
46859 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46861         * Versions.def: Add GLIBC_2.18.
46862         * include/link.h (struct link_map): New member l_tls_dtor_count.
46863         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46864         (__call_tls_dtors): Likewise.
46865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46866         __cxa_thread_atexit_impl.
46867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46868         Likewise.
46869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46870         Likewise.
46871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46872         Likewise.
46873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46874         Likewise.
46875         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46877         Likewise.
46878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46879         Likewise.
46880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46882         Likewise.
46883         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46884         (tests): Add test case tst-tls-atexit.
46885         (modules-names): Add shared library for tst-tls-atexit.
46886         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46887         (GLIBC_PRIVATE): Add __call_tls_dtors.
46888         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46889         for libstdc++.
46890         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46891         * stdlib/tst-tls-atexit.c: New test case.
46892         * stdlib/tst-tls-atexit-lib.c: New test case.
46894         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46896         * elf/Versions (ld): Add _dl_find_dso_for_object.
46897         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46898         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46899         (dl_open_worker): Use _dl_find_dso_for_object.
46900         * elf/dl-sym.c (do_sym): Likewise.
46901         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46903 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46905         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46906         Syntactic changes only.
46907         (_dl_runtime_profile): Do a tail-call to the resolved function.
46909 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46911         [BZ #13550]
46912         * sysdeps/x86_64/bp-asm.h: Remove file.
46913         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46914         <bp-sym.h> and <bp-asm.h>.
46915         (__clone): Do not use BP_SYM.
46916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46917         <bp-sym.h> and <bp-asm.h>.
46918         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46919         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46920         "bp-asm.h".
46921         (_setjmp): Do not use BP_SYM.
46922         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46923         "bp-asm.h".
46924         (setjmp): Do not use BP_SYM.
46925         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46926         libc_hidden_def.
46927         (mempcpy): Do not use BP_SYM in weak_alias.
46928         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46929         "bp-asm.h".
46930         (strchr): Do not use BP_SYM.
46931         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46932         "bp-asm.h".
46933         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46934         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46935         (_start): Do not use BP_SYM.
46936         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46937         "bp-asm.h".
46938         (strcat): Do not use BP_SYM.
46939         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46940         "bp-asm.h".
46941         (STRCMP): Do not use BP_SYM.
46942         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46943         "bp-asm.h".
46944         (STRCPY): Do not use BP_SYM.
46945         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46946         "bp-asm.h".
46947         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46948         "bp-asm.h".
46949         (FUNCTION): Do not use BP_SYM.
46950         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46951         weak_alias.
46952         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46954 2013-02-17  Andreas Jaeger  <aj@suse.de>
46956         * time/Versions: Sort entries.
46957         * string/Versions: Likewise.
46958         * resolv/Versions: Likewise.
46959         * posix/Versions: Likewise.
46960         * iconv/Versions: Likewise.
46961         * elf/Versions: Likewise.
46962         * wcsmbs/Versions: Likewise.
46964 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46966         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46967         loop termination condition.
46969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46970         variable to calculate EZ.
46971         (__sqr): Likewise.
46973         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46974         the lower precision input.
46976 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46978         [BZ #13550]
46979         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46980         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46981         (run-via-rtld-prefix): Do not handle %-bp tests.
46982         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46983         (all-object-suffixes): Remove .ob.
46984         (bppfx): Remove variable.
46985         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46986         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46987         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46988         [$(build-bounded) = yes] (libtype.ob): Likewise.
46989         * Makerules (elide-routines.ob): Remove variable.
46990         (do-tests-clean): Do not handle *-bp.out.
46991         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46992         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46993         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46994         (tests): Do not include $(tests-bp.out).
46995         (xtests): Do not include $(xtests-bp.out).
46996         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46997         [$(build-bounded) = yes] ($(addprefix
46998         $(objpfx),$(binaries-bounded))): Remove rule.
46999         ($(objpfx)%-bp.out): Remove rule.
47000         * config.make.in (build-bounded): Remove variable.
47001         * crypt/Makefile [$(build-bounded) = yes]
47002         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47003         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47004         append to variable.
47005         [$(build-bounded) = yes] (install-lib): Likewise.
47006         [$(build-bounded) = yes] (generated): Likewise.
47007         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47008         Remove rule.
47009         * intl/Makefile [$(build-bounded) = yes]
47010         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47011         * math/Makefile [$(build-bounded) = yes]
47012         ($(tests:%=$(objpfx)%-bp): Likewise.
47013         * misc/Makefile [$(build-bounded) = yes]
47014         ($(objpfx)tst-tsearch-bp): Likewise.
47015         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47016         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47017         Remove dependency.
47018         * string/Makefile (o-objects.ob): Remove variable.
47019         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47020         (CFLAGS-.ob): Remove variable.
47021         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47022         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47023         both definitions of variable.
47024         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47025         (ASFLAGS-.ob): Remove variable.
47027 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47029         [BZ #13550]
47030         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47031         Remove __BOUNDED_POINTERS__ from condition.
47032         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47033         * string/bits/string2.h [!__NO_STRING_INLINES &&
47034         !__BOUNDED_POINTERS__]: Likewise.
47035         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47036         Likewise.
47037         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47038         Remove conditional code.
47039         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47040         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47041         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47042         condition.
47044         [BZ #13550]
47045         * csu/libc-start.c: Do not include <bp-sym.h>.
47046         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47047         * elf/dl-open.c: Do not include <bp-sym.h>.
47048         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47049         * math/fegetenv.c: Do not include <bp-sym.h>.
47050         (fegetenv): Do not use BP_SYM in versioned symbols.
47051         * nptl/sysdeps/pthread/bits/libc-lockP.h
47052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47053         <bp-sym.h>.
47054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47055         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47057         (__pthread_mutex_destroy): Likewise.
47058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47059         (__pthread_mutex_lock): Likewise.
47060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47061         (__pthread_mutex_trylock): Likewise.
47062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47063         (__pthread_mutex_unlock): Likewise.
47064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47065         (__pthread_mutexattr_init): Likewise.
47066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47067         (__pthread_mutexattr_destroy): Likewise.
47068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47069         (__pthread_mutexattr_settype): Likewise.
47070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47071         (__pthread_rwlock_init): Likewise.
47072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47073         (__pthread_rwlock_destroy): Likewise.
47074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47075         (__pthread_rwlock_rdlock): Likewise.
47076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47077         (__pthread_rwlock_tryrdlock): Likewise.
47078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47079         (__pthread_rwlock_wrlock): Likewise.
47080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47081         (__pthread_rwlock_trywrlock): Likewise.
47082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47083         (__pthread_rwlock_unlock): Likewise.
47084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47085         (__pthread_key_create): Likewise.
47086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47087         (__pthread_setspecific): Likewise.
47088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47089         (__pthread_getspecific): Likewise.
47090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47091         Likewise.
47092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47093         (_pthread_cleanup_push_defer): Likewise.
47094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47095         (_pthread_cleanup_pop_restore): Likewise.
47096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47097         (pthread_setcancelstate): Likewise.
47098         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47099         <bp-sym.h>.
47100         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47101         (memchr): Do not use BP_SYM in weak_alias.
47102         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47103         (fegetenv): Do not use BP_SYM in versioned symbols.
47104         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47105         (fesetenv): Do not use BP_SYM in versioned symbols.
47106         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47107         (feupdateenv): Do not use BP_SYM in versioned symbols.
47108         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47109         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47110         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47111         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47112         (open64): Do not use BP_SYM in weak_alias.
47113         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47114         (fegetenv): Do not use BP_SYM in versioned symbols.
47115         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47116         (fesetenv): Do not use BP_SYM in versioned symbols.
47117         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47118         (feupdateenv): Do not use BP_SYM in versioned symbols.
47119         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47120         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47121         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47122         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47123         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47124         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47125         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47126         <bp-sym.h>.
47127         (__libc_start_main): Do not use BP_SYM.
47129 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47132         redundant return line.
47133         (norm): Likewise.
47134         (denorm): Likewise.
47135         (dbl_mp): Likewise.
47136         (sub_magnitudes): Likewise.
47137         (__add): Likewise.
47138         (__sub): Likewise.
47139         (__mul): Likewise.
47140         (__inv): Likewise.
47141         (__dvd): Likewise.
47142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47143         (norm): Likewise.
47144         (denorm): Likewise.
47145         (dbl_mp): Likewise.
47146         (sub_magnitudes): Likewise.
47147         (__add): Likewise.
47148         (__sub): Likewise.
47149         (__mul): Likewise.
47150         (__inv): Likewise.
47151         (__dvd): Likewise.
47153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47154         instead of __mul.
47155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47156         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47157         (cc32): Likewise.
47159         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47160         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47162         of __mul for squares.
47163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47164         function
47165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47166         Likewise.
47167         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47168         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47170 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47172         [BZ #13550]
47173         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47174         code.
47175         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47176         prototype or function definition.  Rename ubp_* variables and
47177         parameters.  Remove argv definitions conditional on
47178         [__BOUNDED_POINTERS__].
47179         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47180         * elf/dl-runtime.c (_dl_fixup): Likewise.
47181         * include/set-hooks.h (RUN_HOOK): Likewise.
47182         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47183         definition.
47184         * string/strcpy.c (strcpy): Do not use __unbounded.
47185         * sysdeps/generic/frame.h (struct layout): Likewise.
47186         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47187         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47188         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47189         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47190         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47191         (__backtrace): Likewise.
47192         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47193         use __ptrvalue.
47194         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47195         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47196         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47197         Likewise.
47198         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47199         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47200         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47201         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47202         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47203         Do not use __unbounded.
47204         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47205         Rename __unboundedrlimits parameter to rlimits in prototype.
47206         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47207         Do not use __unbounded.
47208         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47209         not use __ptrvalue.
47210         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47211         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47213         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47214         __ptrvalue or __unbounded.
47215         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47216         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47217         use __unbounded.
47218         (__new_msgctl): Do not use __ptrvalue.
47219         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47220         __unbounded.
47221         (__libc_msgrcv): Do not use __ptrvalue.
47222         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47223         startup_info): Do not use __unbounded.
47224         (__libc_start_main): Likewise.  Rename ubp_* variables and
47225         parameters.  Remove argv definitions conditional on
47226         [__BOUNDED_POINTERS__].
47227         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47228         __ptrvalue.
47229         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47230         use __unbounded.
47231         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47232         or __ptrvalue.
47233         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47234         use __unbounded.
47235         (__new_shmctl): Do not use __ptrvalue.
47236         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47237         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47238         Likewise.
47239         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47240         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47241         (__libc_sigaction): Likewise.
47242         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47244         Likewise.
47245         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47247 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47249         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47251         * string/mempcpy.c: Implement by calling memcpy.
47253 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47258         evaluation.
47260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47261         values in the mantissa.
47263         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47264         minimize writes to Z.
47265         (sub_magnitudes): Simplify code a bit.
47267 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47269         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47270         from the message.  The linker prefixes all warnings with that already.
47272 2013-02-12  Andreas Schwab  <schwab@suse.de>
47274         [BZ #15078]
47275         * posix/regexec.c (extend_buffers): Add parameter min_len.
47276         (check_matching): Pass minimum needed length.
47277         (clean_state_log_if_needed): Likewise.
47278         (get_subexp): Likewise.
47279         * posix/Makefile (tests): Add bug-regex34.
47280         (bug-regex34-ENV): Define.
47281         * posix/bug-regex34.c: New file.
47283         [BZ #11561]
47284         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47285         elements compare against the byte sequence of it, not its name.
47286         * posix/Makefile (tests): Add bug-regex35.
47287         (bug-regex35-ENV): Define.
47288         * posix/bug-regex35.c: New file.
47290 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47292         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47293         comment.
47294         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47295         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47296         (CHECK_EOL): Add undef.
47298 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47300         * bits/stdlib-bsearch.h: New file.
47301         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47302         * stdlib/stdlib.h: Likewise.
47304 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47306         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47307         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47308         declaration.
47309         * manual/search.texi (Array Search Function): Add missing const in
47310         lfind prototype.
47311         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47312         declaration to use rlim_t.
47313         (Basic Scheduling Functions): Remove erroneous const from
47314         sched_getparam prototype.  Remove erroneous * from
47315         sched_get_priority_max and sched_get_priority_min prototypes.
47316         (Resource Usage): Fix summary @comment on vtimes to refer to
47317         sys/vtimes.h rather than vtimes.h.
47318         Add missing *s in vtimes prototype.
47319         (Limits on Resources): Fix ulimit prototype to return long int.
47320         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47321         prototypes to use long int rather than double.
47322         (BSD Random): Fix initstate and setstate to use char *, not void *.
47323         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47324         prototype to make second argument 'struct aiocb64 *const[]'.
47325         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47326         (Status of AIO Operations): Remove erroneous const in aio_return and
47327         aio_return64 prototypes.
47328         (Synchronizing I/O): Fix sync prototype to return void.
47329         * manual/startup.texi (Suboptions): Remove an erroneous const in
47330         getsubopt prototype.
47331         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47332         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47333         use size_t rather than int.
47334         (Scanning All Users): Likewise for getpwent_r.
47335         (Setting Groups): Add missing const to setgroups prototype.
47336         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47337         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47338         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47339         'const void *' rather than 'const char *'.
47340         (Host Address Functions): Likewise for inet_ntop.
47341         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47342         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47343         ssize_t for return value.
47344         (Sending Data): Likewise for send, sendto, sendmsg.
47345         (Socket Option Functions): Add a missing const in setsockopt prototype.
47346         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47347         use wchar_t for the argument.
47348         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47349         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47350         take no arguments.
47351         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47352         double/float/long double for second argument.
47353         Fix return types of significand, significandf, significandl.
47354         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47355         argument in fchmod prototype.
47356         (File Owner): Use uid_t and gid_t in fchown prototype.
47357         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47358         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47359         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47360         use 'const struct dirent **' as argument types to CMP function pointer
47361         argument.
47362         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47363         (File Times): Fix summary magic @comment for struct utimbuf and utime
47364         to refer to utime.h, not time.h.
47365         * manual/string.texi (Argz Functions): Add missing const in
47366         argz_extract and argz_next prototypes.
47367         (Finding Tokens in a String): Likewise for basename.
47368         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47369         (Copying and Concatenation): Fix typo in wmemmove prototype.
47370         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47371         (Signal Stack): Remove erroneous const in sigstack prototype.
47372         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47373         prototype.
47374         (Simple Calendar Time): Likewise for stime.
47375         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47376         prototype.
47377         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47378         say sys/sysctl.h instead.
47379         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47380         and vsyslog prototypes.
47382 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47384         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47385         Remove.
47387 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47389         * misc/sys/mman.h: Fix typo in mremap comment.
47391 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47393         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47394         the '\0' terminator.
47396 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47398         [BZ #13550]
47399         * debug/segfault.c: Don't include <bp-checks.h>.
47400         * sysdeps/generic/bp-checks.h: Remove file.
47401         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47402         (__GETDENTS): Don't use CHECK_N.
47403         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47404         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47405         (__getgroups): Don't use CHECK_N.
47406         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47407         (setgroups): Don't use CHECK_N.
47408         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47409         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47410         (__libc_msgrcv): Don't use CHECK_N.
47411         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47412         (__libc_msgsnd): Don't use CHECK_N.
47413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47414         <bp-checks.h>.
47415         (__libc_pread): Don't use CHECK_N.
47416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47417         include <bp-checks.h>.
47418         (__libc_pread64): Don't use CHECK_N.
47419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47420         include <bp-checks.h>.
47421         (__libc_pwrite): Don't use CHECK_N.
47422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47423         include <bp-checks.h>.
47424         (__libc_pwrite64): Don't use CHECK_N.
47425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47426         <bp-checks.h>.
47427         (__libc_pread): Don't use CHECK_N.
47428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47429         include <bp-checks.h>.
47430         (__libc_pread64): Don't use CHECK_N.
47431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47432         include <bp-checks.h>.
47433         (__libc_pwrite): Don't use CHECK_N.
47434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47435         include <bp-checks.h>.
47436         (__libc_pwrite64): Don't use CHECK_N.
47437         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47438         (do_pread): Don't use CHECK_N.
47439         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47440         (do_pread64): Don't use CHECK_N.
47441         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47442         (do_pwrite): Don't use CHECK_N.
47443         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47444         (do_pwrite64): Don't use CHECK_N.
47445         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47446         (__libc_readv): Don't use CHECK_N.
47447         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47448         (semop): Don't use CHECK_N.
47449         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47450         <bp-checks.h>.
47451         (semtimedop): Don't use CHECK_N.
47452         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47453         (__libc_pread): Don't use CHECK_N.
47454         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47455         <bp-checks.h>.
47456         (__libc_pread64): Don't use CHECK_N.
47457         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47458         <bp-checks.h>.
47459         (__libc_pwrite): Don't use CHECK_N.
47460         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47461         <bp-checks.h>.
47462         (__libc_pwrite64): Don't use CHECK_N.
47463         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47464         <bp-checks.h>.
47465         (__libc_msgrcv): Don't use CHECK_N.
47466         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47467         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47468         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47469         (__libc_writev): Don't use CHECK_N.
47471 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47473         * string/strcpy.c: Removed unused variable.
47475         * Makeconfig (+sysdep-includes): Define with := rather than =.
47476         Use an existing include/ subdir of each sysdeps dir before it.
47478 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47480         * nscd/connection.c (register_traced_file): Comment function.
47481         [HAVE_INOTIFY] (union __inev): Define.
47482         [HAVE_INOTIFY] (inotify_check_files): New function.
47483         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47484         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47485         clear_db_cache.
47486         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47488 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47490         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47491         loaded if not already and that a failure is permanent.
47493 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47495         [BZ #15006]
47496         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47497         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47499 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47501         [BZ #13550]
47502         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47503         (CHECK_1_NULL_OK): Likewise.
47504         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47505         (__fxstat): Do not use CHECK_1.
47506         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47507         <bp-checks.h>.
47508         (___fxstat64): Do not use CHECK_1.
47509         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47510         <bp-checks.h>.
47511         (__fxstatat): Do not use CHECK_1.
47512         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47513         <bp-checks.h>.
47514         (__fxstatat64): Do not use CHECK_1.
47515         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47516         <bp-checks.h>.
47517         (__fxstat): Do not use CHECK_1.
47518         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47519         <bp-checks.h>.
47520         (__fxstatat): Do not use CHECK_1.
47521         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47522         <bp-checks.h>.
47523         (__getresgid): Do not use CHECK_1.
47524         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47525         <bp-checks.h>.
47526         (__getresuid): Do not use CHECK_1.
47527         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47528         <bp-checks.h>.
47529         (__lxstat): Do not use CHECK_1.
47530         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47531         <bp-checks.h>.
47532         (__old_msgctl): Do not use CHECK_1.
47533         (__new_msgctl): Likewise.
47534         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47535         <bp-checks.h>.
47536         (__new_setrlimit): Do not use CHECK_1.
47537         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47538         <bp-checks.h>.
47539         (__old_shmctl): Do not use CHECK_1.
47540         (__new_shmctl): Likewise.
47541         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47542         <bp-checks.h>.
47543         (__xstat): Do not use CHECK_1.
47544         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47545         (__lxstat): Do not use CHECK_1.
47546         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47547         <bp-checks.h>.
47548         (___lxstat64): Do not use CHECK_1.
47549         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47550         (__old_msgctl): Do not use CHECK_1.
47551         (__new_msgctl): Likewise.
47552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47553         <bp-checks.h>.
47554         (__gettimeofday): Do not use CHECK_1.
47555         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47556         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47557         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47558         <bp-checks.h>.
47559         (__gettimeofday): Do not use CHECK_1.
47560         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47561         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47562         (__new_shmctl): Do not use CHECK_1.
47563         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47564         <bp-checks.h>.
47565         (do_sigtimedwait): Do not use CHECK_1.
47566         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47567         <bp-checks.h>.
47568         (do_sigwaitinfo): Do not use CHECK_1.
47569         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47570         <bp-checks.h>.
47571         (msgctl): Do not use CHECK_1.
47572         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47573         <bp-checks.h>.
47574         (shmctl): Do not use CHECK_1.
47575         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47576         (ustat): Do not use CHECK_1.
47577         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47578         <bp-checks.h>.
47579         (__fxstat): Do not use CHECK_1.
47580         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47581         <bp-checks.h>.
47582         (__fxstatat): Do not use CHECK_1.
47583         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47584         <bp-checks.h>.
47585         (__lxstat): Do not use CHECK_1.
47586         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47587         <bp-checks.h>.
47588         (__xstat): Do not use CHECK_1.
47589         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47590         (__xstat): Do not use CHECK_1.
47591         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47592         (___xstat64): Do not use CHECK_1.
47594         [BZ #13550]
47595         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47596         definitions.
47597         (CHECK_BOUNDS_HIGH): Likewise.
47598         * string/strcpy.c: Do not include <bp-checks.h>.
47599         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47601 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47603         * nscd/nscd-client.h (__nscd_drop_map_ref):
47604         Add __attribute__ ((unused)).
47605         * nis/nss-nisplus.h (niserr2nss): Likewise.
47607         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47608         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47610         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47611         Remove inline keyword.
47612         * include/rounding-mode.h (round_away): Likewise.
47613         * libio/wfileops.c (adjust_wide_data): Likewise.
47614         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47615         (__m128i_strloadu_tolower): Likewise.
47616         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47617         (__m128i_strloadu_tolower): Likewise.
47618         * time/mktime.c (ydhms_diff): Likewise.
47619         * locale/elem-hash.h (elem_hash): Likewise.
47620         * locale/setlocale.c (setdata): Likewise.
47621         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47622         (re_string_wchar_at): Likewise.
47623         (bitset_not, bitset_merge, bitset_mask): Likewise.
47624         [!(__GNUC__ > 3)] (inline): Remove macro.
47625         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47626         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47627         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47628         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47629         * string/memcmp.c (memcmp_bytes): Likewise.
47630         * locale/programs/locarchive.c (compute_hashval): Likewise.
47631         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47632         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47633         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47634         * nss/getent.c (print_rpc, print_protocols): Likewise.
47635         (print_passwd, print_group, print_aliases): Likewise.
47636         * nis/nss-nisplus.h (niserr2nss): Likewise.
47637         * nscd/connections.c (restart_p): Likewise.
47638         Change return type to bool.
47640 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47642         * Makeconfig (all-Depend-files): Add existing
47643         $(sorted-subdirs:=/Depend) files.
47644         (all-subdirs): Remove nss.
47645         * sysdeps/unix/inet/Subdirs: Add it here instead.
47646         * hesiod/Depend: New file.
47648         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47649         instead of calling alloca.
47651         * io/lseek.c (__lseek): Rename to __libc_lseek.
47652         Define __lseek as an alias.
47654         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47656 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47658         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47659         else clause and remove check for non-standard endianness.
47661 2013-02-04  David S. Miller  <davem@davemloft.net>
47663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47665 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47667         [BZ #13550]
47668         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47669         (__ubp_memchr): Remove prototype.
47670         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47671         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47672         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47673         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47674         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47675         Remove alias.
47676         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47677         (__ubp_memchr): Likewise.
47678         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47679         (__ubp_memchr): Likewise.
47680         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47681         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47682         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47683         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47684         CHECK_STRING.
47685         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47686         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47687         (__getcwd): Do not use CHECK_STRING.
47688         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47689         <bp-checks.h>.
47690         (__real_chown): Do not use CHECK_STRING.
47691         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47692         <bp-checks.h>.
47693         (fchownat): Do not use CHECK_STRING.
47694         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47695         CHECK_STRING.
47696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47697         <bp-checks.h>.
47698         (__lchown): Do not use CHECK_STRING.
47699         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47700         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47701         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47702         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47704         include <bp-checks.h>.
47705         (truncate64): Do not use CHECK_STRING.
47706         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47707         <bp-checks.h>.
47708         (__real_chown): Do not use CHECK_STRING.
47709         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47710         <bp-checks.h>.
47711         (__lchown): Do not use CHECK_STRING.
47712         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47713         <bp-checks.h>.
47714         (__chown): Do not use CHECK_STRING.
47715         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47716         <bp-checks.h>.
47717         (truncate64): Do not use CHECK_STRING.
47718         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47719         Likewise.
47720         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47721         (__xmknod): Do not use CHECK_STRING.
47722         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47723         <bp-checks.h>.
47724         (__xmknodat): Do not use CHECK_STRING.
47725         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47726         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47728 2013-02-04  Andreas Schwab  <schwab@suse.de>
47730         [BZ #14142]
47731         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47732         * include/netdb.h: Likewise for h_errno.
47733         * elf/tst-stackguard1.c: Include <tls.h>.
47735 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47737         * elf/link.h (struct link_map): Extend the l_addr comment.
47738         * include/link.h (struct link_map): Likewise.
47740 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47742         [BZ #13550]
47743         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47744         (BOUNDED_1): Remove macro.
47745         * debug/backtrace.c: Don't include <bp-checks.h>.
47746         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47747         (__backtrace): Likewise.
47748         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47749         <bp-checks.h>.
47750         (__backtrace): Don't use BOUNDED_1.
47751         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47752         <bp-checks.h>.
47753         (__backtrace): Don't use BOUNDED_1.
47754         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47755         (__backtrace): Don't use BOUNDED_1.
47756         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47757         (shmat): Don't use BOUNDED_N.
47759 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47761         [BZ #13550]
47762         * sysdeps/generic/bp-start.h: Remove file.
47763         * csu/libc-start.c: Don't include <bp-start.h>.
47764         (LIBC_START_MAIN): Set up __environ directly instead of using
47765         INIT_ARGV_and_ENVIRON.
47766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47767         <bp-start.h>.
47769         [BZ #13550]
47770         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47771         definitions.
47772         (CHECK_FCNTL): Likewise.
47773         (CHECK_N_PAGES): Likewise.
47775         [BZ #13550]
47776         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47777         definitions.
47778         (CHECK_SIGSET_NULL_OK): Likewise.
47779         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47780         <bp-checks.h>.
47781         (sigpending): Don't use CHECK_SIGSET.
47782         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47783         <bp-checks.h>.
47784         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47785         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47786         <bp-checks.h>.
47787         (do_sigsuspend): Don't use CHECK_SIGSET.
47788         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47789         use CHECK_SIGSET.
47790         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47791         (do_sigwait): Don't use CHECK_SIGSET.
47792         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47793         use CHECK_SIGSET.
47794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47795         include <bp-checks.h>.
47796         (sigpending): Don't use CHECK_SIGSET.
47797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47798         include <bp-checks.h>.
47799         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47800         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47801         <bp-checks.h>.
47802         (sigpending): Don't use CHECK_SIGSET.
47803         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47804         <bp-checks.h>.
47805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47807         [BZ #13550]
47808         * sysdeps/generic/bp-semctl.h: Remove file.
47809         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47810         <bp-checks.h> and <bp-semctl.h>.
47811         (__old_semctl): Don't use CHECK_SEMCTL.
47812         (__new_semctl): Likewise.
47813         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47814         and <bp-semctl.h>.
47815         (__old_semctl): Don't use CHECK_SEMCTL.
47816         (__new_semctl): Likewise.
47817         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47818         <bp-checks.h> and <bp-semctl.h>.
47819         (__old_semctl): Don't use CHECK_SEMCTL.
47820         (__new_semctl): Likewise.
47821         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47822         <bp-checks.h> and <bp-semctl.h>.
47823         (semctl): Don't use CHECK_SEMCTL.
47825         [BZ #13550]
47826         * Makerules (elide-bp-thunks): Remove variable.
47827         (elide-routines.oS): Don't use $(elide-bp-thunks).
47828         (elide-routines.os): Likewise.
47829         (elide-routines.o): Likewise.
47830         (elide-routines.op): Likewise.
47831         (elide-routines.og): Likewise.
47832         (objects): Don't use $(bp-thunks).
47833         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47834         include.
47835         (common-generated): Do not add s-proto-bp.d.
47836         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47837         (int): Likewise.
47838         (typ): Likewise.
47839         Do not generate makefile rules for bounded-pointer thunks.
47840         * sysdeps/generic/bp-thunks.h: Remove file.
47841         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47842         * sysdeps/unix/s-proto-bp.S: Likewise.
47844         [BZ #15062]
47845         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47846         parts of result separately when argument is not close to line from
47847         -i to i and one part of argument is small.
47848         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47849         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47850         * math/libm-test.inc (cacos_test): Add more tests.
47851         (casin_test): Likewise.
47852         (casinh_test): Likewise.
47853         * sysdeps/i386/fpu/libm-test-ulps: Update.
47854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47856 2013-01-31  David S. Miller  <davem@davemloft.net>
47858         * po/de.po: Update from translation team.
47860 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47862         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47864 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47866         * configure.in (_AC_PROG_CC_C89): New definition.
47867         * configure: Regenerate.
47869         * configure.in (AC_PROG_CPP): New definition.
47870         * configure: Regenerate.
47872 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47874         * debug/tst-backtrace.h: New file.
47875         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47876         (ret): Remove variable.
47877         (x): Likewise.
47878         (FAIL): Remove macro.
47879         (NO_INLINE): Likewise.
47880         (fn1): Use match function instead of strstr.
47881         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47882         (ret): Remove variable.
47883         (x): Likewise.
47884         (FAIL): Remove macro.
47885         (NO_INLINE): Likewise.
47886         (fn): Use match function instead of strstr.
47887         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47888         (ret): Remove variable.
47889         (x): Likewise.
47890         (FAIL): Remove macro.
47891         (NO_INLINE): Likewise.
47892         (handle_signal): Use match function instead of strstr.
47893         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47894         (ret): Remove variable.
47895         (x): Likewise.
47896         (FAIL): Remove macro.
47897         (NO_INLINE): Likewise.
47898         (handle_signal): Use match function instead of strstr.
47900 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47902         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47904 2013-01-23  David S. Miller  <davem@davemloft.net>
47906         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47907         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47908         argument of CAS if possible.
47909         * sysdeps/sparc/sparc64/bits/atomic.h
47910         (__arch_compare_and_exchange_val_32_acq): Likewise.
47911         (__arch_compare_and_exchange_val_64_acq): Likewise.
47913 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47915         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47916         * sysdeps/posix/ulimit.c: ... this.
47917         Include <limits.h>.
47918         * sysdeps/unix/bsd/ulimit.c: Remove file.
47920 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47922         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47923         (LDFLAGS-tst-array5): Likewise.
47925 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47927         [BZ #15036]
47928         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47929         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47930         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47931         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47933 2013-01-21  David S. Miller  <davem@davemloft.net>
47935         * sysdeps/sparc/backtrace.c: New file.
47936         * sysdeps/sparc/sparc32/backtrace.h: New file.
47937         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47938         * sysdeps/sparc/sparc64/backtrace.h: New file.
47939         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47940         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47941         -funwind-tables.
47943 2013-01-21  Andreas Schwab  <schwab@suse.de>
47945         [BZ #15020]
47946         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47947         closed its stdout.
47949 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47952         "mpa2.h".
47953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47955 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47956             Mark Mitchell  <mark@codesourcery.com>
47957             Tom de Vries  <tom@codesourcery.com>
47958             Paul Pluzhnikov  <ppluzhnikov@google.com>
47960         * debug/tst-backtrace2.c: New file.
47961         * debug/tst-backtrace3.c: Likewise.
47962         * debug/tst-backtrace4.c: Likewise.
47963         * debug/tst-backtrace5.c: Likewise.
47964         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47965         (CFLAGS-tst-backtrace3.c): Likewise.
47966         (CFLAGS-tst-backtrace4.c): Likewise.
47967         (CFLAGS-tst-backtrace5.c): Likewise.
47968         (LDFLAGS-tst-backtrace2): Likewise.
47969         (LDFLAGS-tst-backtrace3): Likewise.
47970         (LDFLAGS-tst-backtrace4): Likewise.
47971         (LDFLAGS-tst-backtrace5): Likewise.
47972         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47973         tst-backtrace4 and tst-backtrace5.
47975 2013-01-18  Anton Blanchard  <anton@samba.org>
47976             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47978         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47979         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47981         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47983         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47984         "+r" and remove output regs list as redundant.  Add explicit inline
47985         asm to specify register of return val to work around compiler codegen
47986         bug.  Remove (int) cast on return value.  Add return type parameter to
47987         use in macro so that this macro does not truncate return value for
47988         64-bit values.
47989         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47990         pass to INTERNAL_VSYSCALL_NCS.
47991         (INLINE_VSYSCALL): Add 'long int' as return type to
47992         INTERNAL_VSYSCALL_NCS macro invocation.
47993         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47994         INTERNAL_VSYSCALL_NCS macro invocation.
47995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47997 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47999         [BZ #14496]
48000         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48001         Fix application of SIMD FP exception mask.
48003         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48004         mp_no from a power of two.
48005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48006         __mpexp_twomm1.  Use __pow_mp.
48008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48009         multiplication.
48011 2013-01-17  David S. Miller  <davem@davemloft.net>
48013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48015 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48017         [BZ #15023]
48018         * include/complex.h: Condition contents on [!_COMPLEX_H].
48019         (__kernel_casinhf): New prototype.
48020         (__kernel_casinh): Likewise.
48021         (__kernel_casinhl): Likewise.
48022         * math/Makefile (libm_calls): Add k_casinh.
48023         * math/k_casinh.c: New file.
48024         * math/k_casinhf.c: Likewise.
48025         * math/k_casinhl.c: Likewise.
48026         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48027         finite nonzero arguments.
48028         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48029         finite nonzero arguments.
48030         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48031         finite nonzero arguments.
48032         * math/s_casinh.c: Do not include <float.h>.
48033         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48034         * math/s_casinhf.c: Do not include <float.h>.
48035         (__casinhf): Move code for finite nonzero arguments to
48036         k_casinhf.c.
48037         * math/s_casinhl.c: Do not include <float.h>.
48038         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48039         redefine.
48040         (__casinhl): Move code for finite nonzero arguments to
48041         k_casinhl.c.
48042         * math/libm-test.inc (cacos_test): Add more tests.
48043         * sysdeps/i386/fpu/libm-test-ulps: Update.
48044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48046 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48048         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48049         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48050         [!HAVE_MREMAP]: Remove [defined linux] case.
48051         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48053 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48055         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48057 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48059         * elf/elf.h (R_386_SIZE32): New relocation.
48060         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48061         R_386_SIZE32.
48062         (elf_machine_rela): Likewise.
48063         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48064         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48066 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48068         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48069         (FP_FAST_FMA): Do not define.
48070         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48071         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48072         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48073         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48074         !_SOFT_FLOAT]: Likewise.
48075         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48076         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48077         value.
48078         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48079         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48080         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48081         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48082         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48083         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48084         file.
48086 2013-01-16  Andreas Schwab  <schwab@suse.de>
48088         [BZ #14327]
48089         * include/stdlib.h (__mktemp): Add declaration.
48090         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48091         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48093 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48095         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48096         definitions.
48097         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48098         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48099         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48100         definitions here.
48101         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48102         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48103         definitions.
48104         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48105         and ONE.
48106         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48107         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48108         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48109         definitions.
48110         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48111         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48112         definitions.
48113         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48115         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48117 2013-01-15  David S. Miller  <davem@davemloft.net>
48119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48120         trunc{,f} to libm-sysdep_routes.
48121         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48123         file.
48124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48126         file.
48127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48128         file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48131         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48132         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48133         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48134         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48135         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48136         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48139         nearbyint{,f} to libm-sysdep_routes.
48140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48142         New file.
48143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48144         file.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48146         New file.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48148         file.
48149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48151         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48152         file.
48153         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48154         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48155         file.
48156         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48157         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48158         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48160         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48161         libc_feholdexcept and libc_fesetenv.
48163 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48165         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48167 2013-01-14  David S. Miller  <davem@davemloft.net>
48169         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48170         (SPARC_ASM_VIS2_IFUNC): Likewise.
48171         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48173         use of 'siam' instruction.
48174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48175         Likewise.
48176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48177         Likewise.
48178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48179         Likewise.
48180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48185         file.
48186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48187         file.
48188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48189         file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48191         file.
48192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48197         new VIS2 routines.
48198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48201         Likewise.
48202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48207         routines to libm-sysdep_routines.
48208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48211         fdim/fdimf to libm-sysdep_routines.
48212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48213         file.
48214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48216         file.
48217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48220         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48221         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48222         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48223         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48225 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48227         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48228         to optimize copies.
48230         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48235         local variable MPTWO.
48236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48237         Likewise.
48239 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48241         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48242         GLOB_NOESCAPE.
48244 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48246         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48248 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48250         * manual/pattern.texi (glob_t): Document gl_flags.
48251         (glob64_t): Likewise.
48253 2013-01-11  David S. Miller  <davem@davemloft.net>
48255         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48256         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48257         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48258         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48259         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48260         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48261         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48262         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48263         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48264         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48265         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48266         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48267         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48269         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48270         sparc V9 rather than using V8 code.
48271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48274         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48275         Move to...
48276         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48277         Here.
48279 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48281         [BZ #14941]
48282         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48283         not in the main loop.
48284         * configure: Regenerated.
48286 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48288         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48289         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48290         to just #else.
48291         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48292         [!__GLIBC_HAVE_LONG_LONG] case.
48293         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48294         condition to just #else.
48295         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48296         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48297         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48298         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48299         unconditional.
48300         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48301         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48302         #elif condition to just #else.
48303         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48304         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48305         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48306         #elif condition to just #else.
48308 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48310         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48311         (EF_MIPS_ARCH_64): Fix value.
48312         (EF_MIPS_ARCH_32R2): New.
48313         (EF_MIPS_ARCH_64R2): New.
48315 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48317         * Makeconfig (+link-pie-before-libc): New.
48318         (+link-pie-after-libc): Likewise.
48319         (+link-pie-tests): Likewise.
48320         (+link-pie): Rewritten.
48321         (link-before-libc): Remove $(config-LDFLAGS).
48322         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48323         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48324         (config-LDFLAGS): Renamed to ...
48325         (rtld-LDFLAGS): This.
48326         (rtld-tests-LDFLAGS): New macro.
48327         (link-libc-rpath-link): Likewise.
48328         (link-libc-tests-rpath-link): Likewise.
48329         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48330         (link-libc): Prepand $(link-libc-rpath-link).
48331         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48332         (test-program-prefix): New macro.
48333         (test-via-rtld-prefix): Likewise.
48334         (test-program-cmd): Likewise.
48335         (host-test-program-cmd): Likewise.
48336         * Makefile ($(common-objpfx)testrun.sh): Replace
48337         $(run-program-prefix) with $(test-program-prefix).
48338         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48339         $(rtld-LDFLAGS).
48340         ($(common-objpfx)shlib.lds): Likewise.
48341         (build-module-helper): Likewise.
48342         ($(common-objpfx)format.lds): Likewise.
48343         * Rules (binaries-pie-tests): New.
48344         (binaries-pie-notests): Likewise.
48345         (binaries-pie): Rewritten.
48346         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48347         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48348         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48349         (make-test-out): Replace $(host-built-program-cmd) with
48350         $(host-test-program-cmd).
48351         * config.make.in (build-hardcoded-path-in-tests): New variable.
48352         * configure.in (--enable-hardcoded-path-in-tests): New configure
48353         option.
48354         (hardcoded_path_in_tests): New AC_SUBST.
48355         * configure: Regenerated.
48356         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48357         $(built-program-cmd) with $(test-program-cmd).
48358         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48359         (test_program_cmd): This.
48360         * elf/Makefile ($(objpfx)order.out): Run test with
48361         $(test-program-prefix).
48362         ($(objpfx)order2.out): Likewise.
48363         ($(objpfx)tst-initorder.out): Likewise.
48364         ($(objpfx)tst-initorder2.out): Likewise.
48365         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48366         $(test-program-cmd).
48367         ($(objpfx)tst-array1-static.out): Likewise.
48368         ($(objpfx)tst-array2.out): Likewise.
48369         ($(objpfx)tst-array3.out): Likewise.
48370         ($(objpfx)tst-array4.out): Likewise.
48371         ($(objpfx)tst-array5.out): Likewise.
48372         ($(objpfx)tst-array5-static.out): Likewise.
48373         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48374         $(test-program-cmd).
48375         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48376         $(run-program-prefix) with $(test-program-prefix).
48377         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48378         (test_program_prefix): This.
48379         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48380         $(run-program-prefix) with $(test-program-prefix).
48381         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48382         (test_program_prefix): This.
48383         * iconvdata/tst-tables.sh: Likewise.
48384         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48385         $(run-program-prefix) with $(test-program-prefix).
48386         ($(objpfx)tst-translit.out): Likewise.
48387         ($(objpfx)tst-gettext2.out): Likewise.
48388         ($(objpfx)tst-gettext4.out): Likewise.
48389         ($(objpfx)tst-gettext6.out): Likewise.
48390         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48391         (test_program_prefix): This.
48392         * intl/tst-gettext2.sh: Likewise.
48393         * intl/tst-gettext4.sh  Likewise.
48394         * intl/tst-gettext6.sh: Likewise.
48395         * intl/tst-translit.sh: Likewise.
48396         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48397         with $(test-program-cmd).
48398         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48399         $(run-program-prefix) with $(test-program-prefix).
48400         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48401         (test_program_prefix): This.
48402         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48403         $(run-program-prefix) with $(test-program-prefix).
48404         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48405         (test_program_prefix): This.
48406         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48407         * posix/Makefile ($(objpfx)globtest.out): Replace
48408         $(run-via-rtld-prefix) and $(test-wrapper) with
48409         $(test-program-prefix) and $(test-via-rtld-prefix).
48410         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48411         $(test-program-prefix).
48412         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48413         $(host-test-program-cmd).
48414         (tst-spawn-ARGS): Likewise.
48415         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48416         $(test-program-prefix).
48417         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48418         (test_via_rtld_prefix): This.
48419         (test_wrapper): Renamed to ...
48420         (test_program_prefix): This.
48421         (run_program_prefix): Replaced by test_program_prefix.
48422         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48423         (test_program_prefix): This.
48424         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48425         with $(host-test-program-cmd).
48426         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48427         $(run-program-prefix) with $(test-program-prefix).
48428         ($(objpfx)tst-printf.out): Likewise.
48429         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48430         $(test-program-cmd).
48431         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48432         (test_program_prefix): This.
48433         * stdio-common/tst-unbputc.sh: Likewise.
48434         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48435         $(run-program-prefix) with $(test-program-prefix).
48436         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48437         (test_program_prefix): This.
48438         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48439         $(built-program-cmd) with $(test-program-cmd).
48441 2013-01-11  Andreas Jaeger  <aj@suse.de>
48443         [BZ #15003]
48444         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48445         value. Sync with Linux 3.7.
48447 2013-01-10  David S. Miller  <davem@davemloft.net>
48449         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48450         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48451         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48453 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48455         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48456         never set.
48457         * configure: Regenerated.
48459 2013-01-10  David S. Miller  <davem@davemloft.net>
48461         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48462         sparc V9 rather than using V8 code.
48463         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48464         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48466 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48468         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48469         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48470         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48471         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48472         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48473         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48474         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48475         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48476         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48477         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48478         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48479         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48480         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48481         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48482         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48483         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48484         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48485         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48486         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48487         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48488         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48489         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48490         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48491         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48492         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48493         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48494         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48496 2013-01-10  David S. Miller  <davem@davemloft.net>
48498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48500 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48502         * posix/Makefile (tests-static): New variable.
48503         (tests): Add $(tests-static).
48504         (tst-exec-static-ARGS): New variable.
48505         (tst-spawn-static-ARGS): Likewise.
48506         * posix/tst-exec-static.c: New file.
48507         * posix/tst-spawn-static.c: Likewise.
48508         * posix/tst-exec.c: Support run directly.
48509         * posix/tst-spawn.c: Likewise.
48511 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48513         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48514         long.
48515         * math/bits/mathcalls.h (llrint): Likewise.
48516         (llround): Likewise.
48517         * stdlib/stdlib.h (struct drand48_data): Likewise.
48518         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48519         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48520         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48521         Likewise.
48522         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48523         Likewise.
48524         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48525         (elf_greg_t): Likewise.
48526         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48527         (__jmp_buf): Likewise.
48528         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48529         definitions.
48530         (llrint): Likewise, for all definitions.
48531         (llrintl): Likewise.
48533         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48534         Remove [__GNUC__] condition.
48535         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48536         condition to just [__USE_ISOC99].
48537         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48539 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48541         [BZ #14200]
48542         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48543         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48544         defined.
48545         (_POSIX_V6_ILP32_OFF32): Likewise.
48546         (_XBS5_ILP32_OFF32): Likewise.
48547         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48548         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48550 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48552         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48555         doubles __mpexp_twomm1.  Adjust usage.
48556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48557         Remove.
48559 2013-01-10  Andreas Schwab  <schwab@suse.de>
48561         [BZ #14964]
48562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48563         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48565 2013-01-09  David S. Miller  <davem@davemloft.net>
48567         [BZ #15003]
48568         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48569         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48570         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48571         (TCP_FASTOPEN): Define.
48572         (tcp_repair_opt): New structure.
48573         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48574         enum values.
48575         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48576         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48577         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48578         (tcp_cookie_transactions): New structure.
48580 2013-01-09  Anton Blanchard  <anton@samba.org>
48582         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48583         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48584         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48587 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48589         * include/features.h (__USE_ANSI): Remove.
48591 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48593         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48595         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48597 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48599         * sysdeps/s390/fpu/libm-test-ulps: Update.
48601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48603         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48604         (__acr): Likewise.
48605         (__cpy): Likewise.
48606         (norm): Likewise.
48607         (denorm): Likewise.
48608         (__mp_dbl): Likewise.
48609         (__dbl_mp): Likewise.
48610         (add_magnitudes): Likewise.
48611         (sub_magnitudes): Likewise.
48612         (__add): Likewise.
48613         (__sub): Likewise.
48614         (__mul): Likewise.
48615         (__inv): Likewise.
48616         (__dvd): Likewise.
48617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48618         (__acr): Likewise.
48619         (__cpy): Likewise.
48620         (norm): Likewise.
48621         (denorm): Likewise.
48622         (__mp_dbl): Likewise.
48623         (__dbl_mp): Likewise.
48624         (add_magnitudes): Likewise.
48625         (sub_magnitudes): Likewise.
48626         (__add): Likewise.
48627         (__sub): Likewise.
48628         (__mul): Likewise.
48629         (__inv): Likewise.
48630         (__dvd): Likewise.
48631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48632         (__acr): Likewise.
48633         (__cpy): Likewise.
48634         (norm): Likewise.
48635         (denorm): Likewise.
48636         (__mp_dbl): Likewise.
48637         (__dbl_mp): Likewise.
48638         (add_magnitudes): Likewise.
48639         (sub_magnitudes): Likewise.
48640         (__add): Likewise.
48641         (__sub): Likewise.
48642         (__mul): Likewise.
48643         (__inv): Likewise.
48644         (__dvd): Likewise.
48646 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48648         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48649         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48650         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48651         2 && __USE_EXTERN_INLINES]: Likewise.
48653 2013-01-08  Andreas Jaeger  <aj@suse.de>
48655         [BZ# 14985]
48656         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48657         Remove.
48658         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48659         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48661 2013-01-07  Anton Blanchard  <anton@samba.org>
48663         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48664         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48665         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48666         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48667         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48668         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48669         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48670         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48672         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48673         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48676         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48678         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48679         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48681         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48684         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48685         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48686         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48687         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48688         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48689         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48691         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48692         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48693         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48695         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48697         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48698         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48699         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48701         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48703         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48705         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48707 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48709         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48710         (__MALLOC_PMT): Likewise.
48711         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48712         [__GNUC__], only on [_LIBC].
48713         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48714         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48715         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48716         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48717         forward declaration.
48718         (realloc_hook_ini): Likewise.
48719         (memalign_hook_ini): Likewise.
48720         (__libc_memalign): Do not use __MALLOC_PMT in variable
48721         declaration.
48722         (__libc_valloc): Likewise.
48723         (__libc_pvalloc): Likewise.
48724         (__libc_calloc): Likewise.
48725         (__posix_memalign): Likewise.
48727         [BZ #14996]
48728         * math/s_casinh.c: Include <float.h>.
48729         (__casinh): Do not do computation with squaring and square root
48730         for large arguments.
48731         * math/s_casinhf.c: Include <float.h>.
48732         (__casinhf): Do not do computation with squaring and square root
48733         for large arguments.
48734         * math/s_casinhl.c: Include <float.h>.
48735         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48736         (__casinhl): Do not do computation with squaring and square root
48737         for large arguments.
48738         * math/libm-test.inc (casin_test): Add more tests.
48739         (casinh_test): Likewise.
48740         * sysdeps/i386/fpu/libm-test-ulps: Update.
48741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48743 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48745         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48746         (__x86_64_raw_data_cache_size): Likewise.
48747         (__x86_64_data_cache_size_half): Likewise.
48748         (__x86_64_raw_data_cache_size_half): Likewise.
48749         (__x86_64_shared_cache_size): Likewise.
48750         (__x86_64_raw_shared_cache_size): Likewise.
48751         (__x86_64_shared_cache_size_half): Likewise.
48752         (__x86_64_raw_shared_cache_size_half): Likewise.
48753         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48754         to ...
48755         (__x86_data_cache_size): This.
48756         (__x86_64_raw_data_cache_size): Renamed to ...
48757         (__x86_raw_data_cache_size): This.
48758         (__x86_64_data_cache_size_half): Renamed to ...
48759         (__x86_data_cache_size_half): This.
48760         (__x86_64_raw_data_cache_size_half): Renamed to ...
48761         (__x86_raw_data_cache_size_half): This.
48762         (__x86_64_shared_cache_size): Renamed to ...
48763         (__x86_shared_cache_size): This.
48764         (__x86_64_raw_shared_cache_size): Renamed to ...
48765         (__x86_raw_shared_cache_size): This.
48766         (__x86_64_shared_cache_size_half): Renamed to ...
48767         (__x86_shared_cache_size_half): This.
48768         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48769         (__x86_raw_shared_cache_size_half): This.
48770         * sysdeps/x86_64/memcpy.S: Updated.
48771         * sysdeps/x86_64/memset.S: Likewise.
48772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48773         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48776 2013-01-04  David S. Miller  <davem@davemloft.net>
48778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48780 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48782         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48783         1 to avoid redefinition warning.
48784         (__USE_GNU): Don't define.
48785         (init_signaling_nan): Protoize.
48787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48789 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48791         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48793         (__cpymn): Likewise.
48794         (norm): Remove commented code.
48795         (denorm): Likewise.
48796         (__mp_dbl): Likewise.
48797         (__inv): Likewise.
48798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48799         (__cpymn): Likewise.
48800         (norm): Remove commented code.
48801         (denorm): Likewise.
48802         (__mp_dbl): Likewise.
48803         (__inv): Likewise.
48805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48806         mp_no value for 1.0 and 2.0.
48807         (norm): Use RADIXI instead of radixi.d.
48808         (denorm): Likewise.
48809         (__mul): Use 0.0 instead of zero.d.
48810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48811         mp_no value for 1.0 and 2.0.
48812         (norm): Use RADIXI instead of radixi.d.
48813         (denorm): Likewise.
48814         (__mul): Use 0.0 instead of zero.d.
48816 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48818         [BZ #14994]
48819         * math/s_casinh.c (__casinh): Reduce finite argument to first
48820         quadrant then set signs of results at the end.
48821         * math/s_casinhf.c (__casinhf): Likewise.
48822         * math/s_casinhl.c (__casinhl): Likewise.
48823         * math/libm-test.inc (casin_test): Add more tests.
48824         (casinh_test): Likewise.
48825         * sysdeps/i386/fpu/libm-test-ulps: Update.
48826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48828 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48830         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48832         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48834         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48835         declarations.
48836         (denorm): Likewise.
48837         (__mp_dbl): Likewise.
48838         (__inv): Likewise.
48840         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48841         and adjust the header comment.
48843         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48844         variable name from declaration.
48846 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48849         Initialize COMMON_CPUID_INDEX_7 element.
48850         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48851         (CPUID_RTM): Likewise.
48852         (HAS_RTM): Likewise.
48853         (COMMON_CPUID_INDEX_7): New enum.
48855 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48857         [BZ #14981]
48858         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48859         size is zero, record memory as freed.
48861 2013-01-03  Andreas Jaeger  <aj@suse.de>
48863         * po/ia.po: Add new Interlingua translation.
48865 2012-01-03  Allan McRae  <allan@archlinux.org>
48867         * locale/programs/localedef.c: Fix description of '--posix' flag.
48869 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48871         * NEWS: Update dates in second copyright notice.
48872         * README: Update copyright dates in example.
48873         * manual/libc.texinfo: Update copyright dates.
48874         * scripts/test-installation.pl: Update copyright date in --version
48875         output.
48877         * hurd/ctty-input.c: Fix copyright notice formatting.
48878         * hurd/ctty-output.c: Likewise.
48879         * hurd/dtable.c: Likewise.
48880         * hurd/hurd-raise.c: Likewise.
48881         * hurd/hurdprio.c: Likewise.
48882         * hurd/msgportdemux.c: Likewise.
48883         * misc/sys/file.h: Likewise.
48884         * misc/sys/ioctl.h: Likewise.
48885         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48886         * sysdeps/mach/hurd/chdir.c: Likewise.
48887         * sysdeps/mach/hurd/fchdir.c: Likewise.
48888         * sysdeps/mach/hurd/rename.c: Likewise.
48889         * sysdeps/mach/hurd/rmdir.c: Likewise.
48890         * sysdeps/mach/hurd/seekdir.c: Likewise.
48891         * sysdeps/mach/hurd/setsid.c: Likewise.
48892         * sysdeps/posix/wait3.c: Likewise.
48894         * All files with FSF copyright notices: Update copyright dates
48895         using scripts/update-copyrights.
48896         * intl/plural.c: Regenerated.
48897         * locale/programs/charmap-kw.h: Likewise.
48898         * locale/programs/locfile-kw.h: Likewise.
48900 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48902         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48903         four values.
48905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48906         calculation loop and add branch prediction.
48908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48909         check access beyond bounds of m1np.
48911         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48912         MPTWO.
48913         (__inv): Remove local variable MPTWO to use the global
48914         constant.
48915         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48917         variable MPTWO.
48918         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48919         MP3HALFS static const.
48921 2013-01-01  David S. Miller  <davem@davemloft.net>
48923         * po/ca.po: Update from translation team.
48925 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48927         * scripts/update-copyrights: New file.
48928         * Makeconfig: Reformat copyright notice.
48929         * ctype/ctype.h: Likewise.
48930         * debug/swprintf_chk.c: Likewise.
48931         * elf/dl-cache.c: Likewise.
48932         * elf/dl-debug.c: Likewise.
48933         * elf/dl-object.c: Likewise.
48934         * grp/initgroups.c: Likewise.
48935         * hurd/Makefile: Likewise.
48936         * hurd/hurd/signal.h: Likewise.
48937         * hurd/hurdfault.c: Likewise.
48938         * hurd/hurdioctl.c: Likewise.
48939         * hurd/hurdlookup.c: Likewise.
48940         * hurd/intr-msg.c: Likewise.
48941         * iconv/gconv_open.c: Likewise.
48942         * libio/swprintf.c: Likewise.
48943         * locale/lc-ctype.c: Likewise.
48944         * locale/nl_langinfo.c: Likewise.
48945         * mach/Machrules: Likewise.
48946         * mach/Makefile: Likewise.
48947         * malloc/obstack.h: Likewise.
48948         * manual/Makefile: Likewise.
48949         * manual/tsort.awk: Likewise.
48950         * misc/bits/stab.def: Likewise.
48951         * nis/nis_print_group_entry.c: Likewise.
48952         * nis/nis_table.c: Likewise.
48953         * nis/nss_compat/compat-pwd.c: Likewise.
48954         * nis/nss_compat/compat-spwd.c: Likewise.
48955         * po/Makefile: Likewise.
48956         * posix/fnmatch.c: Likewise.
48957         * posix/regex.h: Likewise.
48958         * resolv/Makefile: Likewise.
48959         * resolv/nss_dns/dns-network.c: Likewise.
48960         * resolv/res_hconf.c: Likewise.
48961         * scripts/gen-sorted.awk: Likewise.
48962         * soft-fp/soft-fp.h: Likewise.
48963         * stdio-common/printf.h: Likewise.
48964         * stdlib/monetary.h: Likewise.
48965         * stdlib/random.c: Likewise.
48966         * stdlib/random_r.c: Likewise.
48967         * sysdeps/generic/Makefile: Likewise.
48968         * sysdeps/gnu/Makefile: Likewise.
48969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48971         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48976         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48977         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48979         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48980         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48981         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48982         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48983         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48985         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48987         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48989         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48990         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48991         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48992         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48997         * sysdeps/mach/hurd/errnos.awk: Likewise.
48998         * sysdeps/mach/hurd/fork.c: Likewise.
48999         * sysdeps/mach/hurd/getcwd.c: Likewise.
49000         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49001         * sysdeps/mach/hurd/mmap.c: Likewise.
49002         * sysdeps/mach/hurd/utimes.c: Likewise.
49003         * sysdeps/mach/hurd/xmknod.c: Likewise.
49004         * sysdeps/posix/profil.c: Likewise.
49005         * sysdeps/posix/readdir_r.c: Likewise.
49006         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49007         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49008         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49009         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49011         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49012         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49013         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49015         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49016         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49017         * sysdeps/pthread/lio_listio.c: Likewise.
49018         * sysdeps/sparc/dl-procinfo.h: Likewise.
49019         * sysdeps/unix/i386/sysdep.S: Likewise.
49020         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49021         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49022         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49023         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49025         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49026         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49027         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49028         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49029         * sysdeps/wordsize-32/divdi3.c: Likewise.
49030         * time/sys/time.h: Likewise.
49031         * wcsmbs/Makefile: Likewise.
49033 2013-01-01  David S. Miller  <davem@davemloft.net>
49035         * po/fr.po: Update from translation team.
49037         * catgets/gencat.c: Update copyright year.
49038         * csu/version.c: Likewise.
49039         * debug/catchsegv.sh: Likewise.
49040         * debug/pcprofiledump.c: Likewise.
49041         * debug/xtrace.sh: Likewise.
49042         * elf/ldconfig.c: Likewise.
49043         * elf/ldd.bash.in: Likewise.
49044         * elf/pldd.c: Likewise.
49045         * elf/sotruss.ksh: Likewise.
49046         * elf/sprof.c: Likewise.
49047         * iconv/iconv_prog.c: Likewise.
49048         * iconv/iconvconfig.c: Likewise.
49049         * locale/programs/locale.c: Likewise.
49050         * locale/programs/localedef.c: Likewise.
49051         * login/programs/pt_chown.c: Likewise.
49052         * malloc/memusage.sh: Likewise.
49053         * malloc/memusagestat.c: Likewise.
49054         * malloc/mtrace.pl: Likewise.
49055         * nscd/nscd.c: Likewise.
49056         * nss/getent.c: Likewise.
49057         * nss/makedb.c: Likewise.
49058         * posix/getconf.c: Likewise.
49060 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49062         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49063         numbers.
49065 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49067         * math/bits/mathcalls.h (modf): Use __nonnull.
49069 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49071         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49072         (split): Use macro CN instead of the bare value.
49073         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49074         could be used.
49075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49076         instead of the bare value.
49077         (power1): Likewise.
49079 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49082         __ATAN_TWOM.
49083         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49085         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49086         their values.
49087         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49088         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49089         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49090         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49092 2012-12-28  Andreas Jaeger  <aj@suse.de>
49094         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49095         values are from Linux 3.7.
49097         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49098         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49100 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49102         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49103         TRUE case.
49105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49106         (norm): Likewise.
49107         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49108         variables with preprocessor constants.
49109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49110         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49111         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49113 2012-12-27  Bruno Haible  <bruno@clisp.org>
49115         [BZ #14317]
49116         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49117         only if needed.
49119 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49122         and use variable directly.
49123         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49125         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49126         MPONE.
49127         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49128         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49129         variable MPONE.
49130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49132         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49133         include directive.  Remove local variable MPONE.
49134         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49136         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49138 2012-12-25  David S. Miller  <davem@davemloft.net>
49140         * version.h (RELEASE): Set to "development".
49141         (VERSION): Set to "2.17.90".
49142         * NEWS: Add 2.18 section.
49144 2012-12-21  David S. Miller  <davem@davemloft.net>
49146         * po/hr.po: Update from translation team.
49148 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49150         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49152 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49154         * NEWS:  Mention new memcpy for MIPS.
49156 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49158         * manual/contrib.texi (Contributors): Spelling correction.
49160 2012-12-15  David S. Miller  <davem@davemloft.net>
49162         * po/ru.po: Update from translation team.
49164 2012-12-13  David S. Miller  <davem@davemloft.net>
49166         * NEWS: Mention IFUNC testsuite enhancements.
49168         * po/pl.po: Update from translation team.
49169         * po/bg.po: Likewise.
49171         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49172         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49174 2012-12-11  David S. Miller  <davem@davemloft.net>
49176         * po/sv.po: Update from translation team.
49178         * po/vi.po: Update from translation team.
49180         * po/cs.po: Update from translation team.
49182         * po/de.po: Update from translation team.
49183         * po/eo.po: Likewise.
49184         * po/nl.po: Likewise.
49186 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49188         [BZ #14246]
49189         * manual/argp.texi (Argp Helper Functions): Move node to follow
49190         Argp Parsing State.
49192         [BZ #14872]
49193         * manual/conf.texi (Limits on File System Capacity): Mention if
49194         terminating null is included in the max size.
49196 2012-12-10  Andreas Jaeger  <aj@suse.de>
49198         * po/cs.po: Update from translation team.
49200 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49202         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49203         void pointer and cast to uintptr_t.
49204         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49205         path.
49206         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49207         * sysdeps/s390/s390-64/memset.S: Likewise.
49209 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49211         [BZ #14833]
49212         * menual/message.texi (Message Translation): Fix typos.
49213         (Helper programs for gettext): Likewise.
49215 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49217         [BZ #14898]
49218         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49219         Change to -1.
49221 2012-12-07  David S. Miller  <davem@davemloft.net>
49223         * po/libc.pot: Update.
49225 2012-12-07  Richard Henderson  <rth@redhat.com>
49227         [BZ #10114]
49228         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49229         normal/normal case to before the switch.
49230         (_FP_DIV): Likewise.
49232 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49233             Mike Frysinger  <vapier@gentoo.org>
49235         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49236         check for __NR_fadvise64_64.
49238 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49240         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49241         0, not just to plain "0" as a statement.
49242         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49243         with cw.
49245 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49247         * NEWS: Use sourceware.org in Bugzilla URL.
49249 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49252         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49254         * stdio-common/tst-put-error.c (do_test): Add newline to the
49255         padded test to ensure flush.
49257 2012-12-05  Jeff Law  <law@redhat.com>
49259         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49261 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49263         * README: Don't refer to ports add-on as distributed separately.
49264         Mention AArch64 in list of systems supported in the ports add-on.
49266         * LICENSES: Add more non-FSF copyright and license notices.
49268         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49269         ((unused)).
49271         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49273         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49274         10000 as width of padded output.
49276 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49278         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49281         variable LX with __attribute__ ((unused)).
49282         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49283         Likewise.
49284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49287         with __attribute__ ((unused)).
49289 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49291         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49293 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49295         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49296         (CFLAGS-nldbl-acos.c): New variable.
49297         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49298         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49299         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49300         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49301         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49302         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49303         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49304         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49305         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49306         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49307         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49308         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49309         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49310         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49311         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49312         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49313         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49314         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49315         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49316         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49317         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49318         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49319         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49320         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49321         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49322         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49323         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49324         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49325         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49326         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49327         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49328         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49329         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49330         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49331         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49332         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49333         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49334         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49335         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49336         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49337         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49338         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49339         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49340         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49341         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49342         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49343         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49344         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49345         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49346         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49347         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49348         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49349         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49350         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49351         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49352         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49353         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49354         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49355         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49356         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49357         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49358         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49359         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49360         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49361         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49362         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49363         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49364         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49365         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49366         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49367         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49368         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49369         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49370         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49371         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49372         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49373         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49374         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49375         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49376         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49377         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49378         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49379         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49380         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49381         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49382         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49383         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49384         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49385         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49386         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49387         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49388         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49389         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49390         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49391         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49392         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49393         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49396         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49398         [BZ #14914]
49399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49400         whole low double instead of just low 47 bits when splitting values
49401         into two parts.
49403 2012-12-03  Allan McRae  <allan@archlinux.org>
49405         * manual/stdio.texi (Predefined Printf Handlers): Remove
49406         @hsep and @vsep usage.
49408 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49410         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49411         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49413 2012-12-03  Jeff Law  <law@redhat.com>
49415         * time/sys/time.h (settimeofday): Do not mark TV argument
49416         as __nonnull.
49418 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49420         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49421         when currently writing and seek to current position when not.
49422         * libio/Makefile (tests): Remove bug-fclose1.
49423         * libio/bug-fclose1.c: Delete.
49425 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49427         * manual/arith.texi (feenableexcept): Fix typo.
49428         (fedisableexcept): Likewise.
49430 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49432         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49433         second, differently-typed declaration, rather than a cast.
49435 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49437         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49438         * include/rpc/svc.h: ... here.
49440 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49442         [BZ #13013]
49443         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49444         depending n and resplen2 to catch cases where answer
49445         equals answerp2.
49447 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49449         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49450         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49452 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49456 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49458         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49460 2012-11-28  Jeff Law  <law@redhat.com>
49462         [BZ #13761]
49463         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49464         dataset_temporary.  Track alloca usage into alloca_used.
49465         If dataset is large allocate and release it via malloc/free.
49467 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49469         [BZ #14197]
49470         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49472 2012-11-28  David S. Miller  <davem@davemloft.net>
49474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49476 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49478         [BZ #14803]
49479         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49480         of pi/2 rounded to nearest to 64 bits.
49481         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49482         nearest to 64 bits.
49483         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49484         bits.
49486 2012-11-28  Jeff Law <law@redhat.com>
49487             Martin Osvald <mosvald@redhat.com>
49489         [BZ #14889]
49490         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49491         * sunrpc/svc.c: Include time.h.
49492         (__svc_accept_failed): New function.
49493         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49494         any reason other than EINTR, call __svc_accept_failed.
49495         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49496         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49498 2012-11-28  Andreas Schwab  <schwab@suse.de>
49500         * scripts/abilist.awk: Also handle indirect functions in .opd
49501         section.
49503 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49505         [BZ #13881]
49506         * sysdeps/x86/fpu/powl_helper.c: New file.
49507         * sysdeps/x86/fpu/Makefile: Likewise.
49508         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49509         (p3): New object.
49510         (__ieee754_powl): Use __powl_helper for finite arguments except
49511         integer exponents below 8.
49512         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49513         (p3): New object.
49514         (__ieee754_powl): Use __powl_helper for finite arguments except
49515         integer exponents below 8.
49516         * math/libm-test.inc (pow_test): Add more tests and enable some
49517         previously disabled tests.
49518         * sysdeps/i386/fpu/libm-test-ulps: Update.
49519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49521 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49522             Carlos O'Donell  <carlos_odonell@mentor.com>
49524         * nss/makedb.c (is_prime): Assert that input is odd and greater
49525         than 4.  Note that fact in a comment too.
49526         (next_prime): Add 4 to input.
49528 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49530         [BZ #11741]
49531         * libio/Makefile (tests): Add test case tst-fwrite-error.
49532         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49533         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49534         * libio/tst-fwrite-error.c: New test case.
49536 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49538         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49539         before casting to void *.
49540         * include/libc-internal.h (__pointer_type): New macro.
49541         (__integer_if_pointer_type_sub): Likewise.
49542         (__integer_if_pointer_type): Likewise.
49543         (cast_to_integer): Likewise.
49544         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49545         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49546         before casting to atomic64_t.
49547         (atomic_exchange_acq): Likewise.
49548         (__arch_exchange_and_add_body): Likewise.
49549         (__arch_add_body): Likewise.
49550         (atomic_add_negative): Likewise.
49551         (atomic_add_zero): Likewise.
49553 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49555         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49556         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49557         (add_fdes): Likewise.
49558         (linear_search_fdes): Likewise.
49559         (binary_search_unencoded_fdes): Likewise.
49561 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49563         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49565 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49567         * configure.in: Autodetect C++ header directories.
49568         * configure: Regenerated.
49570 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49572         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49574 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49578 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49580         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49581         LDBL_MANT_DIG == 106]: Disable some tests.
49582         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49583         Likewise.
49584         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49585         Likewise.
49587         [BZ #14871]
49588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49589         input for small inputs.  Return +/- pi/2 for large inputs.
49590         * math/libm-test.inc (atan_test): Add more tests.
49592         * sysdeps/generic/unwind-dw2-fde-glibc.c
49593         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49594         __attribute__ ((unused)).
49596         [BZ #14645]
49597         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49598         x * y if x and y are nonzero and z is zero.
49600         [BZ #14811]
49601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49602         nonzero exponents with absolute value below 0x1p-117 to +/-
49603         0x1p-117.
49605         [BZ #14869]
49606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49607         up arguments below 2**-450, not just those below 2**-500.
49608         * math/libm-test.inc (hypot_test): Add another test.
49610         [BZ #14868]
49611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49612         Return a+b for ratio over 2**120, not 2**60.
49613         * math/libm-test.inc (hypot_test): Add another test.
49615         * math/libm-test.inc (clog_test): Use
49616         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49617         (clog10_test): Likewise.
49619         [BZ #6778]
49620         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49622 2012-11-22  Andreas Schwab  <schwab@suse.de>
49624         * sysdeps/i386/fpu/libm-test-ulps: Update.
49626 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49628         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49629         printf output with newline.
49631 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49633         [BZ #14865]
49634         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49635         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49636         -z nodlopen, -z initfirst and -z execstack support.
49637         * configure: Regenerated.
49639         * elf/elf.h (DF_1_NODIRECT): New macro.
49640         (DF_1_IGNMULDEF): Likewise.
49641         (DF_1_NOKSYMS): Likewise.
49642         (DF_1_NOHDR): Likewise.
49643         (DF_1_EDITED): Likewise.
49644         (DF_1_NORELOC): Likewise.
49645         (DF_1_SYMINTPOSE): Likewise.
49646         (DF_1_GLOBAUDIT): Likewise.
49647         (DF_1_SINGLETON): Likewise.
49648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49649         DT_1_SUPPORTED_MASK bits.
49650         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49652 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49654         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49656 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49658         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49659         macro.
49661         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49662         (sendmmsg): Move declarations...
49663         * socket/sys/socket.h: ... here.
49664         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49665         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49666         include it from...
49667         * socket/recvmmsg.c: ... this new file.
49668         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49669         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49670         definition of __sendmmsg hidden.
49671         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49672         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49673         Move ENOSYS stub into and include it from...
49674         * socket/sendmmsg.c: ... this new file.
49675         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49676         (sysdep_routines): Move recvmmsg and sendmmsg...
49677         * socket/Makefile (routines): ... here.
49678         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49679         (GLIBC_PRIVATE): Add __sendmmsg.
49680         * include/sys/socket.h (__sendmmsg): Add declarations.
49681         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49682         sendmmsg.
49684 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49687         variable I1 with __attribute__ ((unused)).
49688         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49690 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49692         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49693         DUMMY variables with __attribute__ ((unused)).
49695         * bits/byteswap.h: Include <bits/types.h>.
49696         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49698 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49700         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49701         string_t.  Do not manually set errno.
49702         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49703         length with __strnlen.  Make sure to both set errno and return it on
49704         failure.
49706 2012-11-19  David S. Miller  <davem@davemloft.net>
49708         With help from Joseph Myers.
49709         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49710         very large arguments properly.
49711         * math/libm-test.inc (atan_test): New tests.
49712         (atan2_test): New tests.
49713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49716 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49718         [BZ #14856]
49719         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49720         Define to 3.
49722         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49723         [POSIX] (EADDRNOTAVAIL): Likewise.
49724         [POSIX] (EAFNOSUPPORT): Likewise.
49725         [POSIX] (EALREADY): Likewise.
49726         [POSIX] (ECONNABORTED): Likewise.
49727         [POSIX] (ECONNREFUSED): Likewise.
49728         [POSIX] (ECONNRESET): Likewise.
49729         [POSIX] (EDESTADDRREQ): Likewise.
49730         [POSIX] (EDQUOT): Likewise.
49731         [POSIX] (EHOSTUNREACH): Likewise.
49732         [POSIX] (EIDRM): Likewise.
49733         [POSIX] (EISCONN): Likewise.
49734         [POSIX] (ELOOP): Likewise.
49735         [POSIX] (EMULTIHOP): Likewise.
49736         [POSIX] (ENETDOWN): Likewise.
49737         [POSIX] (ENETUNREACH): Likewise.
49738         [POSIX] (ENOBUFS): Likewise.
49739         [POSIX] (ENODATA): Likewise.
49740         [POSIX] (ENOLINK): Likewise.
49741         [POSIX] (ENOMSG): Likewise.
49742         [POSIX] (ENOPROTOOPT): Likewise.
49743         [POSIX] (ENOSR): Likewise.
49744         [POSIX] (ENOSTR): Likewise.
49745         [POSIX] (ENOTCONN): Likewise.
49746         [POSIX] (ENOTSOCK): Likewise.
49747         [POSIX] (EOPNOTSUPP): Likewise.
49748         [POSIX] (EOVERFLOW): Likewise.
49749         [POSIX] (EPROTO): Likewise.
49750         [POSIX] (EPROTONOSUPPORT): Likewise.
49751         [POSIX] (EPROTOTYPE): Likewise.
49752         [POSIX] (ESTALE): Likewise.
49753         [POSIX] (ETIME): Likewise.
49754         [POSIX] (ETXTBSY): Likewise.
49755         [POSIX] (EWOULDBLOCK): Likewise.
49756         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49757         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49758         [POSIX] (SEEK_CUR): Likewise.
49759         [POSIX] (SEEK_END): Likewise.
49760         [POSIX || UNIX98] (mode_t): Do not require.
49761         [POSIX] (off_t): Likewise.
49762         [POSIX] (pid_t): Likewise.
49763         [POSIX] (sys/stat.h): Do not allow header.
49764         [POSIX] (unistd.h): Likewise.
49765         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49766         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49767         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49768         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49769         require.
49770         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49771         sigevent): Specify elements.
49772         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49773         entry.
49774         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49775         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49777         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49778         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49779         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49780         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49781         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49782         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49783         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49784         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49785         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49786         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49787         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49788         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49789         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49791         Likewise.
49792         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49793         Likewise.
49794         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49795         Likewise.
49796         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49797         Likewise.
49798         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49799         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49800         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49801         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49802         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49803         Specify lower bound on value.
49804         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49805         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49806         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49807         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49808         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49809         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
49810         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49811         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49812         value.
49813         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49814         as optional.
49815         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49816         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49817         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49818         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49819         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49820         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49821         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49822         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49823         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49824         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49825         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49826         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49827         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49828         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49829         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49831         entry.
49832         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49833         optional.
49834         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49835         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49836         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49837         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49838         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49840         Likewise.
49841         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49842         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49843         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49844         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49845         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49846         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49848         as optional.
49849         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49850         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49851         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49852         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49853         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49854         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49855         specify as optional.
49856         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49857         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49858         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49859         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49860         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49861         [XPG3] (NL_LANGMAX): Likewise.
49862         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49863         [POSIX || XPG3] (NL_NMAX): Likewise.
49864         [POSIX || XPG3] (NL_SETMAX): Likewise.
49865         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49866         [XPG3] (NZERO): Likewise.
49867         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49868         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49869         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49870         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49871         (REG_ERANGE): Expect.
49872         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49873         optional-constant.
49874         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49875         Use (void) in prototype.
49876         [POSIX] (*_t): Allow.
49877         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49878         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49879         (WRDE_BADVAL): Expect.
49881         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49882         expect.
49883         [XPG3 || XPG4] (O_RSYNC): Likewise.
49884         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49885         Likewise.
49886         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49887         [XPG3 || XPG4] (sigqueue): Likewise.
49888         [XPG3 || XPG4] (sigtimedwait): Likewise.
49889         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49890         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49891         [XPG3 || XPG4] (vsnprintf): Likewise.
49892         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49893         Likewise.
49894         [XPG3 || XPG4] (blksize_t): Likewise.
49895         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49896         Likewise.
49897         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49898         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49899         [XPG3 || XPG4] (struct itimerspec): Likewise.
49900         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49901         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49902         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49903         [XPG3 || XPG4] (clockid_t): Likewise.
49904         [XPG3 || XPG4] (timer_t): Likewise.
49905         [XPG3 || XPG4] (clock_getres): Likewise.
49906         [XPG3 || XPG4] (clock_gettime): Likewise.
49907         [XPG3 || XPG4] (clock_settime): Likewise.
49908         [XPG3 || XPG4] (nanosleep): Likewise.
49909         [XPG3 || XPG4] (timer_create): Likewise.
49910         [XPG3 || XPG4] (timer_delete): Likewise.
49911         [XPG3 || XPG4] (timer_gettime): Likewise.
49912         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49913         [XPG3 || XPG4] (timer_settime): Likewise.
49914         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49915         [XPG3 || XPG4] (getlogin_r): Likewise.
49916         [XPG3 || XPG4] (pread): Likewise.
49917         [XPG3 || XPG4] (pthread_atfork): Likewise.
49918         [XPG3 || XPG4] (pwrite): Likewise.
49920         [BZ #14835]
49921         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49922         <bits/siginfo.h>.
49924 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49926         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49927         finalizing MALLSTREAM.
49929         * sysdeps/mach/hurd/syncfs.c: New file.
49931 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49933         [BZ #14719]
49934         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49935         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49936         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49937         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49938         (_nss_dns_gethostbyname4_r): Likewise.
49939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49940         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49942 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49944         [BZ #13763]
49945         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49947 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49949         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49950         * elf/cache.c (print_entry): Print ",AArch64" for
49951         FLAG_AARCH64_LIB64
49953         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49954         * elf/cache.c (print_entry): Print ",hard-float" for
49955         FLAG_ARM_LIBHF.
49957 2012-11-18  David S. Miller  <davem@davemloft.net>
49959         With help from Joseph Myers.
49960         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49961         cutoff to 2**-13.
49962         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49963         cutoff to 2**-25.
49964         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49965         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49966         small.
49967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49968         * math/libm-test.inc (y0_test): New tests.
49969         (y1_test): New tests.
49970         * sysdeps/i386/fpu/libm-test-ulps: Update.
49971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49974 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49976         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49977         64-bit targets.
49978         * configure: Regenerated.
49980 2012-11-17  David S. Miller  <davem@davemloft.net>
49982         [BZ #14811]
49983         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49984         nonzero exponents with absolute value below 0x1p-128 to +/-
49985         0x1p-128.
49987 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49989         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49991         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49993         * posix/getconf-speclist.c: New file.
49994         * posix/posix-envs.def: Likewise.
49995         * posix/confstr.c (START_ENV_GROUP): New macro.
49996         (END_ENV_GROUP): Likewise.
49997         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49998         (KNOWN_PRESENT_ENV_STRING): Likewise.
49999         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50000         (UNKNOWN_ENVIRONMENT): Likewise.
50001         (confstr): Include posix-envs.def instead of handling
50002         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50003         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50004         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50005         (END_ENV_GROUP): Likewise.
50006         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50007         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50008         (UNKNOWN_ENVIRONMENT): Likewise.
50009         (__sysconf): Include posix-envs.def instead of handling associated
50010         cases directly here.
50011         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50012         preprocessing getconf-speclist.c rather than running getconf or
50013         generating empty file.
50015 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50017         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50019 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50021         [BZ #14672]
50022         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50024 2012-11-16  David S. Miller  <davem@davemloft.net>
50026         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50027         smaller than LDBL_EPSILON/2.0L, just return xm1.
50029 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50031         * elf/tst-array1.c (init): Set constructor priority to 1000.
50032         (fini): Set destructor priority to 1000.
50033         * elf/tst-array2dep.c: Likewise.
50035 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         [BZ #11741]
50038         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50039         (_IO_new_file_xsputn): Also return EOF if none of the input
50040         data was written when overflow failed.
50041         * libio/iopadn.c (_IO_padn): Likewise.
50042         * libio/iowpadn.c (_IO_wpadn): Likewise.
50043         * stdio-common/tst-put-error.c: Add copyright notice.
50044         (do_test): Add case for printing padded string.
50045         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50046         _IO_padn returned error.
50047         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50048         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50049         return EOF.
50051 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50053         * libio/libioP.h: Add comment note that the references to C++
50054         bits are now obsolete.
50056 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50058         * math/libm-test.inc (check_complex): Use asprintf.
50060 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50062         * debug/pcprofiledump.c (print_version): Update copyright year.
50063         * malloc/memusagestat.c (print_version): Likewise.
50065 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50067         [BZ #14831]
50068         * elf/Makefile (tests): Add tst-audit8.
50069         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50070         ($(objpfx)tst-audit8.out): New target.
50071         (tst-audit8-ENV): New variable.
50072         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50073         audit if l_reloc_result is NULL.
50074         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50075         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50076         * elf/tst-audit8.c: New file.
50078 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50080         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50081         * misc/Makefile (CFLAGS-select.c): Define.
50082         * posix/Makefile (CFLAGS-pause.c): Define.
50084 2012-11-13  David S. Miller  <davem@davemloft.net>
50086         * crypt/Makefile: Move test targets after toplevel Rules
50087         inclusion.  Grab any necessary sysdep routines when linking.
50088         * crypt/md5.c (md5_process_block): Remove define, we will always
50089         name it __md5_process_block.
50090         (md5_finish_ctx): Update md5_process_block call.
50091         (md5_stream): Likewise.
50092         (md5_process_bytes): Likewise.
50093         (md5_process_block): Rename to __md5_process_block and move to ...
50094         * crypt/md5-block.c: ... here.
50095         * crypt/sha256.c (sha256_process_block): Move to ...
50096         * crypt/sha256-block.c: ... here.
50097         * crypt/sha512.c (sha512_process_block): Move to ...
50098         * crypt/sha512-block.c: ... here.
50099         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50100         path.
50101         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50102         * sysdeps/sparc/sparc64/multiarch/Makefile
50103         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50104         crypt subdir.
50105         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50106         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50107         multiarch changes.
50108         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50109         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50110         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50111         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50112         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50113         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50114         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50115         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50117         file.
50118         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50120         file.
50121         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50123 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50125         * timezone/tzselect.ksh: Update from tzcode git revision
50126         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50127         * timezone/zdump.c: Likewise.
50128         * timezone/zic.c: Likewise.
50129         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50130         in TZVERSION setting, not $(PKGVERSION).
50131         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50132         REPORT_BUGS_TO settings.
50134         [BZ #14838]
50135         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50136         macro.
50138 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50140         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50141         detection to immediately after _FP_ROUND().
50142         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50143         bits are 0.
50145 2012-11-11  David S. Miller  <davem@davemloft.net>
50147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50148         inttypes.h
50149         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50150         __close rather than their public counterparts.
50152 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50154         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50155         file.
50156         [UNIX98] (sem_timedwait): Do not expect.
50157         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50158         [XPG4 || UNIX98] (sockatmark): Do not expect.
50159         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50160         (clock_getcpuclockid): Do not expect.
50161         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50162         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50163         Do not expect.
50164         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50165         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50166         [UNIX98] (vwscanf): Likewise.
50167         [UNIX98] (vswscanf): Likewise.
50169 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50171         * timezone/version.h: Remove file.
50172         * timezone/README: Do not refer to version.h.
50173         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50174         $(objpfx)version.h.
50175         ($(objpfx)zdump.o): Likewise.
50176         ($(objpfx)version.h): New target.
50178         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50179         2012i.
50180         * timezone/README: Don't mention modification to tzselect.ksh.
50181         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50182         work on unmodified tzselect.ksh.  Substitute version numbers in
50183         tzselect.ksh.
50185         * Makefile (format-me): Remove.
50186         (INSTALL): Adjust indentation.  Use commands directly instead of
50187         using $(format-me).
50189         * aclocal.m4 (ACX_PKGVERSION): New macro.
50190         (ACX_BUGURL): Likewise.
50191         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50192         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50193         (REPORT_BUGS_TO): Likewise.
50194         * configure: Regenerated.
50195         * config.h.in (PKGVERSION): New macro.
50196         (REPORT_BUGS_TO): Likewise.
50197         * config.make.in (PKGVERSION): New variable.
50198         (PKGVERSION_TEXI): Likewise.
50199         (REPORT_BUGS_TO): Likewise.
50200         (REPORT_BUGS_TEXI): Likewise.
50201         * Makefile (format-me): Use -I$(common-objpfx)manual.
50202         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50203         ($(common-objpfx)manual/%): New target.
50204         (manual/%): Remove target.
50205         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50206         (print_version): Use PKGVERSION.
50207         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50208         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50209         and REPORT_BUGS_TO.
50210         ($(objpfx)xtrace): Likewise.
50211         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50212         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50213         (print_version): Use PKGVERSION.
50214         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50215         (do_version): Use PKGVERSION.
50216         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50217         REPORT_BUGS_TO.
50218         (common-ldd-rewrite): Likewise.
50219         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50220         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50221         (print_version): Use PKGVERSION.
50222         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50223         * elf/pldd.c (argp_program_bug_address): Remove variable.
50224         (more_help): New function.
50225         (argp): Use more_help.
50226         (print_version): Use PKGVERSION.
50227         * elf/sln.c (main): Use PKGVERSION.
50228         (usage): Use REPORT_BUGS_TO.
50229         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50230         (top level): Use PKGVERSION.
50231         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50232         (print_version): Use PKGVERSION.
50233         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50234         (print_version): Use PKGVERSION.
50235         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50236         (print_version): Use PKGVERSION.
50237         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50238         (print_version): Use PKGVERSION.
50239         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50240         (print_version): Use PKGVERSION.
50241         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50242         (print_version): Use PKGVERSION.
50243         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50244         and BUGURL.
50245         ($(objpfx)memusage): Likewise.
50246         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50247         (do_version): Use PKGVERSION.
50248         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50249         (print_version): Use PKGVERSION.
50250         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50251         ($PKGVERSION): New variable.
50252         ($REPORT_BUGS_TO): Likewise.
50253         (usage): Use $REPORT_BUGS_TO.
50254         (top level): Use $PKGVERSION.
50255         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50256         ($(objpfx)pkgvers.texi): New rule.
50257         ($(objpfx)stamp-pkgvers): Likewise.
50258         * manual/install.texi: Include pkgvers.texi.
50259         (--with-pkgversion): Document new configure option.
50260         (--with-bugurl): Likewise.
50261         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50262         than necessarily for this particular distribution.  Use
50263         REPORT_BUGS_TO for where to report bugs.
50264         * INSTALL: Regenerated.
50265         * manual/libc.texinfo: Include pkgvers.texi.
50266         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50267         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50268         (print_version): Use PKGVERSION.
50269         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50270         (print_version): Use PKGVERSION.
50271         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50272         (print_version): Use PKGVERSION.
50273         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50274         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50275         macro.
50276         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50277         (print_version): Use PKGVERSION.
50278         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50279         (print_version): Use PKGVERSION.
50280         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50281         and PKGVERSION.
50283         * timezone/checktab.awk: Update from tzcode 2012i.
50284         * timezone/ialloc.c: Likewise.
50285         * timezone/private.h: Likewise.
50286         * timezone/scheck.c: Likewise.
50287         * timezone/tzfile.h: Likewise.
50288         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50289         (TZVERSION): Hardcode tzcode version number.
50290         * timezone/zdump.c: Update from tzcode 2012i.
50291         * timezone/zic.c: Likewise.
50292         * timezone/version.h: New file.
50293         * timezone/README: Describe version.h.  Update upstream location.
50295         [BZ #14824]
50296         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50297         (mktemp): Enable declaration.
50298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50302         Likewise.
50303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50304         Likewise.
50305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50306         Likewise.
50307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50308         Likewise.
50309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50310         Likewise.
50311         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50312         Likewise.
50314         [BZ #14821]
50315         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50316         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50317         for copies of such integer values.
50318         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50319         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50321 2012-11-09  Andreas Jaeger  <aj@suse.de>
50323         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50324         definitions and declarations that are provided by
50325         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50327 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50329         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50330         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50331         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50332         definition.
50334 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50336         * elf/elf.h: Update comment before AArch64 relocations.
50338 2012-11-07  David S. Miller  <davem@davemloft.net>
50340         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50341         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50342         (__start_context): Declare.
50343         (__makecontext_ret): Delete.
50344         (__makecontext): Hook up __start_context instead of
50345         __makecontext_ret.
50346         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50347         (sysdep_routines): Add __start_context when in stdlib.
50349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50351         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50352         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50353         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50354         hardcoded "nm".
50355         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50356         (READELF): New variable.  Use it instead of hardcoded "readelf".
50358 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50360         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50361         * sysdeps/x86/Makefile: Here.
50362         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50363         * sysdeps/x86/tst-xmmymm.sh: This.
50365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50367         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50368         expectations.
50369         [UNIX98] (pthread_barrier_t): Do not expect.
50370         [UNIX98] (pthread_barrierattr_t): Likewise.
50371         [UNIX98] (pthread_spinlock_t): Likewise.
50372         [UNIX98] (pthread_barrier_destroy): Likewise.
50373         [UNIX98] (pthread_barrier_init): Likewise.
50374         [UNIX98] (pthread_barrier_wait): Likewise.
50375         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50376         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50377         [UNIX98] (pthread_barrierattr_init): Likewise.
50378         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50379         [UNIX98] (pthread_getcpuclockid): Likewise.
50380         [UNIX98] (pthread_mutex_timedlock): Likewise.
50381         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50382         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50383         [UNIX98] (pthread_sigmask): Likewise.
50384         [UNIX98] (pthread_spin_destroy): Likewise.
50385         [UNIX98] (pthread_spin_init): Likewise.
50386         [UNIX98] (pthread_spin_lock): Likewise.
50387         [UNIX98] (pthread_spin_trylock): Likewise.
50388         [UNIX98] (pthread_spin_unlock): Likewise.
50389         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50390         Do not expect.
50391         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50392         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50393         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50394         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50395         [XPG3 || XPG4] (pthread_key_t): Likewise.
50396         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50397         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50398         [XPG3 || XPG4] (pthread_once_t): Likewise.
50399         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50400         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50401         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50402         [XPG3 || XPG4] (pthread_t): Likewise.
50404         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50405         not expect.
50406         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50408         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50409         Change function return type to int.
50411         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50412         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50413         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50414         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50415         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50416         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50417         [!POSIX] (posix_madvise): Likewise.
50418         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50419         && !UNIX98].
50420         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50421         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50422         (mode_t): Likewise.
50423         (posix_mem_offset): Likewise.
50424         (posix_typed_mem_get_info): Likewise.
50425         (posix_typed_mem_open): Likewise.
50427         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50428         Change condition to [XOPEN2K8].
50430         * conform/conformtest.pl: Preprocess allow-header data with -x c
50431         instead of from stdin.
50432         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50433         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50434         [C99-based standards] (cerfc): Likewise.
50435         [C99-based standards] (cexp2): Likewise.
50436         [C99-based standards] (cexpm1): Likewise.
50437         [C99-based standards] (clog10): Likewise.
50438         [C99-based standards] (clog1p): Likewise.
50439         [C99-based standards] (clog2): Likewise.
50440         [C99-based standards] (clgamma): Likewise.
50441         [C99-based standards] (ctgamma): Likewise.
50442         [C99-based standards] (cerff): Likewise.
50443         [C99-based standards] (cerfcf): Likewise.
50444         [C99-based standards] (cexp2f): Likewise.
50445         [C99-based standards] (cexpm1f): Likewise.
50446         [C99-based standards] (clog10f): Likewise.
50447         [C99-based standards] (clog1pf): Likewise.
50448         [C99-based standards] (clog2f): Likewise.
50449         [C99-based standards] (clgammaf): Likewise.
50450         [C99-based standards] (ctgammaf): Likewise.
50451         [C99-based standards] (cerfl): Likewise.
50452         [C99-based standards] (cerfcl): Likewise.
50453         [C99-based standards] (cexp2l): Likewise.
50454         [C99-based standards] (cexpm1l): Likewise.
50455         [C99-based standards] (clog10l): Likewise.
50456         [C99-based standards] (clog1pl): Likewise.
50457         [C99-based standards] (clog2l): Likewise.
50458         [C99-based standards] (clgammal): Likewise.
50459         [C99-based standards] (ctgammal): Likewise.
50460         * conform/data/inttypes.h-data [C99-based standards]: Include
50461         stdint.h-data.  Remove all expectations for stdint.h contents.
50462         [C99-based standards] (PRI*): Do not allow.
50463         [C99-based standards] (SCN*): Likewise.
50464         [C99-based standards] (*_t): Likewise.
50465         [C99-based-standards] (PRId8): Expect macro.
50466         [C99-based-standards] (PRIi8): Likewise.
50467         [C99-based-standards] (PRIo8): Likewise.
50468         [C99-based-standards] (PRIu8): Likewise.
50469         [C99-based-standards] (PRIx8): Likewise.
50470         [C99-based-standards] (PRIX8): Likewise.
50471         [C99-based-standards] (SCNd8): Likewise.
50472         [C99-based-standards] (SCNi8): Likewise.
50473         [C99-based-standards] (SCNo8): Likewise.
50474         [C99-based-standards] (SCNu8): Likewise.
50475         [C99-based-standards] (SCNx8): Likewise.
50476         [C99-based-standards] (PRIdLEAST8): Likewise.
50477         [C99-based-standards] (PRIiLEAST8): Likewise.
50478         [C99-based-standards] (PRIoLEAST8): Likewise.
50479         [C99-based-standards] (PRIuLEAST8): Likewise.
50480         [C99-based-standards] (PRIxLEAST8): Likewise.
50481         [C99-based-standards] (PRIXLEAST8): Likewise.
50482         [C99-based-standards] (SCNdLEAST8): Likewise.
50483         [C99-based-standards] (SCNiLEAST8): Likewise.
50484         [C99-based-standards] (SCNoLEAST8): Likewise.
50485         [C99-based-standards] (SCNuLEAST8): Likewise.
50486         [C99-based-standards] (SCNxLEAST8): Likewise.
50487         [C99-based-standards] (PRIdFAST8): Likewise.
50488         [C99-based-standards] (PRIiFAST8): Likewise.
50489         [C99-based-standards] (PRIoFAST8): Likewise.
50490         [C99-based-standards] (PRIuFAST8): Likewise.
50491         [C99-based-standards] (PRIxFAST8): Likewise.
50492         [C99-based-standards] (PRIXFAST8): Likewise.
50493         [C99-based-standards] (SCNdFAST8): Likewise.
50494         [C99-based-standards] (SCNiFAST8): Likewise.
50495         [C99-based-standards] (SCNoFAST8): Likewise.
50496         [C99-based-standards] (SCNuFAST8): Likewise.
50497         [C99-based-standards] (SCNxFAST8): Likewise.
50498         [C99-based-standards] (PRId16): Likewise.
50499         [C99-based-standards] (PRIi16): Likewise.
50500         [C99-based-standards] (PRIo16): Likewise.
50501         [C99-based-standards] (PRIu16): Likewise.
50502         [C99-based-standards] (PRIx16): Likewise.
50503         [C99-based-standards] (PRIX16): Likewise.
50504         [C99-based-standards] (SCNd16): Likewise.
50505         [C99-based-standards] (SCNi16): Likewise.
50506         [C99-based-standards] (SCNo16): Likewise.
50507         [C99-based-standards] (SCNu16): Likewise.
50508         [C99-based-standards] (SCNx16): Likewise.
50509         [C99-based-standards] (PRIdLEAST16): Likewise.
50510         [C99-based-standards] (PRIiLEAST16): Likewise.
50511         [C99-based-standards] (PRIoLEAST16): Likewise.
50512         [C99-based-standards] (PRIuLEAST16): Likewise.
50513         [C99-based-standards] (PRIxLEAST16): Likewise.
50514         [C99-based-standards] (PRIXLEAST16): Likewise.
50515         [C99-based-standards] (SCNdLEAST16): Likewise.
50516         [C99-based-standards] (SCNiLEAST16): Likewise.
50517         [C99-based-standards] (SCNoLEAST16): Likewise.
50518         [C99-based-standards] (SCNuLEAST16): Likewise.
50519         [C99-based-standards] (SCNxLEAST16): Likewise.
50520         [C99-based-standards] (PRIdFAST16): Likewise.
50521         [C99-based-standards] (PRIiFAST16): Likewise.
50522         [C99-based-standards] (PRIoFAST16): Likewise.
50523         [C99-based-standards] (PRIuFAST16): Likewise.
50524         [C99-based-standards] (PRIxFAST16): Likewise.
50525         [C99-based-standards] (PRIXFAST16): Likewise.
50526         [C99-based-standards] (SCNdFAST16): Likewise.
50527         [C99-based-standards] (SCNiFAST16): Likewise.
50528         [C99-based-standards] (SCNoFAST16): Likewise.
50529         [C99-based-standards] (SCNuFAST16): Likewise.
50530         [C99-based-standards] (SCNxFAST16): Likewise.
50531         [C99-based-standards] (PRId32): Likewise.
50532         [C99-based-standards] (PRIi32): Likewise.
50533         [C99-based-standards] (PRIo32): Likewise.
50534         [C99-based-standards] (PRIu32): Likewise.
50535         [C99-based-standards] (PRIx32): Likewise.
50536         [C99-based-standards] (PRIX32): Likewise.
50537         [C99-based-standards] (SCNd32): Likewise.
50538         [C99-based-standards] (SCNi32): Likewise.
50539         [C99-based-standards] (SCNo32): Likewise.
50540         [C99-based-standards] (SCNu32): Likewise.
50541         [C99-based-standards] (SCNx32): Likewise.
50542         [C99-based-standards] (PRIdLEAST32): Likewise.
50543         [C99-based-standards] (PRIiLEAST32): Likewise.
50544         [C99-based-standards] (PRIoLEAST32): Likewise.
50545         [C99-based-standards] (PRIuLEAST32): Likewise.
50546         [C99-based-standards] (PRIxLEAST32): Likewise.
50547         [C99-based-standards] (PRIXLEAST32): Likewise.
50548         [C99-based-standards] (SCNdLEAST32): Likewise.
50549         [C99-based-standards] (SCNiLEAST32): Likewise.
50550         [C99-based-standards] (SCNoLEAST32): Likewise.
50551         [C99-based-standards] (SCNuLEAST32): Likewise.
50552         [C99-based-standards] (SCNxLEAST32): Likewise.
50553         [C99-based-standards] (PRIdFAST32): Likewise.
50554         [C99-based-standards] (PRIiFAST32): Likewise.
50555         [C99-based-standards] (PRIoFAST32): Likewise.
50556         [C99-based-standards] (PRIuFAST32): Likewise.
50557         [C99-based-standards] (PRIxFAST32): Likewise.
50558         [C99-based-standards] (PRIXFAST32): Likewise.
50559         [C99-based-standards] (SCNdFAST32): Likewise.
50560         [C99-based-standards] (SCNiFAST32): Likewise.
50561         [C99-based-standards] (SCNoFAST32): Likewise.
50562         [C99-based-standards] (SCNuFAST32): Likewise.
50563         [C99-based-standards] (SCNxFAST32): Likewise.
50564         [C99-based-standards] (PRId64): Likewise.
50565         [C99-based-standards] (PRIi64): Likewise.
50566         [C99-based-standards] (PRIo64): Likewise.
50567         [C99-based-standards] (PRIu64): Likewise.
50568         [C99-based-standards] (PRIx64): Likewise.
50569         [C99-based-standards] (PRIX64): Likewise.
50570         [C99-based-standards] (SCNd64): Likewise.
50571         [C99-based-standards] (SCNi64): Likewise.
50572         [C99-based-standards] (SCNo64): Likewise.
50573         [C99-based-standards] (SCNu64): Likewise.
50574         [C99-based-standards] (SCNx64): Likewise.
50575         [C99-based-standards] (PRIdLEAST64): Likewise.
50576         [C99-based-standards] (PRIiLEAST64): Likewise.
50577         [C99-based-standards] (PRIoLEAST64): Likewise.
50578         [C99-based-standards] (PRIuLEAST64): Likewise.
50579         [C99-based-standards] (PRIxLEAST64): Likewise.
50580         [C99-based-standards] (PRIXLEAST64): Likewise.
50581         [C99-based-standards] (SCNdLEAST64): Likewise.
50582         [C99-based-standards] (SCNiLEAST64): Likewise.
50583         [C99-based-standards] (SCNoLEAST64): Likewise.
50584         [C99-based-standards] (SCNuLEAST64): Likewise.
50585         [C99-based-standards] (SCNxLEAST64): Likewise.
50586         [C99-based-standards] (PRIdFAST64): Likewise.
50587         [C99-based-standards] (PRIiFAST64): Likewise.
50588         [C99-based-standards] (PRIoFAST64): Likewise.
50589         [C99-based-standards] (PRIuFAST64): Likewise.
50590         [C99-based-standards] (PRIxFAST64): Likewise.
50591         [C99-based-standards] (PRIXFAST64): Likewise.
50592         [C99-based-standards] (SCNdFAST64): Likewise.
50593         [C99-based-standards] (SCNiFAST64): Likewise.
50594         [C99-based-standards] (SCNoFAST64): Likewise.
50595         [C99-based-standards] (SCNuFAST64): Likewise.
50596         [C99-based-standards] (SCNxFAST64): Likewise.
50597         [C99-based-standards] (PRIdMAX): Likewise.
50598         [C99-based-standards] (PRIiMAX): Likewise.
50599         [C99-based-standards] (PRIoMAX): Likewise.
50600         [C99-based-standards] (PRIuMAX): Likewise.
50601         [C99-based-standards] (PRIxMAX): Likewise.
50602         [C99-based-standards] (PRIXMAX): Likewise.
50603         [C99-based-standards] (SCNdMAX): Likewise.
50604         [C99-based-standards] (SCNiMAX): Likewise.
50605         [C99-based-standards] (SCNoMAX): Likewise.
50606         [C99-based-standards] (SCNuMAX): Likewise.
50607         [C99-based-standards] (SCNxMAX): Likewise.
50608         [C99-based-standards] (PRIdPTR): Likewise.
50609         [C99-based-standards] (PRIiPTR): Likewise.
50610         [C99-based-standards] (PRIoPTR): Likewise.
50611         [C99-based-standards] (PRIuPTR): Likewise.
50612         [C99-based-standards] (PRIxPTR): Likewise.
50613         [C99-based-standards] (PRIXPTR): Likewise.
50614         [C99-based-standards] (SCNdPTR): Likewise.
50615         [C99-based-standards] (SCNiPTR): Likewise.
50616         [C99-based-standards] (SCNoPTR): Likewise.
50617         [C99-based-standards] (SCNuPTR): Likewise.
50618         [C99-based-standards] (SCNxPTR): Likewise.
50619         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50620         allow.
50621         * conform/data/stdint.h-data: Update comments to clarify
50622         requirements.
50623         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50624         type.
50625         [C99-based standards] (INT8_MAX): Likewise.
50626         [C99-based standards] (INT16_MIN): Likewise.
50627         [C99-based standards] (INT16_MAX): Likewise.
50628         [C99-based standards] (INT32_MIN): Likewise.
50629         [C99-based standards] (INT32_MAX): Likewise.
50630         [C99-based standards] (INT64_MIN): Likewise.
50631         [C99-based standards] (INT64_MAX): Likewise.
50632         [C99-based standards] (UINT8_MAX): Likewise.
50633         [C99-based standards] (UINT16_MAX): Likewise.
50634         [C99-based standards] (UINT32_MAX): Likewise.
50635         [C99-based standards] (UINT64_MAX): Likewise.
50636         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50637         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50638         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50639         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50640         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50641         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50642         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50643         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50644         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50645         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50646         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50647         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50648         [C99-based standards] (INT_FAST8_MIN): Likewise.
50649         [C99-based standards] (INT_FAST8_MAX): Likewise.
50650         [C99-based standards] (INT_FAST16_MIN): Likewise.
50651         [C99-based standards] (INT_FAST16_MAX): Likewise.
50652         [C99-based standards] (INT_FAST32_MIN): Likewise.
50653         [C99-based standards] (INT_FAST32_MAX): Likewise.
50654         [C99-based standards] (INT_FAST64_MIN): Likewise.
50655         [C99-based standards] (INT_FAST64_MAX): Likewise.
50656         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50657         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50658         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50659         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50660         [C99-based standards] (INTPTR_MIN): Likewise.
50661         [C99-based standards] (INTPTR_MAX): Likewise.
50662         [C99-based standards] (UINTPTR_MAX): Likewise.
50663         [C99-based standards] (INTMAX_MIN): Likewise.
50664         [C99-based standards] (INTMAX_MAX): Likewise.
50665         [C99-based standards] (UINTMAX_MAX): Likewise.
50666         [C99-based standards] (PTRDIFF_MIN): Likewise.
50667         [C99-based standards] (PTRDIFF_MAX): Likewise.
50668         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50669         [C99-based standards] (SIZE_MAX): Likewise.
50670         [C99-based standards] (WCHAR_MAX): Likewise.
50671         [C99-based standards] (WINT_MAX): Likewise.
50672         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50673         constraint on value.
50674         [C99-based standards] (WCHAR_MIN): Likewise.
50675         [C99-based standards] (WINT_MIN): Likewise.
50676         [C99-based standards] (*_t): Allow.
50677         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50678         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50679         Include math.h-data and complex.h-data.  Remove all expectations
50680         of math.h and complex.h contents.
50681         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50682         at end of line.
50683         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50684         (struct tm): Expect tag.
50685         [C99-based-standards] (wcstof): Expect function.
50686         [C99-based-standards] (wcstold): Likewise.
50687         [C99-based-standards] (wcstoll): Likewise.
50688         [C99-based-standards] (wcstoull): Likewise.
50689         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50690         macro-int-constant.  Specify type.
50691         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50692         constraint on value.
50693         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50694         Specify type.
50695         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50696         Specify value.
50697         [ISO C standards]: Do not allow headers.
50698         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50699         wcs[abcdefghijklmnopqrstuvwxyz]*.
50700         [ISO C standards] (*_t): Do not allow.
50701         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50702         Expect function.
50703         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50704         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50705         Specify type.
50706         [ISO C standards]: Do not allow headers.
50707         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50708         is[abcdefghijklmnopqrstuvwxyz]*.
50709         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50710         to[abcdefghijklmnopqrstuvwxyz]*.
50711         [ISO C standards] (*_t): Do not allow.
50712         * conform/data/stdalign.h-data: New file.
50713         * conform/data/stdbool.h-data: Likewise.
50714         * conform/data/stdnoreturn.h-data: Likewise.
50716 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50718         [BZ #14815]
50719         * manual/filesys.texi (Directory Entries): Typo fix.
50720         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50722 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50724         * elf/elf.h (EM_AARCH64): New macro.
50725         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50726         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50727         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50728         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50729         (R_AARCH64_TLSDESC): Likewise.
50730         (NT_ARM_TLS): Likewise.
50731         (NT_ARM_HW_BREAK): Likewise.
50732         (NT_ARM_HW_WATCH): Likewise.
50734 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50736         [BZ #14811]
50737         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50738         (__ieee754_powl): Saturate nonzero exponents with absolute value
50739         below 0x1p-79 to +/- 0x1p-79.
50740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50741         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50742         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50743         nonzero exponents with absolute value below 0x1p-32 to +/-
50744         0x1p-32.
50745         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50746         (__ieee754_powl): Saturate nonzero exponents with absolute value
50747         below 0x1p-79 to +/- 0x1p-79.
50748         * math/libm-test.inc (pow_test): Add more tests.
50750 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50752         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50753         _dl_s390_cap_flags with kernel. Increase string length.
50754         (_dl_s390_platforms): Add z196 and zEC12.
50756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50758         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50759         Change XOPEN21K to XOPEN2K.
50761 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50763         * string/memmove.c: Use memcpy when possible.
50765 2012-11-06  Andreas Jaeger  <aj@suse.de>
50767         * po/eo.po: Update from translation team.
50769 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50771         [BZ #14793]
50772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50773         exponent and small x and y exponents, scale x or y up.  Increase
50774         by 2 the exponent used in scaling up.
50775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50777         * math/libm-test.inc (fma_test): Add more tests.
50778         (fma_test_towardzero): Likewise.
50779         (fma_test_downward): Likewise.
50780         (fma_test_upward): Likewise.
50782 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50784         [BZ #14805]
50785         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50786         fenv_t *.
50788         [BZ #14801]
50789         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50790         namespace for names of struct fields.
50791         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50792         fenv_t fields.
50793         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50794         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50796 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50798         [BZ #3665]
50799         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50801 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50803         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50804         PTR_DEMANGLE.
50806         [BZ #5246]
50807         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50808         PTR_DEMANGLE.
50810 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50812         [BZ #14797]
50813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50814         definitely overflow as x * y not x * y + z.
50815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50817         * math/libm-test.inc (fma_test): Add more tests.
50818         (fma_test_towardzero): Likewise.
50819         (fma_test_downward): Likewise.
50820         (fma_test_upward): Likewise.
50822 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50824         [BZ #157]
50826         * include/stub-tag.h: Remove file.
50827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50828         '#include' of it.
50829         * manual/maint.texi (Porting): Don't reference it.
50830         * Makerules ($(objpfx)stubs): Likewise.
50831         * dirent/closedir.c: Don't include <stub-tag.h>.
50832         * dirent/dirfd.c: Likewise.
50833         * dirent/fdopendir.c: Likewise.
50834         * dirent/getdents.c: Likewise.
50835         * dirent/getdents64.c: Likewise.
50836         * dirent/opendir.c: Likewise.
50837         * dirent/readdir.c: Likewise.
50838         * dirent/readdir64.c: Likewise.
50839         * dirent/readdir64_r.c: Likewise.
50840         * dirent/readdir_r.c: Likewise.
50841         * dirent/rewinddir.c: Likewise.
50842         * dirent/seekdir.c: Likewise.
50843         * dirent/telldir.c: Likewise.
50844         * gmon/profil.c: Likewise.
50845         * grp/setgroups.c: Likewise.
50846         * inet/if_index.c: Likewise.
50847         * io/access.c: Likewise.
50848         * io/chdir.c: Likewise.
50849         * io/chmod.c: Likewise.
50850         * io/chown.c: Likewise.
50851         * io/close.c: Likewise.
50852         * io/dup.c: Likewise.
50853         * io/dup2.c: Likewise.
50854         * io/dup3.c: Likewise.
50855         * io/euidaccess.c: Likewise.
50856         * io/faccessat.c: Likewise.
50857         * io/fchdir.c: Likewise.
50858         * io/fchmod.c: Likewise.
50859         * io/fchmodat.c: Likewise.
50860         * io/fchown.c: Likewise.
50861         * io/fchownat.c: Likewise.
50862         * io/fcntl.c: Likewise.
50863         * io/flock.c: Likewise.
50864         * io/fstatfs.c: Likewise.
50865         * io/fstatfs64.c: Likewise.
50866         * io/fstatvfs.c: Likewise.
50867         * io/fstatvfs64.c: Likewise.
50868         * io/futimens.c: Likewise.
50869         * io/fxstat.c: Likewise.
50870         * io/fxstat64.c: Likewise.
50871         * io/fxstatat.c: Likewise.
50872         * io/fxstatat64.c: Likewise.
50873         * io/getcwd.c: Likewise.
50874         * io/isatty.c: Likewise.
50875         * io/lchmod.c: Likewise.
50876         * io/lchown.c: Likewise.
50877         * io/link.c: Likewise.
50878         * io/linkat.c: Likewise.
50879         * io/lseek.c: Likewise.
50880         * io/lseek64.c: Likewise.
50881         * io/lxstat64.c: Likewise.
50882         * io/mkdir.c: Likewise.
50883         * io/mkdirat.c: Likewise.
50884         * io/mkfifo.c: Likewise.
50885         * io/mkfifoat.c: Likewise.
50886         * io/open.c: Likewise.
50887         * io/open64.c: Likewise.
50888         * io/openat.c: Likewise.
50889         * io/openat64.c: Likewise.
50890         * io/pipe.c: Likewise.
50891         * io/pipe2.c: Likewise.
50892         * io/poll.c: Likewise.
50893         * io/posix_fadvise.c: Likewise.
50894         * io/posix_fadvise64.c: Likewise.
50895         * io/posix_fallocate.c: Likewise.
50896         * io/posix_fallocate64.c: Likewise.
50897         * io/read.c: Likewise.
50898         * io/readlink.c: Likewise.
50899         * io/readlinkat.c: Likewise.
50900         * io/rmdir.c: Likewise.
50901         * io/sendfile.c: Likewise.
50902         * io/sendfile64.c: Likewise.
50903         * io/statfs.c: Likewise.
50904         * io/statfs64.c: Likewise.
50905         * io/statvfs.c: Likewise.
50906         * io/statvfs64.c: Likewise.
50907         * io/symlink.c: Likewise.
50908         * io/symlinkat.c: Likewise.
50909         * io/ttyname.c: Likewise.
50910         * io/ttyname_r.c: Likewise.
50911         * io/umask.c: Likewise.
50912         * io/unlink.c: Likewise.
50913         * io/unlinkat.c: Likewise.
50914         * io/utime.c: Likewise.
50915         * io/utimensat.c: Likewise.
50916         * io/write.c: Likewise.
50917         * io/xmknod.c: Likewise.
50918         * io/xmknodat.c: Likewise.
50919         * io/xstat.c: Likewise.
50920         * io/xstat64.c: Likewise.
50921         * login/getpt.c: Likewise.
50922         * login/grantpt.c: Likewise.
50923         * login/unlockpt.c: Likewise.
50924         * math/e_acoshl.c: Likewise.
50925         * math/e_acosl.c: Likewise.
50926         * math/e_asinl.c: Likewise.
50927         * math/e_atan2l.c: Likewise.
50928         * math/e_atanhl.c: Likewise.
50929         * math/e_coshl.c: Likewise.
50930         * math/e_expl.c: Likewise.
50931         * math/e_fmodl.c: Likewise.
50932         * math/e_gammal_r.c: Likewise.
50933         * math/e_hypotl.c: Likewise.
50934         * math/e_j0l.c: Likewise.
50935         * math/e_j1l.c: Likewise.
50936         * math/e_jnl.c: Likewise.
50937         * math/e_lgammal_r.c: Likewise.
50938         * math/e_log10l.c: Likewise.
50939         * math/e_log2l.c: Likewise.
50940         * math/e_logl.c: Likewise.
50941         * math/e_powl.c: Likewise.
50942         * math/e_rem_pio2l.c: Likewise.
50943         * math/e_sinhl.c: Likewise.
50944         * math/e_sqrtl.c: Likewise.
50945         * math/fclrexcpt.c: Likewise.
50946         * math/fedisblxcpt.c: Likewise.
50947         * math/feenablxcpt.c: Likewise.
50948         * math/fegetenv.c: Likewise.
50949         * math/fegetexcept.c: Likewise.
50950         * math/fegetround.c: Likewise.
50951         * math/feholdexcpt.c: Likewise.
50952         * math/fesetenv.c: Likewise.
50953         * math/fesetround.c: Likewise.
50954         * math/feupdateenv.c: Likewise.
50955         * math/fgetexcptflg.c: Likewise.
50956         * math/fraiseexcpt.c: Likewise.
50957         * math/fsetexcptflg.c: Likewise.
50958         * math/ftestexcept.c: Likewise.
50959         * math/k_cosl.c: Likewise.
50960         * math/k_rem_pio2l.c: Likewise.
50961         * math/k_sinl.c: Likewise.
50962         * math/k_tanl.c: Likewise.
50963         * math/s_asinhl.c: Likewise.
50964         * math/s_atanl.c: Likewise.
50965         * math/s_cbrtl.c: Likewise.
50966         * math/s_erfl.c: Likewise.
50967         * math/s_expm1l.c: Likewise.
50968         * math/s_log1pl.c: Likewise.
50969         * math/s_tanhl.c: Likewise.
50970         * misc/acct.c: Likewise.
50971         * misc/brk.c: Likewise.
50972         * misc/chflags.c: Likewise.
50973         * misc/chroot.c: Likewise.
50974         * misc/fchflags.c: Likewise.
50975         * misc/fgetxattr.c: Likewise.
50976         * misc/flistxattr.c: Likewise.
50977         * misc/fremovexattr.c: Likewise.
50978         * misc/fsetxattr.c: Likewise.
50979         * misc/fsync.c: Likewise.
50980         * misc/ftruncate.c: Likewise.
50981         * misc/futimes.c: Likewise.
50982         * misc/futimesat.c: Likewise.
50983         * misc/getdomain.c: Likewise.
50984         * misc/getdtsz.c: Likewise.
50985         * misc/gethostid.c: Likewise.
50986         * misc/gethostname.c: Likewise.
50987         * misc/getloadavg.c: Likewise.
50988         * misc/getpagesize.c: Likewise.
50989         * misc/getsysstats.c: Likewise.
50990         * misc/getxattr.c: Likewise.
50991         * misc/gtty.c: Likewise.
50992         * misc/ioctl.c: Likewise.
50993         * misc/lgetxattr.c: Likewise.
50994         * misc/listxattr.c: Likewise.
50995         * misc/llistxattr.c: Likewise.
50996         * misc/lremovexattr.c: Likewise.
50997         * misc/lsetxattr.c: Likewise.
50998         * misc/lutimes.c: Likewise.
50999         * misc/madvise.c: Likewise.
51000         * misc/mincore.c: Likewise.
51001         * misc/mlock.c: Likewise.
51002         * misc/mlockall.c: Likewise.
51003         * misc/mmap.c: Likewise.
51004         * misc/mprotect.c: Likewise.
51005         * misc/msync.c: Likewise.
51006         * misc/munlock.c: Likewise.
51007         * misc/munlockall.c: Likewise.
51008         * misc/munmap.c: Likewise.
51009         * misc/preadv.c: Likewise.
51010         * misc/preadv64.c: Likewise.
51011         * misc/ptrace.c: Likewise.
51012         * misc/pwritev.c: Likewise.
51013         * misc/pwritev64.c: Likewise.
51014         * misc/readv.c: Likewise.
51015         * misc/reboot.c: Likewise.
51016         * misc/remap_file_pages.c: Likewise.
51017         * misc/removexattr.c: Likewise.
51018         * misc/revoke.c: Likewise.
51019         * misc/select.c: Likewise.
51020         * misc/setdomain.c: Likewise.
51021         * misc/setegid.c: Likewise.
51022         * misc/seteuid.c: Likewise.
51023         * misc/sethostid.c: Likewise.
51024         * misc/sethostname.c: Likewise.
51025         * misc/setregid.c: Likewise.
51026         * misc/setreuid.c: Likewise.
51027         * misc/setxattr.c: Likewise.
51028         * misc/sstk.c: Likewise.
51029         * misc/stty.c: Likewise.
51030         * misc/swapoff.c: Likewise.
51031         * misc/swapon.c: Likewise.
51032         * misc/sync.c: Likewise.
51033         * misc/syncfs.c: Likewise.
51034         * misc/syscall.c: Likewise.
51035         * misc/truncate.c: Likewise.
51036         * misc/ualarm.c: Likewise.
51037         * misc/usleep.c: Likewise.
51038         * misc/ustat.c: Likewise.
51039         * misc/utimes.c: Likewise.
51040         * misc/vhangup.c: Likewise.
51041         * misc/writev.c: Likewise.
51042         * posix/_exit.c: Likewise.
51043         * posix/alarm.c: Likewise.
51044         * posix/execve.c: Likewise.
51045         * posix/fexecve.c: Likewise.
51046         * posix/fork.c: Likewise.
51047         * posix/fpathconf.c: Likewise.
51048         * posix/getaddrinfo.c: Likewise.
51049         * posix/getegid.c: Likewise.
51050         * posix/geteuid.c: Likewise.
51051         * posix/getgid.c: Likewise.
51052         * posix/getgroups.c: Likewise.
51053         * posix/getlogin.c: Likewise.
51054         * posix/getlogin_r.c: Likewise.
51055         * posix/getpgid.c: Likewise.
51056         * posix/getpid.c: Likewise.
51057         * posix/getppid.c: Likewise.
51058         * posix/getresgid.c: Likewise.
51059         * posix/getresuid.c: Likewise.
51060         * posix/getsid.c: Likewise.
51061         * posix/getuid.c: Likewise.
51062         * posix/glob64.c: Likewise.
51063         * posix/nanosleep.c: Likewise.
51064         * posix/pathconf.c: Likewise.
51065         * posix/pause.c: Likewise.
51066         * posix/posix_madvise.c: Likewise.
51067         * posix/pread.c: Likewise.
51068         * posix/pread64.c: Likewise.
51069         * posix/pwrite.c: Likewise.
51070         * posix/pwrite64.c: Likewise.
51071         * posix/sched_getaffinity.c: Likewise.
51072         * posix/sched_getp.c: Likewise.
51073         * posix/sched_gets.c: Likewise.
51074         * posix/sched_primax.c: Likewise.
51075         * posix/sched_primin.c: Likewise.
51076         * posix/sched_rr_gi.c: Likewise.
51077         * posix/sched_setaffinity.c: Likewise.
51078         * posix/sched_setp.c: Likewise.
51079         * posix/sched_sets.c: Likewise.
51080         * posix/sched_yield.c: Likewise.
51081         * posix/setgid.c: Likewise.
51082         * posix/setlogin.c: Likewise.
51083         * posix/setpgid.c: Likewise.
51084         * posix/setresgid.c: Likewise.
51085         * posix/setresuid.c: Likewise.
51086         * posix/setsid.c: Likewise.
51087         * posix/setuid.c: Likewise.
51088         * posix/sleep.c: Likewise.
51089         * posix/spawni.c: Likewise.
51090         * posix/sysconf.c: Likewise.
51091         * posix/times.c: Likewise.
51092         * posix/wait.c: Likewise.
51093         * posix/wait3.c: Likewise.
51094         * posix/wait4.c: Likewise.
51095         * posix/waitpid.c: Likewise.
51096         * resolv/gai_sigqueue.c: Likewise.
51097         * resource/getpriority.c: Likewise.
51098         * resource/getrlimit.c: Likewise.
51099         * resource/getrusage.c: Likewise.
51100         * resource/nice.c: Likewise.
51101         * resource/setpriority.c: Likewise.
51102         * resource/setrlimit.c: Likewise.
51103         * resource/ulimit.c: Likewise.
51104         * rt/aio_cancel.c: Likewise.
51105         * rt/aio_fsync.c: Likewise.
51106         * rt/aio_read.c: Likewise.
51107         * rt/aio_sigqueue.c: Likewise.
51108         * rt/aio_suspend.c: Likewise.
51109         * rt/aio_write.c: Likewise.
51110         * rt/clock_getres.c: Likewise.
51111         * rt/clock_gettime.c: Likewise.
51112         * rt/clock_nanosleep.c: Likewise.
51113         * rt/clock_settime.c: Likewise.
51114         * rt/lio_listio.c: Likewise.
51115         * rt/mq_close.c: Likewise.
51116         * rt/mq_getattr.c: Likewise.
51117         * rt/mq_notify.c: Likewise.
51118         * rt/mq_open.c: Likewise.
51119         * rt/mq_receive.c: Likewise.
51120         * rt/mq_send.c: Likewise.
51121         * rt/mq_setattr.c: Likewise.
51122         * rt/mq_timedreceive.c: Likewise.
51123         * rt/mq_timedsend.c: Likewise.
51124         * rt/mq_unlink.c: Likewise.
51125         * rt/shm_open.c: Likewise.
51126         * rt/shm_unlink.c: Likewise.
51127         * rt/timer_create.c: Likewise.
51128         * rt/timer_delete.c: Likewise.
51129         * rt/timer_getoverr.c: Likewise.
51130         * rt/timer_gettime.c: Likewise.
51131         * rt/timer_settime.c: Likewise.
51132         * setjmp/__longjmp.c: Likewise.
51133         * setjmp/setjmp.c: Likewise.
51134         * signal/kill.c: Likewise.
51135         * signal/killpg.c: Likewise.
51136         * signal/raise.c: Likewise.
51137         * signal/sigaction.c: Likewise.
51138         * signal/sigaltstack.c: Likewise.
51139         * signal/sigblock.c: Likewise.
51140         * signal/sigignore.c: Likewise.
51141         * signal/sigintr.c: Likewise.
51142         * signal/signal.c: Likewise.
51143         * signal/sigpause.c: Likewise.
51144         * signal/sigpending.c: Likewise.
51145         * signal/sigqueue.c: Likewise.
51146         * signal/sigreturn.c: Likewise.
51147         * signal/sigset.c: Likewise.
51148         * signal/sigsetmask.c: Likewise.
51149         * signal/sigstack.c: Likewise.
51150         * signal/sigsuspend.c: Likewise.
51151         * signal/sigtimedwait.c: Likewise.
51152         * signal/sigvec.c: Likewise.
51153         * signal/sigwait.c: Likewise.
51154         * signal/sigwaitinfo.c: Likewise.
51155         * signal/sysv_signal.c: Likewise.
51156         * socket/accept.c: Likewise.
51157         * socket/accept4.c: Likewise.
51158         * socket/bind.c: Likewise.
51159         * socket/connect.c: Likewise.
51160         * socket/getpeername.c: Likewise.
51161         * socket/getsockname.c: Likewise.
51162         * socket/getsockopt.c: Likewise.
51163         * socket/isfdtype.c: Likewise.
51164         * socket/listen.c: Likewise.
51165         * socket/recv.c: Likewise.
51166         * socket/recvfrom.c: Likewise.
51167         * socket/recvmsg.c: Likewise.
51168         * socket/send.c: Likewise.
51169         * socket/sendmsg.c: Likewise.
51170         * socket/sendto.c: Likewise.
51171         * socket/setsockopt.c: Likewise.
51172         * socket/shutdown.c: Likewise.
51173         * socket/sockatmark.c: Likewise.
51174         * socket/socket.c: Likewise.
51175         * socket/socketpair.c: Likewise.
51176         * stdio-common/ctermid.c: Likewise.
51177         * stdio-common/cuserid.c: Likewise.
51178         * stdio-common/remove.c: Likewise.
51179         * stdio-common/rename.c: Likewise.
51180         * stdio-common/renameat.c: Likewise.
51181         * stdio-common/tempname.c: Likewise.
51182         * stdlib/getcontext.c: Likewise.
51183         * stdlib/makecontext.c: Likewise.
51184         * stdlib/setcontext.c: Likewise.
51185         * stdlib/swapcontext.c: Likewise.
51186         * stdlib/system.c: Likewise.
51187         * streams/fattach.c: Likewise.
51188         * streams/fdetach.c: Likewise.
51189         * streams/getmsg.c: Likewise.
51190         * streams/getpmsg.c: Likewise.
51191         * streams/putmsg.c: Likewise.
51192         * streams/putpmsg.c: Likewise.
51193         * sysdeps/unix/bsd/getpt.c: Likewise.
51194         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51195         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51196         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51198         Likewise.
51199         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51200         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51201         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51202         * sysvipc/msgctl.c: Likewise.
51203         * sysvipc/msgget.c: Likewise.
51204         * sysvipc/msgrcv.c: Likewise.
51205         * sysvipc/msgsnd.c: Likewise.
51206         * sysvipc/semctl.c: Likewise.
51207         * sysvipc/semget.c: Likewise.
51208         * sysvipc/semop.c: Likewise.
51209         * sysvipc/semtimedop.c: Likewise.
51210         * sysvipc/shmat.c: Likewise.
51211         * sysvipc/shmctl.c: Likewise.
51212         * sysvipc/shmdt.c: Likewise.
51213         * sysvipc/shmget.c: Likewise.
51214         * termios/tcdrain.c: Likewise.
51215         * termios/tcflow.c: Likewise.
51216         * termios/tcflush.c: Likewise.
51217         * termios/tcgetattr.c: Likewise.
51218         * termios/tcgetpgrp.c: Likewise.
51219         * termios/tcsendbrk.c: Likewise.
51220         * termios/tcsetattr.c: Likewise.
51221         * termios/tcsetpgrp.c: Likewise.
51222         * time/adjtime.c: Likewise.
51223         * time/clock.c: Likewise.
51224         * time/getitimer.c: Likewise.
51225         * time/gettimeofday.c: Likewise.
51226         * time/setitimer.c: Likewise.
51227         * time/settimeofday.c: Likewise.
51228         * time/stime.c: Likewise.
51229         * time/time.c: Likewise.
51231 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51233         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51234         /usr/old/bin.
51236         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51237         instead of spaces.
51238         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51240 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51242         [BZ #14796]
51243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51244         FE_TONEAREST before applying Dekker multiplication and Knuth
51245         addition.  Clear inexact exceptions and check for exact zero
51246         results afterwards.
51247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51248         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51250         * math/libm-test.inc (fma_test): Add more tests.
51251         (fma_test_towardzero): Likewise.
51252         (fma_test_downward): Likewise.
51253         (fma_test_upward): Likewise.
51254         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51255         function.
51256         (libc_fesetround): New macro.
51257         (libc_fesetroundf): Likewise.
51258         (libc_fesetroundl): Likewise.
51259         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51260         function.
51261         (libc_fesetround_387): Likewise.
51262         (libc_fesetroundf): New macro.
51263         (libc_fesetround): Likewise.
51264         (libc_fesetroundl): Likewise.
51265         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51266         function.
51267         (libc_fesetroundf): New macro.
51268         (libc_fesetround): Likewise.
51269         (libc_fesetroundl): Likewise.
51270         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51271         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51272         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51273         libm_hidden_ver.
51274         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51275         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51276         libm_hidden_def.
51277         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51278         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51279         libm_hidden_ver.
51280         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51281         libm_hidden_def.
51283         [BZ #3439]
51284         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51285         integer constant usable in #if and use that to give value to enum
51286         constant.
51287         (FE_DIVBYZERO): Likewise.
51288         (FE_UNDERFLOW): Likewise.
51289         (FE_OVERFLOW): Likewise.
51290         (FE_INVALID): Likewise.
51291         (FE_INVALID_SNAN): Likewise.
51292         (FE_INVALID_ISI): Likewise.
51293         (FE_INVALID_IDI): Likewise.
51294         (FE_INVALID_ZDZ): Likewise.
51295         (FE_INVALID_IMZ): Likewise.
51296         (FE_INVALID_COMPARE): Likewise.
51297         (FE_INVALID_SOFTWARE): Likewise.
51298         (FE_INVALID_SQRT): Likewise.
51299         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51300         (FE_TONEAREST): Likewise.
51301         (FE_TOWARDZERO): Likewise.
51302         (FE_UPWARD): Likewise.
51303         (FE_DOWNWARD): Likewise.
51304         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51305         (FE_DIVBYZERO): Likewise.
51306         (FE_OVERFLOW): Likewise.
51307         (FE_UNDERFLOW): Likewise.
51308         (FE_INEXACT): Likewise.
51309         (FE_TONEAREST): Likewise.
51310         (FE_DOWNWARD): Likewise.
51311         (FE_UPWARD): Likewise.
51312         (FE_TOWARDZERO): Likewise.
51313         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51314         (FE_UNDERFLOW): Likewise.
51315         (FE_OVERFLOW): Likewise.
51316         (FE_DIVBYZERO): Likewise.
51317         (FE_INVALID): Likewise.
51318         (FE_TONEAREST): Likewise.
51319         (FE_TOWARDZERO): Likewise.
51320         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51321         (FE_OVERFLOW): Likewise.
51322         (FE_UNDERFLOW): Likewise.
51323         (FE_DIVBYZERO): Likewise.
51324         (FE_INEXACT): Likewise.
51325         (FE_TONEAREST): Likewise.
51326         (FE_TOWARDZERO): Likewise.
51327         (FE_UPWARD): Likewise.
51328         (FE_DOWNWARD): Likewise.
51329         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51330         (FE_DIVBYZERO): Likewise.
51331         (FE_OVERFLOW): Likewise.
51332         (FE_UNDERFLOW): Likewise.
51333         (FE_INEXACT): Likewise.
51334         (FE_TONEAREST): Likewise.
51335         (FE_DOWNWARD): Likewise.
51336         (FE_UPWARD): Likewise.
51337         (FE_TOWARDZERO): Likewise.
51339 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51341         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51343 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51345         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51346         commands.  Quote $PWD.
51347         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51348         -x" by "export".
51349         (remove_newlines): Remove.
51351 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51353         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51354         * stdlib/stdlib.h (atof): Moved to ...
51355         * include/bits/stdlib-float.h: Here.  New file.
51356         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51357         * stdlib/bits/stdlib-float.h: New file.
51358         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51359         -mno-sse -mno-mmx.
51360         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51361         <xmmintrin.h>.
51363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51365         * conform/conformtest.pl (@headers): Add fenv.h.
51366         * conform/data/fenv.h-data: New file.
51367         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51368         include of <math/fenv.h>.
51370         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51371         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51372         && !UNIX98].  Enables tests for XOPEN2K8.
51373         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51374         POSIX2008]: Likewise.
51376         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51377         (struct rusage): Do not expect type or its members.
51379         [BZ #3439]
51380         * math/math.h (FP_NAN): Define macro to integer constant usable in
51381         #if and use that to give value to enum constant.
51382         (FP_INFINITE): Likewise.
51383         (FP_ZERO): Likewise.
51384         (FP_SUBNORMAL): Likewise.
51385         (FP_NORMAL): Likewise.
51387 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51389         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51390         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51391         arguments.
51393 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51395         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51396         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51397         autoconf-time if not.
51398         * configure.in: Remove AC_PREREQ.
51400 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51402         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51403         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51404         of the internal implementation.
51406 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51408         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51409         except include of <misc/sys/syslog.h>.
51411 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51414         function returns with a NULL context exit with zero.
51416 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51418         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51420 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51422         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51423         (run_program_cmd): This.
51424         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51425         (tst_langinfo): New variable.  Use it.
51427 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51429         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51430         floating point opcodes.
51432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51434         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51435         variable.
51437         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51439         * sysdeps/mach/hurd/powerpc: Remove directory.
51440         * sysdeps/mach/powerpc: Likewise.
51442 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51444         * scripts/check-local-headers.sh: Ignore c++ headers.
51446 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51448         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51449         __libc_cleanup_region_start argument.
51451 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51453         [BZ #14784]
51454         [BZ #14785]
51455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51456         x * y using scaling, not as x * y + z.
51457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51459         * math/libm-test.inc (fma_test): Add more tests.
51460         (fma_test_towardzero): Likewise.
51461         (fma_test_downward): Likewise.
51462         (fma_test_upward): Likewise.
51464 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51466         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51468 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51470         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51471         New variable.
51473 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51475         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51477 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51480         Fix sort order.
51481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51482         Likewise.
51484 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51487         Fix the order of the list for glibc 2.17.
51488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51489         Likewise.
51491 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51495 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51497         [BZ #14610]
51498         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51499         for low part of x being zero before using __atanl (y).
51500         * math/libm-test.inc (atan2_test): Add another test.
51502         * manual/install.texi (Configuring and compiling): Document
51503         general use of test-wrapper and test-wrapper-env.
51504         * INSTALL: Regenerated.
51506         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51507         (__fma): Do not extract and scale down low bits on after-rounding
51508         systems when result rounded to normal precision would have normal
51509         exponent.
51510         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51511         (__fmal): Do not extract and scale down low bits on after-rounding
51512         systems when result rounded to normal precision would have normal
51513         exponent.
51514         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51515         (__fmal): Do not extract and scale down low bits on after-rounding
51516         systems when result rounded to normal precision would have normal
51517         exponent.
51518         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51519         macro.
51520         (fma_test): Add more tests.
51521         (fma_test_towardzero): Likewise.
51522         (fma_test_downward): Likewise.
51523         (fma_test_upward): Likewise.
51525 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51527         * sysdeps/i386/tininess.h: Renamed to ...
51528         * sysdeps/x86/tininess.h: This.
51529         * sysdeps/x86_64/tininess.h: Removed.
51531 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51533         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51534         input.  Use $(build-program-cmd).
51535         ($(objpfx)tst-array1-static.out): Likewise.
51536         ($(objpfx)tst-array2.out): Likewise.
51537         ($(objpfx)tst-array3.out): Likewise.
51538         ($(objpfx)tst-array4.out): Likewise.
51539         ($(objpfx)tst-array5.out): Likewise.
51540         ($(objpfx)tst-array5-static.out): Likewise.
51542 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51544         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51545         if defined.
51547         * nss/nsswitch.h (nss_interface_function): Provide new
51548         macro for use with NSS functions.
51549         * grp/initgroups.c: Use new macro.
51550         * nss/getXXbyYY.c: Likewise.
51551         * nss/getXXbyYY_r.c: Likewise.
51552         * nss/getXXent.c: Likewise.
51553         * nss/getXXent_r.c: Likewise.
51554         * sysdeps/posix/getaddrinfo.c: Likewise.
51556 2012-10-30  Andreas Jaeger  <aj@suse.de>
51558         * po/ru.po: Update Russion translation from translation project.
51560 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51562         [BZ #14152]
51563         [BZ #14783]
51564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51565         result and shift together with sticky bit instead of replicating
51566         round-to-nearest rounding.
51567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51569         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51570         missing underflow exceptions.
51571         (fma_test_towardzero): Add more tests.
51572         (fma_test_downward): Likewise.
51573         (fma_test_upward): Likewise.
51575         [BZ #14047]
51576         * sysdeps/generic/tininess.h: New file.
51577         * sysdeps/i386/tininess.h: Likewise.
51578         * sysdeps/sh/tininess.h: Likewise.
51579         * sysdeps/x86_64/tininess.h: Likewise.
51580         * stdlib/tst-strtod-underflow.c: Likewise.
51581         * stdlib/tst-tininess.c: Likewise.
51582         * stdlib/strtod_l.c: Include <tininess.h>.
51583         (round_and_return): Do not set errno for exact underflow cases.
51584         Force an underflow exception when setting errno for underflow.
51585         Determine underflow based on rounding to normal precision if
51586         TININESS_AFTER_ROUNDING.
51587         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51588         ERANGE for exact underflow cases.
51589         * stdlib/Makefile (tests): Add tst-tininess and
51590         tst-strtod-underflow.
51591         ($(objpfx)tst-tininess): Use $(link-libm).
51592         ($(objpfx)tst-strtod-underflow): Likewise.
51594 2012-10-30  Andreas Jaeger  <aj@suse.de>
51596         [BZ#14767]
51597         * elf/Makefile (tests): Remove conditional for have-initfini-array
51598         since this is now always required and the variable does not exist
51599         anymore.
51600         (tests-static): Likewise.
51601         (modules-names): Likewise.
51603         * po/eo.po: Add Esperanto translation from translation project.
51605         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51606         merged with constructor/destructor.
51607         (init_array): Likewise.
51608         * elf/tst-array2dep.c (fini_array): Likewise.
51609         (init_array): Likewise.
51611 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51613         * manual/message.texi: Delete @cartouche tags.
51615 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51617         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51618         EOPNOTSUPP.
51619         * sysdeps/mach/hurd/fsync.c: Likewise.
51621         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51622         [_POSIX_REALTIME_SIGNALS]: Change condition to
51623         [_POSIX_REALTIME_SIGNALS > 0].
51625 2012-10-27  Andreas Jaeger  <aj@suse.de>
51627         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51628         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51630         [__WORDSIZE != 64]: Likewise.
51632 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51634         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51635         *  iconvdata/tst-tables.sh: Likewise.
51637 2012-10-25  David S. Miller  <davem@davemloft.net>
51639         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51640         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51641         of strtoull.
51643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51644         ifunc-impl-list.c
51645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51646         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51647         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51648         file.
51650 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51652         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51653         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51654         __getdirentries.
51656 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51657             Jim Blandy  <jimb@codesourcery.com>
51659         * scripts/cross-test-ssh.sh: New file.
51660         * manual/install.texi (Configuring and compiling): Document use of
51661         cross-test-ssh.sh.
51662         * INSTALL: Regenerated.
51664 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51666         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51667         EOPNOTSUPP.
51669 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51671         * Makeconfig (run-program-prefix): Fix comment.
51673 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51674             Jim Blandy  <jimb@codesourcery.com>
51676         * Makeconfig (test-wrapper): New variable,
51677         (test-wrapper-env): Likewise.
51678         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51679         (run-built-tests): Define to yes.
51680         (run-program-prefix): Use $(test-wrapper).
51681         (built-program-cmd): Likewise.
51682         * Rules (make-test-out): Use $(test-wrapper-env) and
51683         $(host-built-program-cmd).
51684         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51685         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51686         tst-pathopt.sh.
51687         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51688         $(test-wrapper-env) to tst-rtld-load-self.sh.
51689         ($(objpfx)order2.out): Use $(test-wrapper).
51690         ($(objpfx)tst-initorder.out): Likewise.
51691         ($(objpfx)tst-initorder2.out): Likewise.
51692         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51693         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51694         (test_wrapper_env): New variable.  Use it to run ld.so.
51695         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51696         Use it to run ld.so.
51697         (test_wrapper_env): Likewise.
51698         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51699         $(test-wrapper) to run-iconv-test.sh.
51700         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51701         (ICONV): Use $test_wrapper.
51702         * posix/Makefile ($(objpfx)globtest.out): Pass
51703         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51704         globtest.sh, not $(run-program-prefix).
51705         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51706         (test_wrapper): Likewise.
51707         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51708         set together with run_via_rtld_prefix.
51709         (run_program_prefix): Define in terms of test_wrapper and
51710         run_via_rtld_prefix.
51712 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51714         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51715         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51716         Targets removed.
51718         [BZ #14743]
51719         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51720         Declare __clock_getres, __clock_gettime, __clock_settime,
51721         __clock_nanosleep, and __clock_getcpuclockid.
51722         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51723         Remove librt_hidden_def (clock_gettime).
51724         * sysdeps/unix/clock_gettime.c: Likewise.
51725         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51726         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51727         * rt/clock_getres.c: Define __clock_getres as an alias.
51728         * sysdeps/posix/clock_getres.c: Likewise.
51729         * rt/clock_settime.c: Define __clock_settime as an alias.
51730         * sysdeps/unix/clock_settime.c: Likewise.
51731         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51732         * sysdeps/unix/clock_nanosleep.c: Likewise.
51733         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51734         * rt/clock-compat.c: New file.
51735         * rt/Makefile (librt-routines): Add clock-compat and move
51736         $(clock-routines) to ...
51737         (routines): ... here, new variable.
51738         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51739         Don't add get_clockfreq here.
51740         * rt/Versions (libc: GLIBC_2.17): New version set.
51741         Add clock_* symbols here.
51742         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51744         (GLIBC_2.17): Add clock_* symbols.
51745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51749         Likewise.
51750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51751         Likewise.
51752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51756         * NEWS: Mention the move.
51758         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51759         Use __open, __read, __close rather than their public counterparts.
51760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51761         (__get_clockfreq_via_cpuinfo): Likewise.
51762         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51763         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51765         * config.h.in (HAVE_IFUNC): New #undef.
51766         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51767         was successful.
51768         * configure: Regenerated.
51770 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51772         * configure.in: Move READELF check to start of file.
51773         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51774         libc_cv_asm_gnu_indirect_function in the process.
51775         * configure: Regenerated.
51777 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51779         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51780         send the output to /dev/null.
51781         (libc_cv_cc_with_libunwind): Likewise.
51782         (libc_cv_as_noexecstack): Likewise.
51783         * configure: Regenerate.
51785 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51787         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51789         * posix/globtest.sh (TMPDIR): Do not set.
51790         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51791         (testout): Likewise.
51793 2012-10-24  Andreas Jaeger  <aj@suse.de>
51795         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51796         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51797         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51798         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51799         posix_fadvise64, posix_fallocate64.
51801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51802         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51803         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51804         Likewise.
51805         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51806         Likewise.
51807         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51810         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51811         <bits/fcntl-linux.h>.
51812         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51815         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51816         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51817         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51818         [__WORDSIZE != 64]: Likewise.
51820 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51822         * Makeconfig (run-built-tests): New variable.
51823         * Rules [$(cross-compiling) = yes]: Change condition to
51824         [$(run-built-tests) = no].
51825         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51826         to [$(run-built-tests) = yes].
51827         * elf/Makefile [$(cross-compiling) = no]: Likewise.
51828         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51829         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51830         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51831         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51832         * io/Makefile [$(cross-compiling) = no]: Likewise.
51833         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51834         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51835         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51836         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51837         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51838         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51839         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51840         * string/Makefile [$(cross-compiling) = no]: Likewise.
51842         * posix/Makefile ($(objpfx)globtest.out): Pass
51843         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51844         $(rtld-installed-name).
51845         * posix/globtest.sh (elf_objpfx): Remove variable.
51846         (rtld_installed_name): Likewise.
51847         (library_path): Likewise.
51848         (run_program_prefix): New variable.  Use for running globtest
51849         binary.
51851 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51852             Joseph Myers  <joseph@codesourcery.com>
51854         * Makeconfig (host-built-program-cmd): New variable.
51855         * elf/Makefile (tst-stackguard1-ARGS): Use
51856         $(host-built-program-cmd).
51857         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51858         (tst-spawn-ARGS): Likewise.
51859         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51861 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51862             Jim Blandy  <jimb@codesourcery.com>
51864         * Makeconfig (run-via-rtld-prefix): New variable.
51865         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51866         (built-program-cmd): Likewise.
51868 2012-10-22  Andreas Jaeger  <aj@suse.de>
51870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51871         __O_RSYNC if it exists, otherwise to O_SYNC.
51873 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51874             Joseph Myers  <joseph@codesourcery.com>
51876         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51877         /dev/null.
51878         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51879         from /dev/null
51880         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51881         /dev/null.
51883 2012-10-22  Andreas Jaeger  <aj@suse.de>
51885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51886         Define always.
51887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51890         bits/fcntl-linux.h.
51892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51893         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51896         to __O_LARGEFILE.
51897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51898         to __O_LARGEFILE.
51900 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51901             Joseph Myers  <joseph@codesourcery.com>
51903         * config.make.in (NM): New variable.
51905 2012-10-21  Andreas Jaeger  <aj@suse.de>
51907         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51908         definitions and declarations that are provided by
51909         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51911 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51913         [BZ #14683]
51914         * elf/Makefile (tests-static): Add tst-leaks1-static.
51915         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51916         ($(objpfx)tst-leaks1-static): New rule.
51917         ($(objpfx)tst-leaks1-static-mem): Likewise.
51918         (tst-leaks1-static-ENV): New macro.
51919         * elf/dl-open.c (dl_open_worker): Check the main application
51920         only if SHARED is defined.
51921         * elf/tst-leaks1-static.c: New file.
51923 2012-10-20  Andreas Jaeger  <aj@suse.de>
51925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51926         generic values for Linux.
51927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51928         and declarations that are provided by <bits/fcntl-linux.h> and
51929         include <bits/fcntl-linux.h>.
51930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51933 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51935         * io/fcntl.h: Move include of <bits/types.h> to the top and
51936         include it unconditionally.
51938 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51940         * wcsmbs/Makefile (tests-ifunc): New variable.
51941         (tests): Add $(tests-ifunc).
51942         * wcsmbs/test-wcschr-ifunc.c: New file.
51943         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51944         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51945         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51946         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51947         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51949         * string/Makefile (tests-ifunc): New variable.
51950         (tests): Add $(tests-ifunc).
51951         * string/test-memccpy.c (TEST_NAME): New macro.
51952         * string/test-memchr.c (TEST_NAME): Likewise.
51953         * string/test-memcmp.c (TEST_NAME): Likewise.
51954         * string/test-memcpy.c (TEST_NAME): Likewise.
51955         * string/test-memmem.c (TEST_NAME): Likewise.
51956         * string/test-memmove.c (TEST_NAME): Likewise.
51957         * string/test-memset.c (TEST_NAME): Likewise.
51958         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51959         * string/test-stpcpy.c (TEST_NAME): Likewise.
51960         * string/test-stpncpy.c (TEST_NAME): Likewise.
51961         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51962         * string/test-strcasestr.c (TEST_NAME): Likewise.
51963         * string/test-strcat.c (TEST_NAME): Likewise.
51964         * string/test-strchr.c (TEST_NAME): Likewise.
51965         * string/test-strcmp.c(TEST_NAME): Likewise.
51966         * string/test-strcpy.c (TEST_NAME): Likewise.
51967         * string/test-strcspn.c (TEST_NAME): Likewise.
51968         * string/test-strlen.c (TEST_NAME): Likewise.
51969         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51970         * string/test-strncmp.c (TEST_NAME): Likewise.
51971         * string/test-strncpy.c (TEST_NAME): Likewise.
51972         * string/test-strnlen.c (TEST_NAME): Likewise.
51973         * string/test-strpbrk.c (TEST_NAME): Likewise.
51974         * string/test-strrchr.c (TEST_NAME): Likewise.
51975         * string/test-strspn.c (TEST_NAME): Likewise.
51976         * string/test-strstr.c (TEST_NAME): Likewise.
51977         * string/test-bcopy-ifunc.c: New file.
51978         * string/test-bzero-ifunc.c: Likewise.
51979         * string/test-memccpy-ifunc.c: Likewise.
51980         * string/test-memchr-ifunc.c: Likewise.
51981         * string/test-memcmp-ifunc.c: Likewise.
51982         * string/test-memcpy-ifunc.c: Likewise.
51983         * string/test-memmem-ifunc.c: Likewise.
51984         * string/test-memmove-ifunc.c: Likewise.
51985         * string/test-mempcpy-ifunc.c: Likewise.
51986         * string/test-memset-ifunc.c: Likewise.
51987         * string/test-rawmemchr-ifunc.c: Likewise.
51988         * string/test-stpcpy-ifunc.c: Likewise.
51989         * string/test-stpncpy-ifunc.c: Likewise.
51990         * string/test-strcasecmp-ifunc.c: Likewise.
51991         * string/test-strcasestr-ifunc.c: Likewise.
51992         * string/test-strcat-ifunc.c: Likewise.
51993         * string/test-strchr-ifunc.c: Likewise.
51994         * string/test-strchrnul-ifunc.c: Likewise.
51995         * string/test-strcmp-ifunc.c: Likewise.
51996         * string/test-strcpy-ifunc.c: Likewise.
51997         * string/test-strcspn-ifunc.c: Likewise.
51998         * string/test-strlen-ifunc.c: Likewise.
51999         * string/test-strncasecmp-ifunc.c: Likewise.
52000         * string/test-strncat-ifunc.c: Likewise.
52001         * string/test-strncmp-ifunc.c: Likewise.
52002         * string/test-strncpy-ifunc.c: Likewise.
52003         * string/test-strnlen-ifunc.c: Likewise.
52004         * string/test-strpbrk-ifunc.c: Likewise.
52005         * string/test-strrchr-ifunc.c: Likewise.
52006         * string/test-strspn-ifunc.c: Likewise.
52007         * string/test-strstr-ifunc.c: Likewise.
52009         * debug/Makefile (tests-ifunc): New variable.
52010         (tests): Add $(tests-ifunc).
52011         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52012         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52013         * debug/test-stpcpy_chk-ifunc.c: New file.
52014         * debug/test-strcpy_chk-ifunc.c: Likewise.
52016 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52018         [BZ #13601]
52019         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52020         header is not read in.
52022 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52024         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52025         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52026         directly.  Pass built executable to script as
52027         $(built-program-cmd).
52028         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52029         $testprogram without using LD_LIBRARY_PATH and $ldso.
52031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52032         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52033         $(rtld-installed-name).
52034         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52035         (rtld_installed_name): Likewise.
52036         (library_path): Likewise.
52037         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52038         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52039         $(run-program-prefix) to tst-tables.sh.
52040         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52041         it to run tst-table-from and tst-table-to.
52042         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52043         Pass it to tst-table.sh.
52044         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52045         $(run-program-prefix) to tst-gettext.sh.
52046         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52047         tst-translit.sh.
52048         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52049         tst-gettext2.sh.
52050         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52051         to run tst-gettext.
52052         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52053         to run tst-gettext2.
52054         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52055         to run tst-translit.
52056         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52057         $(run-program-prefix) to tst-mtrace.sh.
52058         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52059         to run tst-mtrace.
52060         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52061         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52062         $(rtld-installed-name).
52063         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52064         (rtld_installed_name): Likewise.
52065         (run_program_prefix): New variable.  Use it to run wordexp-test.
52067         * Makeconfig (ARCH): Remove all definitions.
52068         (machine): Likewise.
52069         [ARCH]: Remove conditional code.
52070         [!objdir]: Give error.
52071         [!objdir] (objpfx): Remove.
52072         [!objdir] (common-objpfx): Likewise.
52073         [!objdir] (common-objdir): Likewise.
52074         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52075         AC_CONFIG_FILES call.
52076         * configure: Regenerated.
52078         [BZ #13888]
52079         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52080         or TMPDIR.
52081         (testout): Likewise.
52083         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52084         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52085         $(rtld-installed-name).
52086         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52087         (rtld_installed_name): Likwise.
52088         (runit): Remove function.
52089         (run_getconf): New variable,  Use it for running getconf binary.
52091 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52093         [BZ #14716]
52094         * string/test-memmem.c (check_result): New function.
52095         (do_one_test): Use it.
52096         (check1): New function.
52097         (test_main): Use it.
52099 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52101         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52103 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52105         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52106         (_G_LSEEK64): Likewise.
52107         (_G_MMAP64): Likewise.
52108         (_G_FSTAT64): Likewise.
52109         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52110         (_G_LSEEK64): Likewise.
52111         (_G_MMAP64): Likewise.
52112         (_G_FSTAT64): Likewise.
52113         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52114         unconditional.  Call __mmap64 directly.
52115         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52116         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52117         __lseek64 directly.
52118         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52119         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52120         __mmap64 directly.
52121         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52122         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52123         __lseek64 directly.
52124         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52125         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52126         __lseek64 directly.
52127         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52128         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52129         __lseek64 directly.
52130         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52131         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52132         __fxstat64 directly.
52133         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52134         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52135         unconditional.
52136         (freopen64) [!_G_OPEN64]: Remove conditional code.
52137         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52138         unconditional.
52139         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52140         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52141         unconditional.
52142         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52143         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52144         unconditional.
52145         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52146         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52147         unconditional.
52148         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52149         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52150         unconditional.
52151         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52152         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52153         unconditional.
52154         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52155         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52156         unconditional.
52157         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52159 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52161         [BZ #12140]
52162         * manual/memory.texi (Malloc Tunable Parameters): Add note
52163         about free list pointers overwriting some perturb bytes.
52164         Wording suggested by Roland McGrath.
52166 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52168         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52169         (lgamma_test): Likewise.
52170         (tgamma_test): Likewise.
52172 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52174         [BZ #14700]
52175         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52176         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52178 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52180         * NEWS: Mention BZ #14716.
52181         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52182         when removing AVAILABLE1_USES_J macro.
52184 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52186         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52187         (__bswap_64): __uint64_t for unsigned 64-bit int.
52189 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52191         * include/string.h (memmem): Declare libc hidden alias.
52192         * string/memmem.c (memmem): Define libc hidden alias.
52193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52194         __read, __close instead of open, read, close.
52196 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52199         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52200         global and hidden.
52201         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52202         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52203         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52204         Likewise.
52205         (__rawmemchr_sse2): Likewise.
52206         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52207         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52208         (__strchr_sse2): Likewise.
52209         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52210         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52211         (__strcasecmp_sse2): Likewise.
52212         (__strncasecmp_sse2): Likewise.
52213         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52214         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52215         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52216         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52217         (__strrchr_sse2): Likewise.
52218         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52219         ifunc-impl-list.c.
52220         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52221         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52222         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52224         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52226         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52227         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52228         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52229         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52230         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52231         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52232         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52233         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52234         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52235         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52236         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52237         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52238         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52239         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52240         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52241         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52242         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52243         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52244         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52245         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52246         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52247         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52248         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52249         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52251         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52252         global and hidden.
52253         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52254         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52255         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52256         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52257         Likewise.
52258         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52259         Likewise.
52260         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52261         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52262         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52263         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52264         ifunc-impl-list.c.
52265         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52266         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52267         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52268         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52269         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52270         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52271         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52272         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52273         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52274         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52275         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52276         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52277         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52278         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52279         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52280         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52281         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52282         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52283         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52284         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52286         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52287         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52288         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52289         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52290         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52291         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52292         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52293         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52294         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52295         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52296         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52297         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52298         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52300         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52301         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52302         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52303         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52304         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52305         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52307         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52308         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52309         * include/ifunc-impl-list.h: New file.
52310         * misc/ifunc-impl-list.c: Likewise.
52311         * misc/Makefile (routines): Add ifunc-impl-list.
52312         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52313         * string/test-string.h: Include <ifunc-impl-list.h>.
52314         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52315         TEST_NAME]: New variables.
52316         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52317         are defined.
52318         (test_init): Call __libc_ifunc_impl_list to initialize
52319         func_list if TEST_IFUNC and TEST_NAME are defined.
52321         * string/Makefile (strop-tests): Add bcopy and bzero.
52322         * string/test-bcopy.c: New file.
52323         * string/test-bzero.c: Likewise.
52324         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52325         defined.
52326         * string/test-memset.c: Support bzero test if TEST_BZERO is
52327         defined.
52328         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52329         __libc_memmove.
52330         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52331         __libc_memset.
52332         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52333         of memset.
52335 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52337         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52338         * configure: Regenerated.
52340         * Makeconfig (+link-static-before-libc): Don't include
52341         $(link-static-libc).
52343         * libio/libio.h (_IO_pos_t): Remove.
52345 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52347         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52348         McGrath.
52350 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52352         * crypt/crypt-entry.c: Include fips-private.h.
52353         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52354         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52355         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52356         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52358 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52360         * crypt/crypt-private.h: Include stdbool.h.
52361         (_ufc_setup_salt_r): Return bool.
52362         * crypt/crypt-entry.c: Include errno.h.
52363         (__crypt_r): Return NULL with EINVAL for bad salt.
52364         * crypt/crypt_util.c (bad_for_salt): New.
52365         (_ufc_setup_salt_r): Check that salt is long enough and within
52366         the specified alphabet.
52367         * crypt/badsalttest.c: New file.
52368         * crypt/Makefile (tests): Add it.
52369         ($(objpfx)badsalttest): New.
52371 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52373         * NEWS: Add entry for BZ #14602.
52375 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52377         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52378         type-generic.
52379         * math/libm-test.inc: Update comment listing what functions and
52380         macros are tested.
52381         (isgreater_test): New function.
52382         (isgreaterequal_test): Likewise.
52383         (isless_test): Likewise.
52384         (islessequal_test): Likewise.
52385         (islessgreater_test): Likewise.
52386         (isunordered_test): Likewise.
52387         (main): Call the new functions.
52389 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52391         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52392         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52393         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52394         * sysdeps/i386/configure: Regenerated.
52395         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52396         * sysdeps/mach/configure: Regenerated.
52397         * sysdeps/mach/hurd/configure: Regenerated.
52398         * sysdeps/powerpc/configure: Regenerated.
52399         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52400         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52401         * sysdeps/s390/s390-32/configure: Regenerated.
52402         * sysdeps/s390/s390-64/configure: Regenerated.
52403         * sysdeps/sh/configure: Regenerated.
52404         * sysdeps/sparc/configure: Regenerated.
52405         * sysdeps/unix/sysv/linux/configure: Regenerated.
52406         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52407         * sysdeps/x86_64/configure: Regenerated.
52409         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52410         defined.  Don't check if MAP is NULL.
52412 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52414         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52415         (_G_stat64): Likewise.
52416         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52417         (_G_stat64): Likewise.
52418         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52419         instead of struct _G_stat64.
52420         * libio/fileops.c (mmap_remap_check): Likewise.
52421         (decide_maybe_mmap): Likewise.
52422         (_IO_new_file_seekoff): Likewise.
52423         (_IO_file_stat): Likewise.
52424         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52425         _G_off64_t.
52426         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52427         instead of struct _G_stat64.
52428         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52430 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52432         [BZ #14602]
52433         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52434         Replace with ...
52435         (CHECK_EOL): New macro.
52436         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52437         CHECK_EOL.
52438         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52439         Replace with CHECK_EOL.
52440         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52441         Replace with CHECK_EOL.
52443 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52445         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52446         type-generic.
52447         * math/libm-test.inc: Update comment listing what functions and
52448         macros are tested.
52449         (finite_test): New function.
52450         (isinf_test): Likewise.
52451         (isnan_test): Likewise.
52452         (fpclassify_test): Test subnormal input.
52453         (isfinite_test): Likewise.
52454         (isnormal_test): Likewise.
52455         (main): Call the new functions.
52457 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52459         [BZ #14660]
52460         * Makerules (%.dynsym): Force C locale when running
52461         $(OBJDUMP) --dynamic-syms.
52463 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52465         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52466         <stdint.h>.
52468 2012-10-06  David S. Miller  <davem@davemloft.net>
52470         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52471         upper 32-bits of the length value in %o2 since we use branch-on-register
52472         tests which consider the entire 64-bit register.
52474 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52476         * string/test-strstr.c (check2): Add a test for page boundary.
52478 2012-10-05  David S. Miller  <davem@davemloft.net>
52480         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52481         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52482         file.
52483         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52484         sysdep_routines.
52485         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52486         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52487         and bzero when HWCAP_SPARC_CRYPTO is present.
52489 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52491         [BZ #14602]
52492         * string/test-strstr.c (check2): New function.
52493         (test_main): Call check2.
52495         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52496         and bug-strchr1.
52497         * string/bug-strcasestr1.c (do_test): Moved to ...
52498         * string/test-strcasestr.c (check1): Here.  New function.
52499         (do_one_test): Break out result checking code into ...
52500         (check_result): This.  New function.
52501         (do_one_test): Call check_result.
52502         (test_main): Call check1.
52503         * string/bug-strchr1.c (do_test): Moved to ...
52504         * string/test-strchr.c (check1): Here.  New function.
52505         (do_one_test): Break out result checking code into ...
52506         (check_result): This.  New function.
52507         (do_one_test): Call check_result.
52508         (test_main): Call check1.
52509         * string/bug-strstr1.c (main): Moved to ...
52510         * string/test-strstr.c (check1): Here.  New function.
52511         (do_one_test): Break out result checking code into ...
52512         (check_result): This.  New function.
52513         (do_one_test): Call check_result.
52514         (test_main): Call check1.
52515         * string/bug-strcasestr1.c: Removed.
52516         * string/bug-strchr1.c: Likewise.
52517         * string/bug-strstr1.c: Likewise.
52519         * elf/Makefile (dl-routines): Add hwcaps.
52520         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52521         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52522         (_dl_important_hwcaps): Moved to ...
52523         * elf/dl-hwcaps.c: Here.  New file.
52524         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52526         [BZ #14557]
52527         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52528         if IS_IN_rtld isn't defined.
52530         * elf/dl-support.c (_dl_sysinfo_map): New.
52531         Include "get-dynamic-info.h" and "setup-vdso.h".
52532         (_dl_non_dynamic_init): Call setup_vdso.
52533         * elf/dynamic-link.h: Don't include <assert.h>.
52534         (elf_get_dynamic_info): Moved to ...
52535         * elf/get-dynamic-info.h: Here.  New file.
52536         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52537         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52538         * elf/setup-vdso.h: Here.  New file.
52539         * elf/rtld.c: Include "setup-vdso.h".
52540         (dl_main): Call setup_vdso.
52542 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52544         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52545         creal in comment listing functions tested.  List finite, isinf,
52546         isnan, isless, islessequal, isgreater, isgreaterequal,
52547         islessgreater, isunordered, lgamma_r and pow10 as functions and
52548         macros not tested.  Mention which functions not tested are aliases
52549         for other functions.  Fix typo.  Note that signs of NaNs are not
52550         tested.
52552         * scripts/config.guess: Update from config.git.
52553         * scripts/config.sub: Likewise.
52555 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52557         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52558         * misc/madvise.c (madvise): Renamed to __madvise.
52559         Make madvise a weak alias.
52560         * include/sys/mman.h: Declare __madvise.
52561         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52562         * sysdeps/unix/syscalls.list
52563         (madvise): Make __madvise the strong name, and madvise a weak alias.
52564         * sysdeps/unix/sysv/linux/syscalls.list
52565         (madvise, mmap): Remove redundant entries.
52566         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52567         * malloc/malloc.c (mtrim): Likewise.
52568         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52572         * sysdeps/mach/hurd/dl-cache.c: File removed.
52573         * config.h.in (USE_LDCONFIG): New #undef.
52574         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52575         * configure: Regenerated.
52576         * elf/Makefile (dl-routines): Add dl-cache only under
52577         [$(use-ldconfig) = yes].
52578         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52579         cache on [USE_LDCONFIG].
52580         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52581         [USE_LDCONFIG].
52582         * elf/rtld.c (dl_main): Likewise.
52584 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52586         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52587         _SC_LEVEL4_CACHE_LINESIZE.
52589 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52591         * sysdeps/unix/bsd/confstr.h: File removed.
52593 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52595         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52596         sys/sdt-config.h.
52598 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52600         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52601         Make 'mapoff' field ElfW(Off) rather than off_t.
52603 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52605         * nscd/Makefile: Remove nscd-cflags and all its users.
52606         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52607         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52609         [BZ #10631]
52610         * malloc.c (malloc_printerr): Clarify error message.
52612 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52614         [BZ #14648]
52615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52616         Set bit_FMA_Usable if FMA is supported.
52617         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52618         macro.
52619         (bit_FMA4_Usable): Updated.
52620         (index_FMA_Usable): New macro.
52621         (CPUID_FMA): Likewise.
52622         (HAS_FMA): Defined with bit_FMA_Usable.
52624 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52626         * bits/types.h (__swblk_t): Type removed.
52627         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52628         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52630         (__SWBLK_T_TYPE): Likewise.
52631         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52632         (__SWBLK_T_TYPE): Likewise.
52633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52634         (__SWBLK_T_TYPE): Likewise.
52635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52636         (__SWBLK_T_TYPE): Likewise.
52638 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52639             Honza Horak <hhorak@redhat.com>
52641         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52642         (xdr_mapname): Use YPMAXMAP as maxsize.
52643         (xdr_peername): Use YPMAXPEER as maxsize.
52644         (xdr_keydat): Use YPAXRECORD as maxsize.
52645         (xdr_valdat): Use YPMAXRECORD as maxsize.
52647 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52649         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52651         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52652         * csu/init-first.c: ... here.
52653         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52654         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52655         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52656         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52657         * sysdeps/i386/init-first.c: File removed.
52658         * sysdeps/sh/init-first.c: File removed.
52660 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52662         [BZ #14645]
52663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52664         if x * y might underflow to zero and z is zero.
52665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52667         * math/libm-test.inc (min_subnorm_value): New variable.
52668         (fma_test): Add more tests.
52669         (fma_test_towardzero): Likewise.
52670         (fma_test_downward): Likewise.
52671         (fma_test_upward): Likewise.
52672         (initialize): Set min_subnorm_value.
52674 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52676         [BZ #14638]
52677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52678         0 + 0.
52679         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52680         mode for addition resulting in exact zero.
52681         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52683         exact 0 + 0.
52684         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52686         * math/libm-test.inc (fma_test): Add more tests.
52687         (fma_test_towardzero): New function.
52688         (fma_test_downward): Likewise.
52689         (fma_test_upward): Likewise.
52690         (main): Call the new functions.
52692 2012-09-28  David S. Miller  <davem@davemloft.net>
52694         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52696 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52698         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52699         instead of SIGALRM.
52701         * sysdeps/gnu/_G_config.h: Moved to ...
52702         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52703         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52704         * sysdeps/generic/_G_config.h: ... here.
52706         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52708         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52710         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52711         Conditionalize target on [libnss_test1.so-version].
52713         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52715         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52716         (elfobjdir): Move out of conditionals.
52718         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52719         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52720         (__nss_lookup_function): Conditionalize label remove_from_tree on
52721         [!DO_STATIC_NSS || SHARED], matching its only use.
52723 2012-09-28  David S. Miller  <davem@davemloft.net>
52725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52726         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52727         file.
52728         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52729         sysdep_routines.
52730         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52732         when HWCAP_SPARC_CRYPTO is present.
52734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52736         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52738 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52740         [BZ #6530]
52741         * stdio-common/vfprintf.c (process_string_arg): Revert
52742         2000-07-22 change.
52744 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52746         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52747         for testcase.
52748         * stdio-common/tst-sprintf.c: Include <locale.h>
52749         (main): Test sprintf's handling of incomplete multibyte
52750         characters.
52752 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52754         * elf/dl-runtime.c (VERSYMIDX): Removed.
52755         * elf/dl-version.c (VERSYMIDX): Likewise.
52756         * elf/do-rel.h (VERSYMIDX): Likewise.
52757         (VALIDX): Likewise.
52758         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52759         * elf/rtld.c (VALIDX): Likewise.
52760         (ADDRIDX): Likewise.
52761         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52762         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52763         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52764         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52765         (VALIDX): Likewise.
52766         (ADDRIDX): Likewise.
52768 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52770         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52772 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52774         [BZ #11438]
52775         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52776         to global scope.
52777         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52778         addresses are in the same scope as 192.0.2/24.
52779         * posix/gai.conf: Document new scope table defaults.
52781 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52783         [BZ #5298]
52784         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52785         for ftell.  Compute offsets from write pointers instead.
52786         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52788 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52790         [BZ #14543]
52791         * libio/Makefile (tests): New test case tst-fseek.
52792         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52793         combination works in wide mode.
52794         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52795         state when the external buffer state changes.
52797 2012-09-27  David S. Miller  <davem@davemloft.net>
52799         [BZ #14376]
52800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52801         pass reloc->r_addend in as the 'high' argument to
52802         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52806 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52808         * rt/tst-aio2.c: Include <pthread.h>.
52809         * rt/tst-aio3.c: Likewise.
52811 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52813         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52815 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52817         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52818         contents on [SHARED].
52820 2012-09-26  Marek Polacek  <polacek@redhat.com>
52822         [BZ #14530]
52823         [BZ #13741]
52824         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52825         for C++ and GCC <4.3 as well as for non GCC compilers.
52827 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52831 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52833         * Makefile.in (all, install): Declare with .PHONY.
52834         Reported by Michael Hope <michael.hope@linaro.org>.
52836 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52838         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52839         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52840         system header.
52841         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52842         Likewise.
52843         (sydep_routines): Add the new and the internal functions.
52844         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52845         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52847         (GLIBC_2.17): Add the new function.
52848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52849         (GLIBC_2.17): Likewise.
52850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52851         (GLIBC_2.17): Likewise.
52852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52853         (GLIBC_2.17): Likewise.
52854         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52856 2012-09-25  Alan Modra  <amodra@gmail.com>
52858         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52859         Add release barrier before setting once_control to say
52860         initialisation is done.  Add hints on lwarx.  Use macro in
52861         place of isync.
52862         (clear_once_control): Add release barrier.
52864 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52866         [BZ #13629]
52867         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52868         specially.
52869         * math/s_clog10.c (__clog10): Likewise.
52870         * math/s_clog10f.c (__clog10f): Likewise.
52871         * math/s_clog10l.c (__clog10l): Likewise.
52872         * math/s_clogf.c (__clogf): Likewise.
52873         * math/s_clogl.c (__clogl): Likewise.
52874         * math/Makefile (libm-calls): Add x2y2m1.
52875         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52876         (__x2y2m1): Likewise.
52877         (__x2y2m1l): Likewise.
52878         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52879         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52880         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52881         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52882         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52883         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52884         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52885         * sysdeps/i386/fpu/libm-test-ulps: Update.
52886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52888         [BZ #14621]
52889         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52890         int as type of variable DEPTH.
52891         (glob): Use size_t instead of int as type of variables NEWCOUNT
52892         and OLD_PATHC.
52894 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52896         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52897         Add s_sincosf-sse2.
52898         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52899         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52900         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52901         macros for using routine as __sincosf_ia32.
52902         Use macro for function declaration and weak_alias.
52903         * sysdeps/i386/fpu/libm-test-ulps: Update.
52905         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52908         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52909         subnormal argument.
52910         * math/s_cexpf.c (__cexpf): Likewise.
52911         * math/s_csinf.c (__csinf): Likewise.
52912         * math/s_csinhf.c (__csinhf): Likewise.
52913         * math/s_ctanf.c (__ctanf): Likewise.
52914         * math/s_ctanhf.c (__ctanhf): Likewise.
52915         * math/s_ccosh.c (__ccoshf): Likewise.
52916         * math/s_cexp.c (__cexpl): Likewise.
52917         * math/s_csin.c (__csin): Likewise.
52918         * math/s_csinh.c (__csinh): Likewise.
52919         * math/s_ctan.c (__ctan): Likewise.
52920         * math/s_ctanh.c (ctanh): Likewise.
52921         * math/s_ccoshl.c (__ccoshl): Likewise.
52922         * math/s_cexpl.c (__cexpl): Likewise.
52923         * math/s_csinl.c (__csinl): Likewise.
52924         * math/s_csinhl.c (__csinhl): Likewise.
52925         * math/s_ctanl.c (__ctanl): Likewise.
52926         * math/s_ctanhl.c (__ctanhl): Likewise.
52928 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52930         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52931         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52932         (_IO_off_t): Define to __off_t, not _G_off_t.
52933         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52934         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52935         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52936         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52937         type of __dummy and __dummy2 fields.
52938         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52939         (_G_ssize_t): Likewise.
52940         (_G_off_t): Likewise.
52941         (_G_pid_t): Likewise.
52942         (_G_uid_t): Likewise.
52943         (_G_wchar_t): Likewise.
52944         (_G_wint_t): Likewise.
52945         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52946         (_G_ssize_t): Likewise.
52947         (_G_off_t): Likewise.
52948         (_G_pid_t): Likewise.
52949         (_G_uid_t): Likewise.
52950         (_G_wchar_t): Likewise.
52951         (_G_wint_t): Likewise.
52952         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52953         (_G_ssize_t): Likewise.
52954         (_G_off_t): Likewise.
52955         (_G_pid_t): Likewise.
52956         (_G_uid_t): Likewise.
52957         (_G_wchar_t): Likewise.
52958         (_G_wint_t): Likewise.
52960 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52962         * malloc/arena.c: Include malloc-sysdep.h.
52963         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52964         is sufficient to shrink the heap or an unmap is needed.
52965         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52966         new function check_may_shrink_heap.
52967         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52968         new function check_may_shrink_heap.
52970 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52973         comments.
52975 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52977         * catgets/test-gencat.sh: Add "set -e".
52978         * elf/tst-pathopt.sh: Likewise.
52979         * grp/tst_fgetgrent.sh: Likewise.
52980         * iconvdata/run-iconv-test.sh: Likewise.
52981         * intl/tst-gettext.sh: Likewise.
52982         * intl/tst-gettext2.sh: Likewise.
52983         * intl/tst-gettext4.sh: Likewise.
52984         * intl/tst-gettext6.sh: Likewise.
52985         * intl/tst-translit.sh: Likewise.
52986         * io/ftwtest-sh: Likewise.
52987         * libio/test-freopen.sh: Likewise.
52988         * malloc/tst-mtrace.sh: Likewise.
52989         * posix/globtest.sh: Likewise.
52990         * posix/tst-getconf.sh: Likewise.
52991         * posix/wordexp-tst.sh: Likewise.
52992         * stdio-common/tst-printf.sh: Likewise.
52993         * stdio-common/tst-unbputc.sh: Likewise.
52994         * stdlib/tst-fmtmsg.sh: Likewise.
52995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52996         * catgets/Makefile: Do not specify -e option when running
52997         testsuite shell scripts.
52998         * elf/Makefile: Likewise.
52999         * grp/Makefile: Likewise.
53000         * iconvdata/Makefile: Likewise.
53001         * intl/Makefile: Likewise.
53002         * io/Makefile: Likewise.
53003         * libio/Makefile: Likewise.
53004         * malloc/Makefile: Likewise.
53005         * posix/Makefile: Likewise.
53006         * stdio-common/Makefile: Likewise.
53007         * stdlib/Makefile: Likewise.
53008         * sysdeps/x86_64/Makefile: Likewise.
53010         * io/ftwtest-sh: Add copyright header.
53011         * posix/globtest.sh: Likewise.
53012         * posix/tst-getconf.sh: Likewise.
53013         * posix/wordexp-tst.sh: Likewise.
53014         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53016 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53018         [BZ #13679]
53019         * Makeconfig (+link): Defined as $(+link-static) if
53020         $(build-shared) isn't yes.
53021         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53022         isn't yes.
53023         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53025         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53027         [BZ #14562]
53028         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53029         new chunk size with MALLOC_ALIGN_MASK.
53031 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53033         [BZ #5044]
53034         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53035         <rounding-mode.h>.
53036         (__printf_fphex): Determine rounding using get_rounding_mode and
53037         round_away.
53038         * stdio-common/tst-printf-round.c (struct hex_test): New
53039         structure.
53040         (hex_tests): New variable.
53041         (test_hex_in_one_mode): New function.
53042         (do_test): Also run tests for hex float output.
53044 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53046         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53047         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53048         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53049         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53050         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53051         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53052         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53055 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53057         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53058         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53059         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53060         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53062 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53064         [BZ #14579]
53065         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53066         mode only.
53067         * elf/tst-rtld-load-self.sh: New test.
53068         * elf/Makefile: Run it.
53070 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53072         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53073         (tst-writev-ENV): Remove.
53074         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53076 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53078         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53080 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53082         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53083         unconditional.
53084         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53085         Likewise.
53086         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53087         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53088         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53089         Likewise.
53091 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53093         [BZ #14587]
53094         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53095         * config.make.in (have-cpp-asm-debuginfo): Removed.
53096         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53097         * configure: Regenerated.
53099 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53101         [BZ #5044]
53102         * stdio-common/printf_fp.c: Include <stdbool.h> and
53103         <rounding-mode.h>.
53104         (___printf_fp): Determine rounding using get_rounding_mode and
53105         round_away.
53106         * stdio-common/tst-printf-round.c: New file.
53107         * stdio-common/Makefile (tests): Add tst-printf-round.
53108         (link-libm): New variable.
53109         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53111 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53113         [BZ #14576]
53114         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53115         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53116         Likewise.
53117         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53118         Likewise.
53120 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53122         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53123         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53124         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53125         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53127 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53129         [BZ #14518]
53130         * include/rounding-mode.h: New file.
53131         * sysdeps/generic/get-rounding-mode.h: Likewise.
53132         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53133         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53134         (MAX_VALUE): New macro.
53135         (MIN_VALUE): Likewise.
53136         (overflow_value): New function.
53137         (underflow_value): Likewise.
53138         (round_and_return): Use overflow_value and underflow_value to
53139         determine return values in overflow and underflow cases.  Use
53140         round_away to determine rounding depending on rounding mode.
53141         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53142         determine return values in overflow and underflow cases.
53143         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53144         (struct test_results): New structure.
53145         (struct test): Use struct test_results to store expected results
53146         for all rounding modes.
53147         (TEST): Include expected results for all rounding modes.
53148         (test_in_one_mode): New function.
53149         (do_test): Use test_in_one_mode to compute and check results.
53150         Check results for all rounding modes.
53151         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53152         $(link-libm).
53154 2012-12-09  Allan McRae  <allan@archlinux.org>
53156         * sysdeps/i386/fpu/libm-test-ulps: Update
53158 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53160         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53161         (_G_int32_t): Likewise.
53162         (_G_uint16_t): Likewise.
53163         (_G_uint32_t): Likewise.
53164         (_G_HAVE_BOOL): Likewise.
53165         (_G_HAVE_ATEXIT): Likewise.
53166         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53167         (_G_HAVE_IO_FILE_OPEN): Likewise.
53168         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53169         (_G_int32_t): Likewise.
53170         (_G_uint16_t): Likewise.
53171         (_G_uint32_t): Likewise.
53172         (_G_HAVE_BOOL): Likewise.
53173         (_G_HAVE_ATEXIT): Likewise.
53174         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53175         (_G_HAVE_IO_FILE_OPEN): Likewise.
53176         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53177         (_G_int32_t): Likewise.
53178         (_G_uint16_t): Likewise.
53179         (_G_uint32_t): Likewise.
53180         (_G_HAVE_BOOL): Likewise.
53181         (_G_HAVE_ATEXIT): Likewise.
53182         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53183         (_G_HAVE_IO_FILE_OPEN): Likewise.
53185 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53187         * csu/libc-tls.c: Update copyright years.
53189 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53191         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53192         [!_G_USING_THUNKS]: Remove conditional code.
53193         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53194         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53196         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53197         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53198         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53199         (_G_VTABLE_LABEL_PREFIX): Likewise.
53200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53201         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53202         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53203         (_G_VTABLE_LABEL_PREFIX): Likewise.
53204         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53205         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53206         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53207         (_G_VTABLE_LABEL_PREFIX): Likewise.
53208         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53210 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53212         * libio/Makefile: Include ../Makeconfig before tests.
53213         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53214         only if $(build-shared) is yes.
53216         * iconv/gconv_db.c: Update copyright years.
53218 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53220         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53221         unwind info if defined PIC. Fix special cases description.
53222         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53224         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53225         DP_HI_MASK entry.
53226         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53228 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53230         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53232         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53233         is NULL.
53235         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53236         (LDLIBS-tst-chk4): This.
53237         (LDFLAGS-tst-chk5): Renamed to ...
53238         (LDLIBS-tst-chk5): This.
53239         (LDFLAGS-tst-chk6): Renamed to ...
53240         (LDLIBS-tst-chk6): This.
53241         (LDFLAGS-tst-lfschk4): Renamed to ...
53242         (LDLIBS-tst-lfschk4): This.
53243         (LDFLAGS-tst-lfschk5): Renamed to ...
53244         (LDLIBS-tst-lfschk5): This.
53245         (LDFLAGS-tst-lfschk6): Renamed to ...
53246         (LDLIBS-tst-lfschk6): This.
53248         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53249         on $(common-objpfx)soversions.mk.
53251 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53253         [BZ #10014]
53254         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53255         example host name.
53257 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53259         * malloc/arena.c (arena_get_retry): New function that gets
53260         another arena for the caller to try its request on.
53261         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53262         current arena cannot fulfill the request.
53263         (__libc_memalign): Likewise.
53264         (__libc_memalign): Likewise.
53265         (__libc_pvalloc): Likewise.
53266         (__libc_calloc): Likewise.
53268 2012-09-05  John Tobey  <john.tobey@gmail.com>
53270         [BZ #13542]
53271         * manual/arith.texi (Operations on Complex): Fix description
53272         of carg branch cut.
53274 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53276         [BZ #10014]
53277         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53278         host name.
53280         [BZ #10038]
53281         * manual/memory.texi (Memory): Make order of menu items match
53282         order of sections.
53284 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53286         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53287         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53288         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53290 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53292         * csu/libc-tls.c (static_dtv): Renamed to ...
53293         (_dl_static_dtv): This.  Make it global.
53294         (_dl_initial_dtv): Removed.
53295         (__libc_setup_tls): Updated.
53296         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53297         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53298         DL_INITIAL_DTV.
53300 2012-09-06  Petr Machata  <pmachata@redhat.com>
53302         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53303         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53304         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53305         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53307 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53309         [BZ #14545]
53310         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53311         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53312         freeing dtv[-1].
53314 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53316         [BZ #14544]
53317         * Makeconfig (link-static-before-libc): Replace $(+prector)
53318         with $(+prectorT).
53319         (link-static-after-libc): Replace $(+postctor) with
53320         $(+postctorT).
53321         (link-bounded): Replace $(+prector)/$(+postctor) with
53322         $(+prectorT)/$(+postctorT).
53323         (+prectorT): New macro.
53324         (+postctorT): Likewise.
53326 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53328         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53329         (round_str): Handle values above the maximum for IBM long double
53330         as inexact.
53331         * stdlib/tst-strtod-round.c (tests): Regenerated.
53333 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53335         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53336         assembler flag.
53337         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53338         zarch_nohighgprs around the zarch optimized routines.
53339         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53340         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53342         for zarch.
53344 2012-09-05  David S. Miller  <davem@davemloft.net>
53346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53348         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53349         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53350         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53351         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53352         entries.
53354 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53356         * malloc/arena.c: Fold copyright years.
53357         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53359 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53361         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53363 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53365         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53367 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53369         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53370         change internal state upon failure.
53372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53374         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53375         * malloc/memusage.c (mmap): Likewise.
53376         (mmap64, mremap): Likewise.  Adjust name in comment.
53378 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53380         * libio/fileops.c: Fix typos in comments.
53381         * libio/oldfileops.c: Likewise.
53382         * libio/wfileops.c: Likewise.
53384 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53386         [BZ #1349]
53387         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53388         (tst-malloc-usable-ENV): Set environment for test case.
53389         * malloc/hooks.c (malloc_check_get_size): New function to get
53390         requested size.
53391         * malloc/malloc.c (musable): Use malloc_check_get_size.
53392         * malloc/tst-malloc-usable.c: New test case.
53394 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53396         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53398 2012-09-05  Allan McRae  <allan@archlinux.org>
53400         [BZ #13966]
53401         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53402         determine header location.
53403         * configure: Regenerated.
53405 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53407         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53408         float format.
53409         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53410         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53411         format.
53412         (test): Regenerate.
53414 2012-09-04  David S. Miller  <davem@davemloft.net>
53416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53420 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53422         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53423         failures.
53425         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53427 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53429         [BZ #9914]
53430         * libio/iogetdelim.c: Include <limits.h>.
53431         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53432         + len + 1 would overflow.
53434 2012-09-03  Andreas Jaeger  <aj@suse.de>
53436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53437         * sysdeps/i386/fpu/libm-test-ulps: Update.
53439 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53441         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53442         Add s_sinf-sse2, s_conf-sse2.
53444         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53445         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53446         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53447         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53449         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53450         for using routine as __sinf_ia32.
53451         Use macro for function declaration and weak_alias.
53452         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53453         for using routine as __cosf_ia32.
53454         Use macro for function declaration and weak_alias.
53456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53457         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53459         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53460         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53463         * math/libm-test.inc (cos_test): Add more test cases.
53464         (sin_test): Likewise.
53465         (sincos_test): Likewise.
53467 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53470         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53471         hidden.
53472         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53474 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53476         [BZ #14538]
53477         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53478         first element of the GOT.
53479         (elf_machine_load_address): Return the difference between
53480         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53482 2012-09-01  Allan McRae  <allan@archlinux.org>
53484         [BZ #13412]
53485         * configure.in (AWK): Require gawk version 3.0 or later.
53486         * configure: Regenerated.
53488 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53490         * sysdeps/unix/sysv/linux/kernel-features.h
53491         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53493         [__NR_clock_getres]: Make code unconditional.
53494         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53495         (clock_getcpuclockid): Remove code left unreachable by removal of
53496         conditionals.
53497         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53498         code unconditional.
53499         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53500         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53501         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53502         Make code unconditional.
53503         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53504         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53505         * sysdeps/unix/sysv/linux/clock_settime.c
53506         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53507         conditional code.
53508         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53509         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53511 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53513         [BZ #14476]
53514         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53515         scripts/test-installation.pl.
53517         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53518         and $ld_so_version if it is set.
53520 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53522         [BZ #14516]
53523         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53524         failure if reading from procfs failed.
53525         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53527 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53529         * sysdeps/unix/sysv/linux/kernel-features.h
53530         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53531         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53532         Remove conditional code.
53533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53534         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53535         Remove conditional code.
53536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53537         * sysdeps/unix/sysv/linux/i386/fxstat.c
53538         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53540         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53541         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53543         * sysdeps/unix/sysv/linux/i386/lxstat.c
53544         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53545         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53546         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53547         Remove conditional code.
53548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53549         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53550         Remove conditional code.
53551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53552         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53553         <kernel-features.h>.
53554         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53555         Remove.
53556         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53557         Remove conditional code.
53558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53559         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53560         Remove conditional.
53562 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53564         [BZ #5400]
53565         * NEWS: Add fixed bug number.
53567 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53569         [BZ #14519]
53570         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53571         underflowing exponent in case of negative sign.
53572         * stdlib/tst-strtod-round-data: Add more tests.
53573         * stdlib/tst-strtod-round.c (tests): Regenerated.
53575         [BZ #3479]
53576         * stdlib/strtod_l.c (NDIG): Remove.
53577         (HEXNDIG): Likewise.
53578         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53579         smallest representable value.
53580         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53581         lie within an exact representation of 1/2 ulp of the result.
53582         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53583         unconditionally.
53584         (TENS_P9_IDX): Define unconditionally.
53585         (TENS_P9_SIZE): Likewise.
53586         (TENS_P10_IDX): Likewise.
53587         (TENS_P10_SIZE): Likewise.
53588         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53589         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53590         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53591         entries for 10^2^13 and 10^2^14.
53592         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53593         (TENS_P13_IDX): Define.
53594         (TENS_P13_SIZE): Likewise.
53595         (TENS_P14_IDX): Likewise.
53596         (TENS_P14_SIZE): Likewise.
53597         (_fpioconst_pow10): Change array size to
53598         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53599         unconditional.
53600         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53601         1024]: Add entries for 10^2^13 and 10^2^14.
53602         [LAST_POW10 > _LAST_POW10]: Remove #error.
53603         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53604         (_fpioconst_pow10): Change array size to
53605         FPIOCONST_POW10_ARRAY_SIZE.
53606         * stdlib/gen-fpioconst.c: New file.
53607         * stdlib/gen-tst-strtod-round.c: Likewise.
53608         * stdlib/tst-strtod-round-data: Likewise.
53609         * stdlib/tst-strtod-round.c: Likewise.
53610         * stdlib/Makefile (tests): Add tst-strtod-round.
53612         [BZ #14459]
53613         * stdlib/strtod_l.c: Include <stdint.h>.
53614         (NDEBUG): Do not define.
53615         (round_and_return): Change EXPONENT parameter to type intmax_t.
53616         Rearrange calculations to avoid internal overflow possibilities.
53617         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53618         Rearrange calculations to avoid internal overflow possibilities.
53619         Assert that number fits inside MPNSIZE limbs.
53620         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53621         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53622         calculations and add assertions to avoid internal overflow
53623         possibilities.  Add casts to avoid signed/unsigned operations.
53624         * stdlib/tst-strtod-overflow.c: New file.
53625         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53627 2012-08-25  Marek Polacek  <polacek@redhat.com>
53629         * time/time.h: Fix some typos in comments.
53631 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53633         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53634         * posix/tst-rfc3484-2.c: Likewise.
53635         * posix/tst-rfc3484-3.c: Likewise.
53637 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53639         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53640         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53642 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53644         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53645         #include of fxstatat64.c.
53647 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53649         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53650         * shadow/getspent_r.c: Likewise.
53651         * shadow/getspnam.c: Likewise.
53652         * shadow/getspnam_r.c: Likewise.
53653         * gshadow/getsgent.c: Likewise.
53654         * gshadow/getsgent_r.c: Likewise.
53655         * gshadow/getsgnam.c: Likewise.
53656         * gshadow/getsgnam_r.c: Likewise.
53657         * inet/getnetbyad.c: Likewise.
53658         * inet/getnetbyad_r.c: Likewise.
53659         * inet/getnetbynm.c: Likewise.
53660         * inet/getnetbynm_r.c: Likewise.
53661         * inet/getnetent.c: Likewise.
53662         * inet/getnetent_r.c: Likewise.
53663         * inet/getproto.c: Likewise.
53664         * inet/getproto_r.c: Likewise.
53665         * inet/getprtent.c: Likewise.
53666         * inet/getprtent_r.c: Likewise.
53667         * inet/getprtname.c: Likewise.
53668         * inet/getprtname_r.c: Likewise.
53669         * inet/getrpcbyname.c: Likewise.
53670         * inet/getrpcbyname_r.c: Likewise.
53671         * inet/getrpcbynumber.c: Likewise.
53672         * inet/getrpcbynumber_r.c: Likewise.
53673         * inet/getrpcent.c: Likewise.
53674         * inet/getrpcent_r.c: Likewise.
53675         * inet/getaliasent.c: Likewise.
53676         * inet/getaliasent_r.c: Likewise.
53677         * inet/getaliasname.c: Likewise.
53678         * inet/getaliasname_r.c: Likewise.
53679         * nscd/getgrgid_r.c: Likewise.
53680         * nscd/getgrnam_r.c: Likewise.
53681         * nscd/gethstbyad_r.c: Likewise.
53682         * nscd/gethstbynm3_r.c: Likewise.
53683         * nscd/getpwnam_r.c: Likewise.
53684         * nscd/getpwuid_r.c: Likewise.
53685         * nscd/getsrvbynm_r.c: Likewise.
53686         * nscd/getsrvbypt_r.c: Likewise.
53687         * nscd/gai.c: Likewise.
53689         * configure.in (build_nscd): New substituted variable, set
53690         by --disable-build-nscd and defaults to $use_nscd.
53691         * configure: Regenerated.
53692         * config.make.in (build-nscd): New substituted variable.
53693         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53694         Change conditional to require [$(build-nscd) = yes] as well.
53695         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53697         [BZ# 13696]
53698         * configure.in (use_nscd): New substituted variable, set by
53699         --disable-nscd.  If enabled, define USE_NSCD.
53700         * configure: Regenerated.
53701         * config.h.in: Add USE_NSCD.
53702         * config.make.in (use-nscd): New substituted variable.
53703         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53704         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53705         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53706         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53707         (CFLAGS-getgrnam_r.c): Likewise.
53708         (CFLAGS-initgroups.c): Likewise.
53709         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53710         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53711         Variables removed.
53712         * inet/getnetgrent_r.c
53713         (nscd_setnetgrent): New function, broken out of ...
53714         (setnetgrent): ... here.  Call it.
53715         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53716         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53717         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53718         * nscd/Makefile (routines, aux): Move definitions after include of
53719         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53720         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53721         Conditionalize on [USE_NSCD].
53722         (is_nscd, nscd_init_cb): Likewise.
53723         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53724         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53725         * nss/nss_db/db-init.c: Likewise.
53726         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53727         [USE_NSCD].
53728         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53729         (make_request): Use it.
53730         (cache_valid_p): New function.
53731         (__check_pf): Use it.
53732         * NEWS: Add item for --disable-nscd.
53734 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53736         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53737         to support sed >= 4.2.1-20-ga9bf076.
53738         * configure: Regenerated.
53740 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53742         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53743         Conditionalize whole body on [IREL].
53745 2012-08-22  Jeff Law <law@redhat.com>
53747         [BZ #14505]
53748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53749         if the family is PF_UNSPEC.
53751 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53753         * Makerules (lib-version): Rename from V.
53754         (install-lib-nosubdir): Change V to lib-version.
53756 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53758         [BZ #14252]
53759         * powerpc32/power6/wcschr.c: New file.
53760         * powerpc32/power6/wcscpy.c: New file.
53761         * powerpc32/power6/wcsrchr.c: New file.
53762         * powerpc64/power6/wcschr.c: New file.
53763         * powerpc64/power6/wcscpy.c: New file.
53764         * powerpc64/power6/wcsrchr.c: New file.
53766 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53768         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53769         (two_way_short_needle): Use it.
53770         * string/strstr.c (AVAILABLE1_USES_J): Define.
53771         * string/strcasestr.c: Likewise.
53773         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53774         array references.
53775         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53777         [BZ #11607]
53778         * NEWS: Add an entry.
53779         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53780         define their defaults.
53781         (two_way_short_needle): Detect end-of-string on-the-fly.
53782         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53783         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53784         * string/bug-strcasestr1.c: New test.
53785         * string/Makefile: Run it.
53787 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53789         [BZ #11607]
53790         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53791         the first character.
53793 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53795         * csu/elf-init.c (__libc_csu_irel): Function removed.
53796         * csu/libc-start.c (apply_irel): New function.
53797         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53799 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53801         * sysdeps/unix/sysv/linux/kernel-features.h
53802         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53803         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53804         <kernel-features.h>.
53805         [__NR_fadvise64_64]: Make code unconditional.
53806         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53807         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53808         !__NR_fadvise64_64)]: Likewise.
53809         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53810         !__NR_fadvise64_64))]: Likewise.
53811         [__NR_fadvise64]: Make code unconditional.
53812         [!__NR_fadvise64]: Remove conditional code.
53813         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53814         <kernel-features.h>.
53815         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53816         unconditional.
53817         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53818         conditional code.
53819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53820         not include <kernel-features.h>.
53821         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53822         unconditional.
53823         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53824         conditional code.
53825         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53826         include <kernel-features.h>.
53827         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53828         unconditional.
53829         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53830         conditional code.
53832 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53835         slight instruction rearrangements per scrollpipe analysis.
53836         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53838 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53840         * manual/syslog.texi (syslog; vsyslog, closelog):
53841         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53842         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53844         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53845         DSOCAPS to match condition on defining it.
53847 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53849         * sysdeps/unix/sysv/linux/kernel-features.h
53850         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53852         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53853         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53855         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53856         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53858         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53859         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53861         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53862         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53864         * sysdeps/unix/sysv/linux/kernel-features.h
53865         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53866         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53867         unconditional.
53868         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53869         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53870         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53871         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53872         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53873         Make code unconditional.
53874         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53875         (__mmap64) [!__NR_mmap2]: Likewise.
53876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53877         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53878         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53879         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53880         [__NR_mmap2]: Make code unconditional.
53881         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53882         (__mmap64) [!__NR_mmap2]: Likewise.
53884 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53886         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53888 2012-08-18  Andreas Jaeger  <aj@suse.de>
53890         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53892 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53894         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53895         * include/unistd.h (__have_sock_cloexec): Likewise.
53896         (__have_pipe2): Likewise.
53897         (__have_dup3): Likewise.
53899 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53901         [BZ #9685]
53902         * include/unistd.h (__have_pipe2): Change define into an extern int.
53903         (__have_dup3): Likewise.
53904         * socket/have_sock_cloexec.c: Include fcntl.h.
53905         (__have_pipe2): New variable.
53906         (__have_dup3): Likewise.
53908 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53910         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53912 2012-08-17  Marek Polacek  <polacek@redhat.com>
53914         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53915         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53917 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53919         * configure.in: Add AC_SUBST for sysheaders.
53920         * configure: Regenerated.
53921         * config.make.in (sysheaders): New substituted variable.
53923         * sysdeps/unix/mkfifo.c: Moved ...
53924         * sysdeps/posix/mkfifo.c: ... here.
53925         * sysdeps/unix/mkfifoat.c: Moved ...
53926         * sysdeps/posix/mkfifoat.c: ... here.
53928         * sysdeps/unix/utime.c: Moved ...
53929         * sysdeps/posix/utime.c: ... here.
53931         * sysdeps/unix/time.c: Moved ...
53932         * sysdeps/posix/time.c: ... here.
53933         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53934         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53936         * sysdeps/unix/nice.c: Moved ...
53937         * sysdeps/posix/nice.c: ... here.
53939         * sysdeps/unix/alarm.c: Moved ...
53940         * sysdeps/posix/alarm.c: ... here.
53942         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53944 2012-08-17  Jeff Law <law@redhat.com>
53946         * intl/Makefile (codeset_mo): New variable.
53947         ($(codeset_mo)): New target.
53948         (tst-codeset.out): Depend on that.  Remove explicit rule.
53949         (tst-gettext3.out, tst-gettext5.out): Likewise.
53950         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53951         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53952         * intl/tst-codeset.sh: Remove.
53953         * intl/tst-gettext3.sh: Likewise.
53954         * intl/tst-gettext5.sh: Likewise.
53956 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53958         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53959         * sysdeps/unix/syscalls.list: ... here.
53961         * sysdeps/posix/getaddrinfo.c
53962         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53963         (gaiconf_init, gaiconf_reload): Use them.
53964         [!_STATBUF_ST_NSEC]
53965         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53966         Define using time_t rather than struct timespec.
53968         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53969         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53970         Macros removed.
53971         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53972         [!NO_THREADS].
53973         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53974         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53975         Likewise.
53977         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53978         __libc_cleanup_push argument.
53980         * bits/param.h: New file.
53981         * misc/sys/param.h: New file.
53982         * include/sys/param.h: New file.
53983         * misc/Makefile (headers): Add bits/param.h.
53984         * sysdeps/generic/sys/param.h: File removed.
53985         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53986         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53987         * sysdeps/mach/hurd/bits/param.h: New file.
53988         * sysdeps/mach/hurd/sys/param.h: File removed.
53990         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53991         last change.
53993         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53994         [_IO_MTSAFE_IO].
53995         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53996         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53997         New macros.
53999         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54000         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54001         rather than -D_IO_MTSAFE_IO conditionally.
54002         * stdio-common/Makefile (CPPFLAGS): Likewise.
54003         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54004         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54005         Use $(libio-mtsafe).
54006         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54007         of -D_IO_MTSAFE_IO.
54008         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54009         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54010         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54011         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54012         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54013         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54014         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54015         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54016         (CFLAGS-fread_u_chk.c): Likewise.
54017         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54018         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54019         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54020         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54021         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54022         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54023         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54024         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54025         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54027         * libio/Makefile: Test [$(libc-reentrant) = yes]
54028         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54030         * Makeconfig
54031         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54032         * sysdeps/pthread/configure: File removed.
54033         * sysdeps/pthread/Makeconfig: New file.
54034         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54035         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54037 2012-08-16  Gary Benson  <gbenson@redhat.com>
54039         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54040         unmapping the first object in a namespace.
54042 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54044         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54045         (__internal_setnetgrent): ... this.  Add internal_function to
54046         definition.  Add libc_hidden_def.
54047         (setnetgrent): Update caller.
54048         (internal_endnetgrent): Renamed to ...
54049         (__internal_endnetgrent): ... this.  Add internal_function to
54050         definition.  Add libc_hidden_def.
54051         (endnetgrent): Update caller.
54052         (internal_getnetgrent_r): Renamed to ...
54053         (__internal_getnetgrent_r): ... this.  Add internal_function to
54054         definition.  Add libc_hidden_def.
54055         (__getnetgrent_r): Update caller.
54056         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54058 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54060         * stdlib/longlong.h: Update from GCC.
54062 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54064         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54065         on _QL, which is set by umul_ppmm but never used.
54066         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54067         variables, which are set by GMP macros but never used.
54068         * stdio-common/_itowa.c (_itowa): Likewise.
54069         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54070         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54072 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54074         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54075         struct La_sh_regs is not constant.
54076         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54077         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54078         and struct La_sparc64_regs are not constant.
54080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54082         * sysdeps/unix/sysv/linux/kernel-features.h
54083         (__ASSUME_POSIX_TIMERS): Remove.
54084         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54085         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54086         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54087         Make code unconditional.
54088         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54089         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54090         Make code unconditional.
54091         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54092         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54093         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54094         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54095         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54096         Make code unconditional.
54097         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54098         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54099         (__libc_missing_posix_timers): Remove.
54101 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54103         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54104         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54106         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54108         * elf/dl-sym.c: Include <stdlib.h>.
54110         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54111         constants, which avoids warnings in 32-bit builds.
54113         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54114         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54116         * misc/lseek.c: File moved to ...
54117         * io/lseek.c: ... here.
54119         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54121         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54122         shifting LEN more than 31 bits at once.
54124 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54126         [BZ #14195]
54127         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54128         segmentation fault for a case of two empty input strings.
54129         * string/test-strncasecmp.c (check1): Renamed to...
54130         (bz12205): ...this.
54131         (bz14195): Add new testcase for two empty input strings and N > 0.
54132         (test_main): Call new testcase, adapt for renamed function.
54134 2012-08-15  Andreas Jaeger  <aj@suse.de>
54136         [BZ #14090]
54137         * crypt/md5test2.c: New test, based on test supplied by Serge
54138         Belyshev <belyshev@depni.sinp.msu.ru>.
54139         * crypt/Makefile (xtests): Add md5test-giant..
54140         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54142 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54144         [BZ #14090]
54145         * crypt/md5.c (md5_process_block): Don't assume the buffer
54146         length is less than 2**32.
54147         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54148         length is less than 2**64.
54150 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54152         * string/str-two-way.h: Include <sys/param.h>.
54153         (MAX): Macro removed.
54155         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54156         Move #define and #undef of memmove to just before and after
54157         including <string.h>.
54159         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54160         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54161         and after including <string.h>.  Move declarations of
54162         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54163         to before #include "string/memmove.c".
54165         * include/dirent.h: Declare __getdirentries.
54167         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54168         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54170 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54172         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54173         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54174         * sysdeps/i386/configure: Regenerated.
54175         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54176         STABS_CURRENT_FILE, and STABS_FUN.
54177         (END): Remove call to STABS_FUN_END.
54178         (STABS_CURRENT_FILE1): Delete.
54179         (STABS_CURRENT_FILE): Likewise.
54180         (STABS_FUN): Likewise.
54181         (STABS_FUN_END): Likewise.
54182         (STABS_FUN2): Likewise.
54183         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54184         * sysdeps/x86_64/configure: Regenerated.
54186 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54188         * elf/dl-open.c: Include <atomic.h>.
54189         * elf/dl-lookup.c: Likewise.
54191 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54193         * sysdeps/unix/sysv/linux/kernel-features.h
54194         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54195         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54196         unconditionally.
54197         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54198         unconditionally.
54199         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54200         condition on __ASSUME_CLONE_THREAD_FLAGS.
54202 2012-08-14  Andreas Jaeger  <aj@suse.de>
54204         * sysdeps/i386/fpu/libm-test-ulps: Update.
54206 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54208         * include/atomic.h (atomic_exchange_and_add): Split into ...
54209         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54210         New atomic macros.
54212 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54216 2012-08-13  Jeff Law <law@redhat.com>
54218         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54219         null byte in the output string.
54221 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54223         * sysdeps/unix/sysv/linux/kernel-features.h
54224         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54225         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54226         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54227         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54228         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54229         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54230         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54232 2012-08-09  Jeff Law <law@redhat.com>
54234         [BZ #13939]
54235         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54236         When avoid_arena is set, don't retry in the that arena.  Pick the
54237         next one, whatever it might be.
54238         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54239         (arena_lock): Pass in new parameter to arena_get2.
54240         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54241         arena_get2.
54242         (__libc_malloc): Unify retrying after main arena failure with
54243         __libc_memalign version.
54244         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54246 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54248         [BZ #14166]
54249         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54250         to __redirect_strstr.
54251         (__strstr_sse42): Use typeof __redirect_strstr.
54252         (__strstr_ia32): Likewise.
54253         (__libc_strstr): New prototype.
54254         (strstr): Renamed to ...
54255         (__libc_strstr): This.
54256         (strstr): New strong alias of __libc_strstr.
54257         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54258         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54259         __redirect_time.
54260         Include <time.h>.
54261         (__libc_time): New prototype.
54262         (time_ifunc): Replace time with __libc_time.
54263         (time): New strong alias and hidden definition of __libc_time.
54264         (__GI_time): Remove strong alias.
54265         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54266         Include <stddef.h>.
54267         (memmove): Redefined to __redirect_memmove.
54268         (__memmove_sse2): Use typeof __redirect_memmove.
54269         (__memmove_ssse3): Likewise.
54270         (__memmove_ssse3_back): Likewise.
54271         (__libc_memmove): New prototype.
54272         (memmove): Renamed to ...
54273         (__libc_memmove): This.
54274         (memmove): New strong alias of __libc_memmove.
54276 2012-08-08  Mark Salter  <msalter@redhat.com>
54278         * elf/elf.h
54279         (R_MN10300_TLS_GD): Define.
54280         (R_MN10300_TLS_LD): Likewise.
54281         (R_MN10300_TLS_LDO): Likewise.
54282         (R_MN10300_TLS_GOTIE): Likewise.
54283         (R_MN10300_TLS_IE): Likewise.
54284         (R_MN10300_TLS_LE): Likewise.
54285         (R_MN10300_TLS_DTPMOD): Likewise.
54286         (R_MN10300_TLS_DTPOFF): Likewise.
54287         (R_MN10300_TLS_TPOFF): Likewise.
54288         (R_MN10300_SYM_DIFF): Likewise.
54289         (R_MN10300_ALIGN): Likewise.
54290         (R_MN10300_NUM): Update.
54292 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54295         Remove.
54297 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54299         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54301         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54302         sysdeps/unix -> sysdeps/posix move.
54303         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54305 2012-08-07      Allan McRae     <allan@archlinux.org>
54307         [BZ #14303]
54308         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54309         (SUNOS_CPP): Likewise.
54310         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54311         not found.
54312         (open_input): Call CPP using execvp.
54314 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54316         * sysdeps/unix/sysv/linux/kernel-features.h
54317         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54318         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54319         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54320         (__ASSUME_WAITID_SYSCALL): Likewise.
54321         * sysdeps/unix/sysv/linux/dl-execstack.c
54322         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54323         code unconditional.
54324         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54325         conditional code.
54326         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54327         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54328         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54329         code.
54330         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54331         unconditional.
54332         [__ASSUME_WAITID_SYSCALL]: Likewise.
54333         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54335 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54337         * sysdeps/unix/closedir.c: Renamed to ...
54338         * sysdeps/posix/closedir.c: ... here.
54339         * sysdeps/unix/dirfd.c: Renamed to ...
54340         * sysdeps/posix/dirfd.c: ... here.
54341         * sysdeps/unix/dirstream.h: Renamed to ...
54342         * sysdeps/posix/dirstream.h: ... here.
54343         * sysdeps/unix/fdopendir.c: Renamed to ...
54344         * sysdeps/posix/fdopendir.c: ... here.
54345         * sysdeps/unix/opendir.c: Renamed to ...
54346         * sysdeps/posix/opendir.c: ... here.
54347         * sysdeps/unix/readdir.c: Renamed to ...
54348         * sysdeps/posix/readdir.c: ... here.
54349         * sysdeps/unix/readdir_r.c: Renamed to ...
54350         * sysdeps/posix/readdir_r.c: ... here.
54351         * sysdeps/unix/rewinddir.c: Renamed to ...
54352         * sysdeps/posix/rewinddir.c: ... here.
54353         * sysdeps/unix/seekdir.c: Renamed to ...
54354         * sysdeps/posix/seekdir.c: ... here.
54355         * sysdeps/unix/telldir.c: Renamed to ...
54356         * sysdeps/posix/telldir.c: ... here.
54357         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54358         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54359         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54360         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54362         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54363         * bits/fcntl.h: ... here.
54365         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54366         not 0.
54367         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54368         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54369         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54370         (struct flock): Move l_start, l_len to the beginning.
54371         Use __pid_t for l_pid.
54372         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54373         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54374         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54375         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54376         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54377         [__USE_LARGEFILE64] (struct flock64): New type.
54378         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54380         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54381         * bits/dirent.h: ... here.
54383         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54384         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54386 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54389         Change from 2.6.0 to 2.6.16.
54390         * sysdeps/unix/sysv/linux/configure: Regenerated.
54391         * sysdeps/unix/sysv/linux/kernel-features.h
54392         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54393         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54394         version.
54395         (__ASSUME_UTIMES): Likewise.
54396         (__ASSUME_CLONE_STOPPED): Remove.
54397         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54398         architectures, not kernel version.
54399         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54402         (__ASSUME_WAITID_SYSCALL): Likewise.
54403         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54404         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54405         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54406         refer to older versions.
54408 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54410         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54411         Define alphasort64 as an alias.
54412         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54413         Define versionsort64 as an alias.
54414         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54415         Define scandir64 as an alias.
54416         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54417         Define scandirat64 as an alias.
54418         * dirent/alphasort64.c (alphasort64):
54419         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54420         * dirent/versionsort64.c: Likewise.
54421         * dirent/scandir64.c: Likewise.
54422         * dirent/scandirat64.c: Likewise.
54423         * sysdeps/wordsize-64/alphasort.c: File removed.
54424         * sysdeps/wordsize-64/alphasort64.c: File removed.
54425         * sysdeps/wordsize-64/scandir.c: File removed.
54426         * sysdeps/wordsize-64/scandir64.c: File removed.
54427         * sysdeps/wordsize-64/scandirat.c: File removed.
54428         * sysdeps/wordsize-64/scandirat64.c: File removed.
54429         * sysdeps/wordsize-64/versionsort.c: File removed.
54430         * sysdeps/wordsize-64/versionsort64.c: File removed.
54431         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54437         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54438         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54440         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54442         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54444         [defined __arch64__ || defined __sparcv9]
54445         (__INO_T_MATCHES_INO64_T): New macro.
54446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54447         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54448         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54449         * sysdeps/unix/sysv/linux/bits/dirent.h
54450         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54451         (_DIRENT_MATCHES_DIRENT64): New macro.
54453         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54454         Define lockf64 as an alias.
54455         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54456         Define fseeko64 as an alias.
54457         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54458         Define ftello64 as an alias.
54459         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54460         Define _IO_fgetpos64 and fgetpos64 as aliases.
54461         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54462         Define _IO_fsetpos64 and fsetpos64 as aliases.
54463         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54464         Conditionalize body on this.
54465         * libio/fseeko64.c: Likewise.
54466         * libio/ftello64.c: Likewise.
54467         * libio/iofgetpos64.c: Likewise.
54468         * libio/iofsetpos64.c: Likewise.
54469         * sysdeps/wordsize-64/lockf.c: File removed.
54470         * sysdeps/wordsize-64/lockf64.c: File removed.
54471         * sysdeps/wordsize-64/fseeko.c: File removed.
54472         * sysdeps/wordsize-64/fseeko64.c: File removed.
54473         * sysdeps/wordsize-64/ftello.c: File removed.
54474         * sysdeps/wordsize-64/ftello64.c: File removed.
54475         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54476         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54477         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54478         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54479         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54480         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54481         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54482         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54483         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54484         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54485         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54486         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54490         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54492         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54494         [defined __arch64__ || defined __sparcv9]
54495         (__OFF_T_MATCHES_OFF64_T): New macro.
54496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54497         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54499         (__OFF_T_MATCHES_OFF64_T): New macro.
54501 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54503         * stdlib/secure-getenv.c (__secure_getenv): Replace
54504         GLIBC_2_16 with GLIBC_2_17.
54506 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54508         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54509         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54511 2012-08-03  David S. Miller  <davem@davemloft.net>
54513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54515 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54518         Remove.
54519         (__ASSUME_CORRECT_SI_PID): Likewise.
54520         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54521         (__ASSUME_TMPFS_NAME): Likewise.
54522         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54523         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54524         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54525         (HAVE_AUX_SECURE): Make definition unconditional.
54526         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54527         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54529 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54531         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54532         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54533         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54534         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54535         __eloop_threshold instead of SYMLOOP_MAX.
54537         * sysdeps/generic/eloop-threshold.h: New file.
54538         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54539         of MAXSYMLINKS.
54540         * elf/chroot_canon.c (chroot_canon): Likewise.
54542 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54544         [BZ #13717]
54545         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54546         Change to 2.6.0 everywhere.
54547         * sysdeps/unix/sysv/linux/configure: Regenerated.
54548         * sysdeps/unix/sysv/linux/kernel-features.h
54549         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54550         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54551         kernel versions.
54552         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54553         (__ASSUME_FUTEX_REQUEUE): Remove.
54554         (__ASSUME_STATFS64): Define unconditionally.
54555         (__ASSUME_AT_SECURE): Likewise.
54556         (__ASSUME_CORRECT_SI_PID): Likewise.
54557         (__ASSUME_TGKILL): Define without depending on kernel version for
54558         i386.
54559         (__ASSUME_UTIMES): Likewise.
54560         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54561         kernel version.
54562         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54563         (__ASSUME_TMPFS_NAME): Likewise.
54564         * README: Update reference to Linux kernel versions.
54566 2012-08-02  Marek Polacek  <polacek@redhat.com>
54568         [BZ# 14150]
54569         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54570         libc_cv_asm_type_prefix with %.
54571         * configure: Regenerated.
54572         * include/libc-symbols.h: Remove comment about
54573         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54574         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54575         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54576         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54577         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54578         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54579         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54580         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54581         * elf/tst-unique2mod1.c: Likewise.
54582         * elf/tst-unique1mod2.c: Likewise.
54583         * elf/tst-unique1mod1.c: Likewise.
54584         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54585         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54586         Replace ASM_TYPE_DIRECTIVE with .type.
54587         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54588         * sysdeps/i386/sysdep.h: Likewise.
54589         * sysdeps/x86_64/sysdep.h: Likewise.
54590         * sysdeps/sh/sysdep.h: Likewise.
54591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54592         Do not define ASM_TYPE_DIRECTIVE.
54593         * sysdeps/powerpc/sysdep.h: Likewise.
54594         * sysdeps/powerpc/powerpc32/sysdep.h:
54595         Replace ASM_TYPE_DIRECTIVE with .type.
54596         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54597         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54598         * sysdeps/i386/fpu/e_powf.S: Likewise.
54599         * sysdeps/i386/fpu/e_expl.S: Likewise.
54600         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54601         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54602         * sysdeps/i386/fpu/e_pow.S: Likewise.
54603         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54604         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54605         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54606         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54607         * sysdeps/i386/fpu/e_log2.S: Likewise.
54608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54609         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54610         * sysdeps/i386/fpu/e_powl.S: Likewise.
54611         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54612         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54613         * sysdeps/i386/fpu/e_logl.S: Likewise.
54614         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54615         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54616         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54617         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54618         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54619         * sysdeps/i386/fpu/e_log.S: Likewise.
54620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54621         * sysdeps/i386/fpu/e_logf.S: Likewise.
54622         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54623         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54624         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54625         * sysdeps/i386/fpu/e_log10.S: Likewise.
54626         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54627         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54628         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54629         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54630         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54631         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54632         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54633         * sysdeps/i386/i686/strtok.S: Likewise.
54634         * sysdeps/i386/i386-mcount.S: Likewise.
54635         * sysdeps/i386/strtok.S: Likewise.
54636         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54637         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54639         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54640         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54641         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54642         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54643         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54644         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54645         * sysdeps/x86_64/_mcount.S: Likewise.
54646         * sysdeps/x86_64/strtok.S: Likewise.
54647         * sysdeps/sh/_mcount.S: Likewise.
54649 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54651         * libio/iofopen.c: Include <fcntl.h>.
54652         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54653         (_IO_fopen64, fopen64): Define as aliases.
54654         * libio/iofopen64.c: Include <fcntl.h>.
54655         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54656         Conditionalize body on this.
54657         * sysdeps/wordsize-64/iofopen.c: File removed.
54658         * sysdeps/wordsize-64/iofopen64.c: File removed.
54660 2012-08-01  Marek Polacek  <polacek@redhat.com>
54662         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54663         Use dlfcn directly instead of a variable.
54664         (binfmt-subdir): Do not define.
54665         (dlfcn): Likewise.
54667 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54670         Remove all definitions.
54671         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54672         <kernel-features.h>.
54673         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54674         (miss_F_GETOWN_EX): Remove all definitions.
54675         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54676         macro definition.
54677         [!__ASSUME_FCNTL64]: Remove conditional code.
54678         [__ASSUME_FCNTL64]: Make code unconditional.
54679         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54680         <kernel-features.h>.
54681         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54682         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54683         (lockf64) [__NR_fcntl64]: Make code unconditional.
54684         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54686         * sysdeps/unix/sysv/linux/kernel-features.h
54687         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54688         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54689         Make code unconditional.
54690         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54691         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54693         [__NR_vfork]: Make code unconditional.
54694         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54695         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54697         [__NR_vfork]: Make code unconditional.
54698         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54699         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54701 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54703         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54704         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54706         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54707         Define mkstemp64 as an alias.
54708         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54709         Define mkstemps64 as an alias.
54710         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54711         Define mkostemp64 as an alias.
54712         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54713         Define mkostemps64 as an alias.
54714         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54715         Conditionalize body on this.
54716         * misc/mkostemp64.c: Likewise.
54717         * misc/mkostemps64.c: Likewise.
54718         * misc/mkstemps64.c: Likewise.
54719         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54720         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54721         * sysdeps/wordsize-64/mkostemp.c: File removed.
54722         * sysdeps/wordsize-64/mkstemp.c: File removed.
54723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54724         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54726         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54728         [BZ #14138]
54729         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54730         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54731         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54732         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54734         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54735         compat_symbol macros from <shlib-compat.h> rather than the underlying
54736         default_symbol_version and symbol_version macros, so that DEFAULT
54737         lines in shlib-versions are respected.
54738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54740 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54742         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54743         Declare with warn_unused_result.
54744         (setgid, setregid, setegid, setresgid): Likewise.
54745         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54746         Likewise.
54747         * WUR-REPORT: Remove set*id functions.
54749 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54751         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54753 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54755         [BZ #10191]
54756         * include/sys/socket.h (__libc_accept, __libc_accept4):
54757         Add attribute_hidden.
54758         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54760         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54761         use of PTR_MANGLE.
54762         * inet/getnetgrent_r.c (setup): Likewise.
54764         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54766 2012-07-31  David S. Miller  <davem@davemloft.net>
54768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54770 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54772         [BZ #13629]
54773         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54774         value between 1.0 and 2.0 and smaller part has absolute value less
54775         than 1.0.
54776         * math/s_clog10.c (__clog10): Likewise.
54777         * math/s_clog10f.c (__clog10f): Likewise.
54778         * math/s_clog10l.c (__clog10l): Likewise.
54779         * math/s_clogf.c (__clogf): Likewise.
54780         * math/s_clogl.c (__clogl): Likewise.
54781         * math/libm-test.inc (clog_test): Add more tests.
54782         (clog10_test): Likewise.
54783         * sysdeps/i386/fpu/libm-test-ulps: Update.
54784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54786 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54788         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54789         Exit with zero in case no suitable GID is found, and write a
54790         message to standard error.
54792 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54794         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54795         rather than to 1.
54796         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54797         (MAXPATHLEN): Removed.
54798         (NOGROUP, NODEV): New macros.
54799         (setbit, clrbit, isset, isclr): New macros.
54800         (howmany, roundup, powerof2): New macros.
54801         (DEV_BSIZE): New macro.
54803         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54804         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54806         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54807         definition on [!__NO_LONG_DOUBLE_MATH].
54809         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54810         PTR_MANGLE and PTR_DEMANGLE.
54812         * socket/accept4.c (accept4): Rename to __libc_accept4.
54813         Define accept4 as a weak alias.
54815         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54816         on [_DIRENT_HAVE_D_TYPE].
54817         * io/ftw.c (ftw_dir): Likewise.
54819         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54821         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54823         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54824         Use the BSD numbers rather than the arbitrary ones we had.
54825         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54826         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54827         (SIGXCPU, SIGXFSZ): New macros.
54828         (_NSIG): Now 32.
54830         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54831         initializer on [_LIBC_REENTRANT].
54833         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54834         definitions inside [_POSIX_MAPPED_FILES].
54836         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54838         * dirent/opendir.c: Include <fcntl.h>.
54840         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54841         (__libc_getspecific): Likewise.
54842         (__libc_key_create): Likewise.
54844         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54845         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54846         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54847         (tmpfile64): Define as alias.
54848         * sysdeps/wordsize-64/tmpfile.c: File removed.
54849         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54850         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54851         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54853         * stdio-common/vfscanf.c: Include <stdbool.h>.
54854         * nss/makedb.c: Likewise.
54855         * stdio-common/_i18n_number.h: Likewise.
54856         * argp/argp-help.c: Likewise.
54857         * posix/wordexp.c: Likewise.
54858         * sysdeps/posix/spawni.c: Likewise.
54859         * nss/nss_files/files-initgroups.c: Likewise.
54860         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54861         * nss/nss_files/files-initgroups.c: Likewise.
54862         * nss/nss_db/db-netgrp.c: Likewise.
54863         * nss/nss_db/db-initgroups.c: Likewise.
54864         * io/fchmodat.c: Include <sys/stat.h>.
54866         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54867         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54869         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54870         [HAVE_MMAP].
54872         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54873         Add multiple inclusion protection.
54875 2012-07-27  David S. Miller  <davem@davemloft.net>
54877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54879 2012-07-27  Gary Benson  <gbenson@redhat.com>
54881         [BZ #14298]
54882         * elf/rtld.c: Include <stap-probe.h>.
54883         (dl_main): Added static probes "init_start" and "init_complete".
54884         * elf/dl-load.c: Include <stap-probe.h>.
54885         (lose): Take new parameter "nsid".
54886         Added static probe "map_failed".
54887         (_dl_map_object_from_fd): Pass namespace id to lose.
54888         Added static probe "map_start".
54889         (open_verify): Pass namespace id to lose.
54890         * elf/dl-open.c: Include <stap-probe.h>.
54891         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54892         and "reloc_complete".
54893         * elf/dl-close.c: Include <stap-probe.h>.
54894         (_dl_close_worker): Added static probes "unmap_start" and
54895         "unmap_complete".
54896         * elf/rtld-debugger-interface.txt: New file documenting the above.
54898 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54900         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54901         rather than a string variable.
54902         * sunrpc/rpc_main.c (h_output): Likewise.
54903         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54905 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54907         * inet/check_native.c: New file.
54909 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54911         [BZ #13629]
54912         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54913         if larger part has absolute value 1.0.
54914         * math/s_clog10.c (__clog10): Likewise.
54915         * math/s_clog10f.c (__clog10f): Likewise.
54916         * math/s_clog10l.c (__clog10l): Likewise.
54917         * math/s_clogf.c (__clogf): Likewise.
54918         * math/s_clogl.c (__clogl): Likewise.
54919         * math/libm-test.inc (clog_test): Add more tests.
54920         (clog10_test): Likewise.
54921         * sysdeps/i386/fpu/libm-test-ulps: Update.
54922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54924         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54925         (pltexit): Likewise.
54926         (La_regs): Likewise.
54927         (La_retval): Likewise.
54928         (int_retval): Likewise.
54929         Update #error for removed macros to refer only to definitions in
54930         tst-audit.h.
54931         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54932         macro.
54933         (pltexit): Likewise.
54934         (La_regs): Likewise.
54935         (La_retval): Likewise.
54936         (int_retval): Likewise.
54937         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54938         macro.
54939         (pltexit): Likewise.
54940         (La_regs): Likewise.
54941         (La_retval): Likewise.
54942         (int_retval): Likewise.
54943         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54944         macro.
54945         (pltexit): Likewise.
54946         (La_regs): Likewise.
54947         (La_retval): Likewise.
54948         (int_retval): Likewise.
54949         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54950         macro.
54951         (pltexit): Likewise.
54952         (La_regs): Likewise.
54953         (La_retval): Likewise.
54954         (int_retval): Likewise.
54955         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54956         macro.
54957         (pltexit): Likewise.
54958         (La_regs): Likewise.
54959         (La_retval): Likewise.
54960         (int_retval): Likewise.
54961         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54962         macro.
54963         (pltexit): Likewise.
54964         (La_regs): Likewise.
54965         (La_retval): Likewise.
54966         (int_retval): Likewise.
54967         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54968         macro definitions in tst-audit.h.
54969         * sysdeps/i386/tst-audit.h: New file.
54970         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54971         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54972         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54973         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54974         * sysdeps/sh/tst-audit.h: Likewise.
54975         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54976         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54977         * sysdeps/x86_64/tst-audit.h: Likewise.
54979 2012-07-26  Andreas Jaeger  <aj@suse.de>
54981         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54982         ptrace.
54984         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54985         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54986         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54987         PTRACE_O_MASK.
54988         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54989         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54990         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54992         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54993         value.
54995         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54996         _sigsys.
54997         (si_call_addr, si_syscall, si_arch): Define new macro.
54998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54999         _sigsys.
55000         (si_call_addr, si_syscall, si_arch): Define new marcro.
55001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55002         _sigsys.
55003         (si_call_addr, si_syscall, si_arch): Define new macro.
55004         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55005         _sigsys.
55006         (si_call_addr, si_syscall, si_arch): Define new macro.
55008 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55010         [BZ #13717]
55011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55012         Change to 2.4.21 where previously 2.4.1.
55013         * sysdeps/unix/sysv/linux/configure: Regenerated.
55014         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55015         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55016         Linux kernel version.
55017         (__ASSUME_STD_AUXV): Remove.
55018         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55019         kernel version.
55020         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55021         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55022         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55023         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55024         (__ASSUME_NETLINK_SUPPORT): Likewise.
55025         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55026         (__no_netlink_support): Remove conditional definition.
55027         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55028         Remove.
55029         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55030         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55031         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55032         (if_nameindex_ioctl): Remove.
55033         (if_nameindex_netlink): Do not handle __no_netlink_support.
55034         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55035         code.
55036         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55037         Remove conditional code.
55038         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55039         code.
55040         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55041         unconditional.
55042         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55043         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55044         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55045         Remove.
55046         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55047         [!__ASSUME_STD_AUXV]: Remove conditional code.
55048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55049         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55050         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55052         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55053         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55054         code.
55055         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55057         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55058         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55059         conditional code.
55060         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55062         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55063         code.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55065         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55066         conditional code.
55067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55068         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55069         code unconditional.
55070         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55071         conditional code.
55072         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55073         unconditional.
55074         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55075         conditional code.
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55077         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55078         unconditional.
55079         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55080         conditional code.
55081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55082         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55083         code unconditional.
55084         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55085         conditional code.
55086         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55087         unconditional.
55088         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55089         conditional code.
55090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55091         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55092         code unconditional.
55093         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55094         conditional code.
55095         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55096         unconditional.
55097         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55098         conditional code.
55100 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55102         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55104         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55105         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55106         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55107         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55109         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55110         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55111         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55112         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55113         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55114         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55115         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55116         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55117         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55118         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55120         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55122         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55123         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55126 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55128         * Versions.def: Add GLIBC_2.17.
55129         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55130         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55131         Introduce __libc_secure_getenv.
55132         * stdlib/Versions (2.17): Add secure_getenv
55133         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55134         * stdlib/secure-getenv.c: Rename __secure_getenv to
55135         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55136         symbol __secure_getenv for GLIBC_2.0.
55137         * stdlib/tst-secure-getenv.c: New.
55138         * stdlib/Makefile (tests): Add testcase.
55139         * manual/startup.texi (Environment Access): Document
55140         secure_getenv.
55141         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55142         __libc_secure_getenv.
55143         * inet/ruserpass.c (ruserpass): Likewise.
55144         * malloc/mtrace.c (mtrace): Likewise.
55145         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55146         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55147         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55148         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55149         HAVE_SECURE_GETENV.
55150         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55151         __secure_getenv to __libc_secure_getenv.
55152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55154         Likewise.
55155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55156         Likewise.
55157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55165 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55167         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55168         (struct La_i86_retval): Likewise.
55169         (struct La_x86_64_regs): Likewise.
55170         (struct La_x86_64_retval): Likewise.
55171         (struct La_x32_regs): Likewise.
55172         (struct La_x32_retval): Likewise.
55173         (struct La_ppc32_regs): Likewise.
55174         (struct La_ppc32_retval): Likewise.
55175         (struct La_ppc64_regs): Likewise.
55176         (struct La_ppc64_retval): Likewise.
55177         (struct La_sh_regs): Likewise.
55178         (struct La_sh_retval): Likewise.
55179         (struct La_s390_32_regs): Likewise.
55180         (struct La_s390_32_retval): Likewise.
55181         (struct La_s390_64_regs): Likewise.
55182         (struct La_s390_64_retval): Likewise.
55183         (struct La_sparc32_regs): Likewise.
55184         (struct La_sparc32_retval): Likewise.
55185         (struct La_sparc64_regs): Likewise.
55186         (struct La_sparc64_retval): Likewise.
55187         (struct audit_ifaces): Remove architecture-specific pltenter and
55188         pltexit members.
55189         * sysdeps/i386/ldsodefs.h: New file.
55190         * sysdeps/powerpc/ldsodefs.h: Likewise.
55191         * sysdeps/s390/ldsodefs.h: Likewise.
55192         * sysdeps/sh/ldsodefs.h: Likewise.
55193         * sysdeps/sparc/ldsodefs.h: Likewise.
55194         * sysdeps/x86_64/ldsodefs.h: Likewise.
55196 2012-07-25  Marek Polacek  <polacek@redhat.com>
55198         [BZ #6808]
55199         * math/libm-test.inc (yn_test): Add another test.
55200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55201         to ERANGE when the result is +-Inf.
55202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55203         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55204         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55207 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55209         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55210         equal to 0.
55211         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55212         clock_t.
55213         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55215 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55217         * configure.in <sysdeps resolving>: Correct printing
55218         Implies_before.
55219         * configure: Regenerate.
55221 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55223         * math/w_ilogb.c: Include <limits.h>.
55224         * math/w_ilogbl.c: Likewise.
55226 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55228         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55229         va_copy.  Document allowing for unavailable va_copy only as
55230         pre-C99 compatibility.
55231         * manual/string.texi (Copying and Concatenation): Use va_copy
55232         instead of __va_copy in concat example.
55234 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55236         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55237         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55238         it if not null.
55240         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55241         with O_NOLINK passed to __file_name_lookup.
55243         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55244         with O_NOLINK passed to __file_name_lookup.
55246         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55247         negative N or less than NGIDS.
55249         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55250         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55251         enough.  Use memcpy instead of strncpy.
55253 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55255         * elf/Makefile (check-data): Remove.
55256         (localplt.data): New vpath directive.
55257         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55258         instead of $(check-data).
55259         * scripts/data/localplt-generic.data: Move to ...
55260         * sysdeps/generic/localplt.data: ... here.
55261         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55262         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55263         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55265         ... here.
55266         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55268         ... here.
55269         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55271         ... here.
55272         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55274         ... here.
55275         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55277         ... here.
55278         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55280         ... here.
55282 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55284         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55285         PPC32 and PPC64 files.
55286         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55287         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55289 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55291         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55292         __makecontext_ret to ...
55293         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55294         ... here and call exit if uc_link is NULL.  New file.
55295         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55296         __makecontext_ret.S.
55297         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55298         __makecontext_ret to ...
55299         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55300         ... here and call exit if uc_link is NULL.  New file.
55301         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55302         __makecontext_ret.S.
55304 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55306         * elf/elf.h (R_390_IRELATIVE): New definition.
55307         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55308         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55309         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55311         (elf_machine_lazy_rel): Likewise.
55312         * sysdeps/s390/dl-irel.h: New file.
55313         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55314         * sysdeps/s390/s390-64/memset.S: New asm code.
55315         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55316         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55318         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55319         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55320         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55321         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55322         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55323         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55324         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55325         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55326         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55327         * sysdeps/s390/s390-32/memset.S: New asm code.
55328         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55330 2012-07-17  Marek Polacek  <polacek@redhat.com>
55332         [BZ #14349]
55333         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55334         * sysdeps/s390/s390-64/configure.in: Likewise.
55335         * sysdeps/sparc/configure.in: Likewise.
55336         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55337         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55338         * sysdeps/i386/configure.in: Likewise.
55339         * sysdeps/x86_64/configure.in: Likewise.
55340         * sysdeps/sh/configure.in: Likewise.
55341         * sysdeps/s390/s390-32/configure: Regenerated.
55342         * sysdeps/s390/s390-64/configure: Likewise.
55343         * sysdeps/x86_64/configure: Likewise.
55344         * sysdeps/sh/configure: Likewise.
55345         * sysdeps/powerpc/powerpc64/configure: Likewise.
55346         * sysdeps/powerpc/powerpc32/configure: Likewise.
55347         * sysdeps/sparc/configure: Likwise.
55348         * sysdeps/i386/configure: Likewise.
55350         * elf/dl-open.c: Comment fixes.
55352 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55354         * Makefile [CXX] (check-data): Remove.
55355         [CXX] (c++-types.data): New vpath directive.
55356         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55357         vpath.  Do not allow for C++ type data being missing.
55358         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55359         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55360         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55361         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55362         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55363         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55364         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55366         ... here.
55367         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55369         ... here.
55370         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55372         ... here.
55373         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55375         ... here.
55376         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55378         ... here.
55379         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55381         ... here.
55382         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55384         ... here.
55385         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55388         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55389         definitions to architecture-specific files.
55390         (TLS_IE): Likewise.
55391         (TLS_LD): Likewise.
55392         (TLS_GD): Likewise.
55393         * sysdeps/i386/tls-macros.h: New file.
55394         * sysdeps/powerpc/tls-macros.h: Likewise.
55395         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55396         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55397         * sysdeps/sh/tls-macros.h: Likewise.
55398         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55399         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55400         * sysdeps/x86_64/tls-macros.h: Likewise.
55402 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55404         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55405         zero value for regular exit case.
55407         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55408         (__start_context): Preserve zero value for regular exit case.
55410 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55411             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55413         * manual/setjmp.texi (setcontext): Clarify normal process
55414         termination when uc_link is the null pointer.
55415         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55416         exit call.
55418 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55420         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55421         preprocessor.  Test for each exception mask separately.
55423 2012-07-16  Andreas Jaeger  <aj@suse.de>
55425         * po/ru.po: Update from translation team.
55427 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55429         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55430         equal to 0.
55431         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55432         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55433         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55434         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55437 2012-07-13  Andreas Jaeger  <aj@suse.de>
55439         * po/fr.po: Update from translation team.
55441 2012-07-12  Marek Polacek  <polacek@redhat.com>
55443         [BZ #14173]
55444         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55446         loop condition.
55448 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55450         [BZ #13717]
55451         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55452         Change to 2.4.1 where previously 2.4.0.
55453         * sysdeps/unix/sysv/linux/configure: Regenerated.
55454         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55455         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55456         version.
55457         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55458         (__ASSUME_AT_CLKTCK): Remove.
55459         (__ASSUME_AT_PAGESIZE): Likewise.
55460         (__ASSUME_AT_XID): Likewise.
55461         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55462         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55463         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55464         unconditionally.
55465         (HAVE_AUX_PAGESIZE): Likewise.
55466         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55467         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55468         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55470 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55472         [BZ #14307]
55473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55474         the temporary buffer used to invoke __gethostbyname2_r,
55475         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55476         host_data / struct gaih_addrtuple.
55477         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55478         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55479         header file nss/nsswitch.h.
55480         * nss/nsswitch.h (global scope): Add definition of implementation
55481         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55482         resolv/nss_dns/dns-host.c).
55484 2012-07-11  Andreas Jaeger  <aj@suse.de>
55486         * po/fr.po: Update from translation team.
55488         * po/sv.po: Update from translation team
55489         * po/fr.po: Another update from translation team.
55491 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55494         for subnormals or multiply small sinh result by itself.
55495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55498 2012-07-11  David S. Miller  <davem@davemloft.net>
55500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55502 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55504         [BZ #14347]
55505         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55506         (INTERNAL_MARK): Shift it here.
55508 2012-07-10  Marek Polacek  <polacek@redhat.com>
55510         [BZ #14151]
55511         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55512         libc_cv_asm_global_directive with .globl.
55513         * configure: Regenerated.
55514         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55515         with .globl.
55516         * sysdeps/i386/configure: Regenerated.
55517         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55518         with .globl.
55519         * sysdeps/x86_64/configure: Regenerated.
55520         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55521         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55522         * elf/tst-unique2mod2.c: Likewise.
55523         * elf/tst-unique2mod1.c: Likewise.
55524         * elf/tst-unique1mod2.c: Likewise.
55525         * elf/tst-unique1mod1.c: Likewise.
55526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55527         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55528         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55529         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55530         * sysdeps/mach/sysdep.h: Likewise.
55531         * sysdeps/i386/sysdep.h: Likewise.
55532         * sysdeps/i386/i386-mcount.S: Likewise.
55533         * sysdeps/x86_64/_mcount.S: Likewise.
55534         * sysdeps/x86_64/sysdep.h: Likewise.
55535         * sysdeps/sh/_mcount.S: Likewise.
55536         * sysdeps/sh/sysdep.h: Likewise.
55537         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55538         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55539         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55540         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55541         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55542         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55543         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55544         * locale/localeinfo.h: Likewise.
55545         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55546         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55548 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55550         [BZ #14336]
55551         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55552         system".
55553         * manual/message.texi (The Uniforum approach): Likewise.
55554         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55555         (glibc iconv Implementation): Likewise.
55557 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55559         [BZ #14337]
55560         * math/s_clog.c (__clog): Avoid scaling a value down where that
55561         could result in underflow.
55562         * math/s_clog10.c (__clog10): Likewise.
55563         * math/s_clog10f.c (__clog10f): Likewise.
55564         * math/s_clog10l.c (__clog10l): Likewise.
55565         * math/s_clogf.c (__clogf): Likewise.
55566         * math/s_clogl.c (__clogl): Likewise.
55567         * math/libm-test.inc (clog_test): Add more tests.
55568         (clog10_test): Likewise.
55569         * sysdeps/i386/fpu/libm-test-ulps: Update.
55570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55572 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55574         [BZ #14283]
55575         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55576         by 7 not 8 to examine high bit of fractional part.
55578         [BZ #14042]
55579         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55580         for call to __mcount_internal.
55581         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55582         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55583         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55585 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55587         [BZ #14154]
55588         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55589         approximation for values within 0x1p-13f of an odd multiple of
55590         pi/4.
55591         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55592         exception.  Add more tests.
55593         * sysdeps/i386/fpu/libm-test-ulps: Update.
55595         [BZ #6778]
55596         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55597         inputs and return -1 for them.  Do not check for +Inf in case not
55598         reachable for +Inf.
55599         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55600         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55602         and return -1 for them.  Do not check for +Inf in case not
55603         reachable for +Inf.
55604         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55605         define.
55606         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55607         and return -1 for them.  Do not check for +Inf in case not
55608         reachable for +Inf.
55609         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55610         spurious underflow.
55611         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55616         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55618 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55620         [BZ #14157]
55621         [BZ #14331]
55622         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55623         could result in spurious underflow.  Scale down values above
55624         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55625         * math/s_csqrtf.c (__csqrtf): Likewise.
55626         * math/s_csqrtl.c (__csqrtl): Likewise.
55627         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55628         spurious underflow.
55629         * sysdeps/i386/fpu/libm-test-ulps: Update.
55630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55632 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55634         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55635         xopen-msg.sed.
55636         * catgets/xopen-msg.awk: New file.
55637         * catgets/xopen-msg.sed: Removed.
55639         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55640         po2text.sed.
55641         * intl/po2test.awk: New file.
55642         * intl/po2test.sed: Removed.
55644 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55646         [BZ #14328]
55647         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55648         or multiply small sinh result by itself.
55649         * math/s_ctanf.c (__ctanf): Likewise.
55650         * math/s_ctanh.c (__ctanh): Likewise.
55651         * math/s_ctanhf.c (__ctanhf): Likewise.
55652         * math/s_ctanhl.c (__ctanhl): Likewise.
55653         * math/s_ctanl.c (__ctanl): Likewise.
55654         * math/libm-test.inc (ctan_test_tonearest): New function.
55655         (ctan_test_towardzero): Likewise.
55656         (ctan_test_downward): Likewise.
55657         (ctan_test_upward): Likewise.
55658         (ctanh_test_tonearest): Likewise.
55659         (ctanh_test_towardzero): Likewise.
55660         (ctanh_test_downward): Likewise.
55661         (ctanh_test_upward): Likewise.
55662         (main): Call these new functions.
55663         * sysdeps/i386/fpu/libm-test-ulps: Update.
55664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55666 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55668         * .gitignore: Delete /ports entry.
55670 2012-07-03  Andreas Jaeger  <aj@suse.de>
55672         * po/bg.po: Update from translation team.
55673         * po/cs.po: Likewise.
55674         * po/de.po: Likewise.
55675         * po/hr.po: Likewise.
55676         * po/nl.pl: Likewise.
55677         * po/pl.po: Likewise.
55678         * po/vi.po: Likewise.
55680 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55682         * Makeconfig [!+link] (+link-before-libc): New variable.
55683         [!+link] (+link-after-libc): Likewise.
55684         [!+link] (+link-tests): Likewise.
55685         [!+link] (+link): Define in terms of $(+link-before-libc) and
55686         $(+link-after-libc).
55687         [!+link-static] (+link-static-before-libc): New variable.
55688         [!+link-static] (+link-static-after-libc): Likewise.
55689         [!+link-static] (+link-static-tests): Likewise.
55690         [!+link-static] (+link-static): Define in terms of
55691         $(+link-static-before-libc) and $(+link-static-after-libc).
55692         [build-shared] (link-libc-before-gnulib): New variable.
55693         [build-shared] (link-libc-tests): Likewise.
55694         [build-shared] (link-libc): Define in terms of
55695         $(link-libc-before-gnulib).
55696         [!build-shared] (link-libc-tests): New variable.
55697         (link-libc-static-tests): New variable.
55698         [!gnulib] (gnulib-arch): New variable.
55699         [!gnulib] (gnulib-tests): Likewise.
55700         [!gnulib] (static-gnulib-arch): Likewise.
55701         [!gnulib] (static-gnulib-tests): Likewise.
55702         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55703         Define with "=" instead of ":=".
55704         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55705         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55706         * Rules (binaries-all-notests): New variable.
55707         (binaries-all-tests): Likewise.
55708         (binaries-static-notests): Likewise.
55709         (binaries-static-tests): Likewise.
55710         (binaries-all): Define using $(binaries-all-notests) and
55711         $(binaries-all-tests).
55712         (binaries-static): Define using $(binaries-static-notests) and
55713         $(binaries-static-tests).
55714         (binaries-shared-tests): New variable.
55715         (binaries-shared-notests): Likewise.
55716         (binaries-shared): Remove variable.
55717         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55718         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55719         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55720         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55721         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55722         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55723         * elf/Makefile (sln-modules): New variable.
55724         (extra-objs): Add $(sln-modules:=.o).
55725         (ldconfig-modules): Add static-stubs.
55726         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55727         * elf/static-stubs.c: New file.
55729         [BZ #14283]
55730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55731         by 7 not 8 to examine high bit of fractional part.  Use volatile
55732         variables when splitting into final array of floats if
55733         __FLT_EVAL_METHOD__ != 0.
55734         * math/libm-test.inc (cos_test): Add another test.
55735         (sin_test): Likewise.
55736         * sysdeps/i386/fpu/libm-test-ulps: Update.
55738         [BZ #14273]
55739         * math/libm-test.inc (cosh_test): Add more tests.
55741         * version.h (RELEASE): Set to "development".
55742         (VERSION): Set to "2.16.90".
55744 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55746         * NEWS: Update copyright. Remove last-updated date.
55747         Mention math library bug fixes and timezone data changes.
55748         * README: Mention GNU/Hurd, x32, and HPPA support status.
55750 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55752         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55754 2012-06-27  Andreas Jaeger  <aj@suse.de>
55756         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55758 2012-06-25  Andreas Jaeger  <aj@suse.de>
55760         * sysdeps/s390/fpu/libm-test-ulps: Update.
55762 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55763             Thomas Schwinge  <thomas@codesourcery.com>
55765         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55766         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55768         fanotify_mark.
55770 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55772         * sysdeps/mach/start.c: Remove file.
55773         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55774         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55775         * sysdeps/sh/init-first.c: Likewise.
55777         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55778         registers for frame unwinding purposes, add CFI directives.
55779         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
55781         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55782         Likewise.
55784         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55785         __fortify_fail returning.
55786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55788         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55789         sysdeps/sh/____longjmp_chk.S.
55790         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55791         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55792         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55793         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55795         * sysdeps/sh/abort-instr.h: New file.
55796         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55797         process in case exit returns.
55799         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55800         initialize the GOT register before use.
55802         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55803         calculation of ARGC > 4.
55805         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55806         meaningful names to some local labels.
55808 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55809             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55812         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55813         (__arch_compare_and_exchange_val_16_acq): Likewise.
55814         (__arch_compare_and_exchange_val_32_acq): Likewise.
55815         (atomic_exchange_and_add): Fix gUSA sequence.
55816         (atomic_add): Likewise.
55817         (atomic_add_negative): Likewise.
55818         (atomic_add_zero): Likewise.
55819         (atomic_bit_test_set): Likewise.
55821 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55823         [BZ #13579]
55824         * include/link.h (struct link_map): Add l_free_initfini.
55825         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55826         l_initfini.
55827         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55828         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55829         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55830         set.
55832 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55834         * configure.in: Use AC_LANG_SOURCE.
55835         * configure: Regenerate.
55837 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55839         * configure.in (libc_cv_localstatedir): New substituted variable.
55840         * configure: Regenerated.
55841         * config.make.in (localstatedir): New variable, substituted from
55842         libc_cv_localstatedir.
55843         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55844         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55845         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55846         * sysdeps/gnu/configure: Regenerated.
55848 2012-06-21  Jeff Law  <law@redhat.com>
55850         [BZ #14277]
55851         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55852         free.  Simplify list management for _LIBC case.
55854 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55856         [BZ #14273]
55857         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55858         Clear sign bit of 64-bit integer value before comparing against
55859         overflow value.
55861         * sysdeps/mach/configure: Regenerated.
55863 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55865         [BZ #14278]
55866         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55868 2012-06-21  Jeff Law  <law@redhat.com>
55870         [BZ #13882]
55871         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55872         uint16_t for elements in the "seen" array to avoid char overflows.
55873         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55874         * elf/dl-open.c (dl_open_worker): Likewise.
55876 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55878         * scripts/list-sources.sh: Scan PORTS for translations.
55879         * po/libc.pot: Regenerated.
55881 2012-06-21  Andreas Jaeger  <aj@suse.de>
55883         [BZ #12194]
55884         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55885         warning.
55886         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55887         * bits/byteswap-16.h (__bswap_16): Likewise.
55888         * bits/byteswap.h (__bswap_constant_16): Likewise.
55890 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55892         [BZ #14117]
55893         * sysdeps/i386/fpu_control.h: Removed.
55894         * sysdeps/x86_64/fpu_control.h: Moved to ...
55895         * sysdeps/x86/fpu_control.h: Here.
55897         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55898         (_FPU_SETCW): Likewise.
55900 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55902         [BZ #14117]
55903         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55904         * sysdeps/x86/fpu/bits/mathinline.h: This.
55905         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55907         [BZ #14050]
55908         [BZ #14117]
55909         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55910         functions if __x86_64__ is defined.
55912 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55914         * string/endian.h: Add !__ASSEMBLER__ condition for including
55915         conversion interfaces.
55917 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55919         [BZ #14241]
55920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55921         of ABS(x) in calculating zero to negative powers other than odd
55922         integers.
55923         * math/libm-test.inc (pow_test): Add more tests.
55925 2012-06-15  Andreas Jaeger  <aj@suse.de>
55927         * manual/contrib.texi (Contributors): Update entry of Liubov
55928         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55929         Machado Filho.
55931 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55933         * string/string.h: Add __wur to GNU version of strerror_r.
55935 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55937         [BZ #14229]
55938         * string/Makefile (tests): Add tst-strtok_r.
55939         * string/tst-strtok_r.c: New file.
55940         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55941         RAX_LP/RDX_LP on SAVE_PTR.
55943 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55945         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55947 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55949         * libm_test.inc (csqrt_test): Allow more spurious underflow
55950         exceptions.
55951         (j0_test): Likewise.
55952         (j1_test): Likewise.
55953         (y0_test): Likewise.
55954         (y1_test): Likewise.
55956 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55958         * po/Makefile (libc.pot): Use UTF-8 charset.
55960 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55962         [BZ #14210]
55963         Suppress sign-conversion warning from FD_SET.
55964         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55965         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55966         not unsigned long int.
55967         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55969 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55971         [BZ #14050]
55972         [BZ #14117]
55973         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55974         __extern_always_inline instead of __extern_inline.
55975         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55976         (__signbit): Likewise.
55977         (__signbitl): Support C++ namespace.
55978         (lrintf): New inline function.
55979         (lrint): Likewise.
55980         (llrintf): Likewise.
55981         (llrint): Likewise.
55982         (fmaxf): Likewise.
55983         (fmax): Likewise.
55984         (fminf): Likewise.
55985         (fmin): Likewise.
55986         (rint): Likewise.
55987         (rintf): Likewise.
55988         (ceil): Likewise.
55989         (ceilf): Likewise.
55990         (floor): Likewise.
55991         (floorf): Likewise.
55992         (nearbyint): Likewise.
55993         (nearbyintf): Likewise.
55995 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55997         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55998         non-default versions.
56000 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56002         [BZ #14218]
56003         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56005 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56007         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56008         (FE_UPWARD, FE_DOWNWARD): Don't define.
56009         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56010         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56012         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56013         reading it.
56014         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56017 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56019         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56021         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56022         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56024 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56026         [BZ #14117]
56027         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56028         * sysdeps/i386/fpu/Implies: New file.
56029         * sysdeps/x86_64/fpu/Implies: Likewise.
56030         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56031         * sysdeps/x86/fpu/bits/fenv.h: This.
56033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56034         __SSE_MATH__.
56036 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56038         [BZ #14134]
56039         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56040         character 0xffff that matches the last element of the
56041         conversion table.
56043 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56046         fmodl commit.
56048 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56051         values higher than 25.6283.
56053 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56056         subnormal exponent extraction and add some __builtin_expect.
56057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56058         Fix for subnormal mantissa calculation.
56060 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56062         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56063         cpu2 is -1 and errno is not ENOSYS.
56065 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56067         [BZ #14117]
56068         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56069         * sysdeps/x86/bits/string.h: This.
56070         * sysdeps/x86_64/bits/string.h: Removed.
56072         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56073         if not compiling for x86-64, but compiling for >= i486.
56075         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56076         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56078         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56079         New macro from Linux kernel 3.4.0.
56080         (FP_XSTATE_MAGIC2): Likewise.
56081         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56082         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56083         (struct _fpx_sw_bytes): New struct.
56084         (struct _xsave_hdr): Likewise.
56085         (struct _ymmh_state): Likewise.
56086         (struct _xstate): Likewise.
56088         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56089         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56090         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56091         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56093         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56095         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56096         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56097         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56098         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56099         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56100         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56102 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56104         [BZ #13743]
56105         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56106         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56107         (sysdep_headers): Include sys/platform/ppc.h.
56108         * sysdeps/powerpc/test-gettimebase.c: Test for
56109         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56110         * manual/Makefile (appendices): Include platform.texi.
56111         * manual/contrib.texi (Contributors): Update @node pointers.
56112         * manual/maint.texi (Maintenance): Likewise.
56113         (Platform): New node.
56114         * manual/platform.texi: New file.  Document the new features.
56116 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56117             Jakub Jelinek  <jakub@redhat.com>
56119         [BZ #14188]
56120         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56121         where __builtin_expect is unavailable.
56123 2012-06-03  David S. Miller  <davem@davemloft.net>
56125         * stdlib/longlong.h: Updated from GCC.
56127 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56129         [BZ #14042]
56130         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56131         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56132         __mcount_internal.
56133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56134         (GLIBC_2.16): Likewise.
56136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56138         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56140 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56143         (default-abi): New variable.
56144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56145         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56146         variable.
56147         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56148         Likewise.
56149         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56150         Likewise.
56151         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56152         Likewise.
56154         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56155         definition.  Document in comment.
56157 2012-06-01  David S. Miller  <davem@davemloft.net>
56159         * stdlib/longlong.h: Updated from GCC.
56161 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56163         [BZ #14117]
56164         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56165         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56166         sys/debugreg.h sys/io.h here.
56167         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56168         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56169         sys/io.h.
56170         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56171         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56172         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56173         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56174         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56175         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56177         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56178         Define only if __x86_64__ is defined.
56180 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56182         [BZ #14048]
56183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56184         Use int64_t for variable i.
56185         * math/libm-test.inc (fmod_test): Add more tests.
56187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56188         z computation is not scheduled after fetestexcept.
56189         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56190         Use math_force_eval instead of asm to ensure calculation scheduled
56191         before exception test.
56192         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56193         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56195 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56198         computation is not scheduled after fetestexcept.
56200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56202         [BZ #14117]
56203         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56204         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56206 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56208         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56209         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56211 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56213         [BZ #14117]
56214         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56215         <bits/wordsize.h>.
56216         (__WCHAR_MIN): Support __WORDSIZE == 64.
56217         (__WCHAR_MAX): Likewise.
56219         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56220         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56222         [BZ #14183]
56223         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56224         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56226         [BZ #14117]
56227         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56228         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56230         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56231         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56233         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56234         Defined to 1 if __x86_64__ isn't defined.
56235         (_STAT_VER_LINUX_OLD): New.
56236         (st_atime): Remove duplicate.
56237         (st_mtime): Likewise.
56238         (st_ctime): Likewise.
56240 2012-05-31  David S. Miller  <davem@davemloft.net>
56242         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56243         entries.
56245 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56247         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56248         gen-libm-test.pl.
56250         [BZ #14132]
56251         * elf/dl-reloc.c: Include <_itoa.h>.
56252         (_dl_reloc_bad_type): Remove use of INTUSE.
56253         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56254         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56255         * stdio-common/psiginfo.c (psiginfo): Likewise.
56256         * stdio-common/psignal.c (psignal): Likewise.
56257         * string/strsignal.c (strsignal): Likewise.
56258         * include/signal.h (_sys_siglist): Declare hidden proto.
56259         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56260         INTVARDEF with libc_hidden_data_def.
56261         * stdio-common/itoa-udigits.c: Likewise.
56262         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56263         (_itoa_lower_digits_internal): Remove declaration.
56264         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56265         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56266         (_sys_sigabbrev_internal): Remove aliases.
56267         (_sys_siglist): Define hidden alias.
56269 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56272         bits/sysctl.h.
56274 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56276         [BZ #14117]
56277         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56278         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56280         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56281         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56282         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56283         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56285         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56287         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56288         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56289         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56291         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56292         with __addr.
56293         (insw): Likewise.
56294         (insl): Likewise.
56295         (outsb): Likewise.
56296         (outsw): Likewise.
56297         (outsl): Likewise.
56299         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56301         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56303         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56304         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56305         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56306         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56307         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56308         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56310         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56311         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56313         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56314         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56320         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56321         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56322         to ...
56323         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56325         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56326         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56327         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56329         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56330         for x86-64.
56331         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56333 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56335         * math/math.h (M_El): Use two more decimal places.
56336         (M_LOG2El): Likewise.
56337         (M_LOG10El): Likewise.
56338         (M_LN2l): Likewise.
56339         (M_LN10l): Likewise.
56340         (M_PIl): Likewise.
56341         (M_PI_2l): Likewise.
56342         (M_PI_4l): Likewise.
56343         (M_1_PIl): Likewise.
56344         (M_2_PIl): Likewise.
56345         (M_2_SQRTPIl): Likewise.
56346         (M_SQRT2l): Likewise.
56347         (M_SQRT1_2l): Likewise.
56349 2012-05-31  David S. Miller  <davem@davemloft.net>
56351         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56352         values between float registers.
56353         * sysdeps/sparc/sparc64/memset.S: Likewise.
56354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56356 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56358         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56359         -D_FORTIFY_SOURCE=1.
56360         (CPPFLAGS-tst-longjmp_chk.c): Define.
56361         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56362         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56363         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56364         CFLAGS-tst-wchar-h.c.
56366 2012-05-31  Marek Polacek  <polacek@redhat.com>
56368         [BZ #14132]
56369         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56370         __endmntent_internal): Remove declaration.
56371         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56372         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56373         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56375 2012-05-30  David S. Miller  <davem@davemloft.net>
56377         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56378         (___Q_simulate_exceptions): Use real FP ops rather than writing
56379         into the %fsr.
56380         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56381         Likewise.
56383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56385         [BZ #14117]
56386         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56387         * sysdeps/x86/bits/xtitypes.h: This.
56389         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56390         * sysdeps/x86/bits/wordsize.h: This.
56392         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56393         * sysdeps/x86/bits/huge_vall.h: This.
56395         * sysdeps/i386/bits/select.h: Removed.
56396         * sysdeps/x86_64/bits/select.h: Renamed to ...
56397         * sysdeps/x86/bits/select.h: This.
56399         * sysdeps/i386/bits/setjmp.h: Removed.
56400         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56401         * sysdeps/x86/bits/setjmp.h: This.
56403         * sysdeps/i386/bits/mathdef.h: Removed.
56404         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56405         * sysdeps/x86/bits/mathdef.h: This.
56407 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56409         [BZ #14132]
56410         * include/sys/socket.h (__connect_internal)
56411         (__libc_sa_len_internal): Remove declaration.
56412         (__connect, __libc_sa_len): Declare hidden_proto.
56413         (SA_LEN): Remove use of INTUSE.
56414         * socket/connect.c: Add libc_hidden_def.
56415         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56416         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56417         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56418         alias.
56419         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56421         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56422         of adding _internal alias.
56424 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56426         [BZ #14117]
56427         * sysdeps/i386/bits/link.h: Removed.
56428         * sysdeps/i386/bits/linkmap.h: Likewise.
56429         * sysdeps/x86_64/bits/link.h: Renamed to ...
56430         * sysdeps/x86/bits/link.h: This.
56431         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56432         * sysdeps/x86/bits/linkmap.h: This.
56434         * sysdeps/i386/bits/endian.h: Removed.
56435         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56436         * sysdeps/x86/bits/endian.h: This.
56438         * sysdeps/i386/bits/byteswap.h: Removed.
56439         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56440         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56441         * sysdeps/x86/bits/byteswap.h: This.
56442         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56443         * sysdeps/x86/bits/byteswap-16.h: This.
56444         * sysdeps/i386/Implies: Add x86.
56445         * sysdeps/x86_64/Implies: Likewise.
56447 2012-05-30  David S. Miller  <davem@davemloft.net>
56449         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56450         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56451         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56452         (FP_TRAPPING_EXCEPTIONS): Define.
56453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56454         (FP_TRAPPING_EXCEPTIONS): Define.
56455         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56456         subnormals only when inexact has been signalled or underflow
56457         exceptions are enabled.
56458         (_FP_PACK_CANONICAL): Likewise.
56460 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56462         [BZ #14183]
56463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56464         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56466 2012-05-30  Richard Henderson  <rth@twiddle.net>
56468         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56469         with #ifndef NOT_IN_libc.
56471         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56472         marked to avoid plt entry.
56474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56476         [BZ #14112]
56477         * Makeconfig (default-abi): New macro.
56478         (abi-includes): Likewise.
56479         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56480         $(abi-$(default-abi)-lib-soname) for soname if defined.
56481         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56482         abi-variants.
56483         * Makefile (installed-stubs): Likewise.
56484         * include/stubs-biarch.h: Removed.
56485         * scripts/lib-names.awk: Only handle one library at a time.
56486         * scripts/soversions.awk: Remove WORDSIZE support.
56487         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56488         entries.
56489         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56490         Removed.
56491         (syscall-list-default-condition): Likewise.
56492         (syscall-list-default-condition): Likewise.
56493         (syscall-list-includes): Likewise.
56494         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56495         syscall-list-* with abi-*.  Handle undefined abi-variants.
56496         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56497         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56498         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56499         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56500         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56501         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56502         Removed.
56503         (syscall-list-32-options): Likewise.
56504         (syscall-list-32-condition): Likewise.
56505         (syscall-list-64-options): Likewise.
56506         (syscall-list-64-condition): Likewise.
56507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56508         macro.
56509         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56510         Renamed to ...
56511         (abi-*): This.
56512         (abi-64-ld-soname): New macro.
56513         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56514         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56515         Renamed to ...
56516         (abi-*): This.
56517         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56518         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56520 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56522         * sysdeps/unix/sysv/linux/kernel-features.h
56523         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56524         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56525         include <kernel-features.h>.
56526         [!__NR_ftruncate64]: Remove conditional code.
56527         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56528         [__NR_ftruncate64]: Make code unconditional.
56529         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56530         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56531         include <kernel-features.h>.
56532         [!__NR_ftruncate64]: Remove conditional code.
56533         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56534         [__NR_ftruncate64]: Make code unconditional.
56535         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56537         include <kernel-features.h>.
56538         [!__NR_ftruncate64]: Remove conditional code.
56539         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56540         [__NR_ftruncate64]: Make code unconditional.
56541         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56543         include <kernel-features.h>.
56544         [!__NR_ftruncate64]: Remove conditional code.
56545         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56546         [__NR_ftruncate64]: Make code unconditional.
56547         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56549         * configure.in (libc_cv_fpie): Weaken to a compile test using
56550         LIBC_TRY_CC_OPTION.
56551         * configure: Regenerated.
56553 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56559         Refreshed.
56560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56566         Refreshed.
56568 2012-05-27  David S. Miller  <davem@davemloft.net>
56570         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56571         (___Q_zero): New.
56572         (__Q_simulate_exceptions): Return void.  Change to simulate
56573         exceptions by writing into the %fsr.
56574         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56575         (__Qp_handle_exceptions): Likewise.
56576         (numbers): Delete.
56577         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56578         __Qp_handle_exceptions.
56579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56580         __Qp_handle_exceptions.
56581         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56582         as unused and give dummy FP_RND_NEAREST initializer.
56583         (FP_INHIBIT_RESULTS): Define.
56584         (___Q_simulate_exceptions): Update declaration.
56585         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56586         formatting.
56587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56588         as unused and give dummy FP_RND_NEAREST initializer.
56589         (__Qp_handle_exceptions): Update declaration.
56590         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56591         formatting.
56593 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56596         the temporary FPU control word.
56597         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56598         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56600         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56601         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56602         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56603         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56604         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56605         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56606         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56609 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56611         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56612         fields.
56614 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56616         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56617         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56618         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56619         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56620         Likewise.
56621         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56622         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56623         Likewise.
56625 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56627         * po/h.po: Update from translation team.
56629 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56631         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56633         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56634         handling of denormals.
56635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56636         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56637         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56638         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56642         Likewise.
56644 2012-05-26  Marek Polacek  <polacek@redhat.com>
56646         [BZ #14152]
56647         * math/libm-test.inc (fma_test): Don't always expect underflow
56648         exception.
56650 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56652         [BZ #12416]
56653         * elf/tst-execstack.c: Include stackinfo.h.
56654         (do_test): Adjust test case to ensure that pthread_getattr_np
56655         behaviour remains the same after marking stack executable.
56657 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56659         * sysdeps/unix/sysv/linux/kernel-features.h
56660         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56661         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56662         kernel-features.h.
56663         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56664         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56665         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56666         kernel-features.h.
56667         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56668         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56670 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56672         * configure.in: Define the default includes to being none.
56673         * configure: Regenerated.
56675 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56677         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56678         * sysdeps/x86_64/setjmp.S: Likewise.
56679         * sysdeps/i386/bsd-setjmp.S: Likewise.
56680         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56681         * sysdeps/i386/setjmp.S: Likewise.
56682         * sysdeps/i386/__longjmp.S: Likewise.
56683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56684         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56686         * include/stap-probe.h: New file.
56687         * configure.in: Handle --enable-systemtap.
56688         * configure: Regenerated.
56689         * config.h.in (USE_STAP_PROBE): New #undef.
56690         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56691         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56692         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56694 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56696         [BZ #13717]
56697         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56698         to 2.4.0 where earlier.
56699         * sysdeps/unix/sysv/linux/configure: Regenerated.
56700         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56701         <kernel-features.h>.
56702         [__ASSUME_32BITUIDS]: Make code unconditional.
56703         [!__ASSUME_32BITUIDS]: Remove conditional code.
56704         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56705         <kernel-features.h>.
56706         [__ASSUME_32BITUIDS]: Make code unconditional.
56707         [!__ASSUME_32BITUIDS]: Remove conditional code.
56708         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56709         [__ASSUME_32BITUIDS]: Make code unconditional.
56710         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56711         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56712         <kernel-features.h>.
56713         [__ASSUME_32BITUIDS]: Make code unconditional.
56714         [!__ASSUME_32BITUIDS]: Remove conditional code.
56715         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56716         <kernel-features.h>.
56717         [__ASSUME_32BITUIDS]: Make code unconditional.
56718         [!__ASSUME_32BITUIDS]: Remove conditional code.
56719         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56720         <kernel-features.h>.
56721         [__ASSUME_32BITUIDS]: Make code unconditional.
56722         [!__ASSUME_32BITUIDS]: Remove conditional code.
56723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56724         <kernel-features.h>.
56725         [__ASSUME_32BITUIDS]: Make code unconditional.
56726         [!__ASSUME_32BITUIDS]: Remove conditional code.
56727         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56728         <kernel-features.h>.
56729         [__ASSUME_32BITUIDS]: Make code unconditional.
56730         [!__ASSUME_32BITUIDS]: Remove conditional code.
56731         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56732         <kernel-features.h>.
56733         [__ASSUME_32BITUIDS]: Make code unconditional.
56734         [!__ASSUME_32BITUIDS]: Remove conditional code.
56735         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56736         <kernel-features.h>.
56737         [__ASSUME_32BITUIDS]: Make code unconditional.
56738         [!__ASSUME_32BITUIDS]: Remove conditional code.
56739         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56740         <kernel-features.h>.
56741         [__ASSUME_32BITUIDS]: Make code unconditional.
56742         [!__ASSUME_32BITUIDS]: Remove conditional code.
56743         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56744         <kernel-features.h>.
56745         [__ASSUME_32BITUIDS]: Make code unconditional.
56746         [!__ASSUME_32BITUIDS]: Remove conditional code.
56747         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56748         <kernel-features.h>.
56749         [__ASSUME_32BITUIDS]: Make code unconditional.
56750         [!__ASSUME_32BITUIDS]: Remove conditional code.
56751         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56752         <kernel-features.h>.
56753         [__NR_setresgid] (__setresgid): Do not declare.
56754         [__ASSUME_32BITUIDS]: Make code unconditional.
56755         [!__ASSUME_32BITUIDS]: Remove conditional code.
56756         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56757         <kernel-features.h>.
56758         [__NR_setresuid] (__setresuid): Do not declare.
56759         [__ASSUME_32BITUIDS]: Make code unconditional.
56760         [!__ASSUME_32BITUIDS]: Remove conditional code.
56761         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56762         <kernel-features.h>.
56763         [__ASSUME_32BITUIDS]: Make code unconditional.
56764         [!__ASSUME_32BITUIDS]: Remove conditional code.
56765         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56766         <kernel-features.h>.
56767         [__ASSUME_32BITUIDS]: Make code unconditional.
56768         [!__ASSUME_32BITUIDS]: Remove conditional code.
56769         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56770         <kernel-features.h>.
56771         [__ASSUME_32BITUIDS]: Make code unconditional.
56772         [!__ASSUME_32BITUIDS]: Remove conditional code.
56773         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56774         <kernel-features.h>.
56775         [__ASSUME_32BITUIDS]: Make code unconditional.
56776         [!__ASSUME_32BITUIDS]: Remove conditional code.
56777         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56778         <kernel-features.h>.
56779         [__ASSUME_32BITUIDS]: Make code unconditional.
56780         [!__ASSUME_32BITUIDS]: Remove conditional code.
56781         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56782         <kernel-features.h>.
56783         [__ASSUME_32BITUIDS]: Make code unconditional.
56784         [!__ASSUME_32BITUIDS]: Remove conditional code.
56785         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56786         <kernel-features.h>.
56787         [__ASSUME_32BITUIDS]: Make code unconditional.
56788         [!__ASSUME_32BITUIDS]: Remove conditional code.
56789         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56790         <kernel-features.h>.
56791         [__ASSUME_32BITUIDS]: Make code unconditional.
56792         [!__ASSUME_32BITUIDS]: Remove conditional code.
56793         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56794         <kernel-features.h>.
56795         [__ASSUME_32BITUIDS]: Make code unconditional.
56796         [!__ASSUME_32BITUIDS]: Remove conditional code.
56797         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56798         <kernel-features.h>.
56799         [__ASSUME_32BITUIDS]: Make code unconditional.
56800         [!__ASSUME_32BITUIDS]: Remove conditional code.
56801         * sysdeps/unix/sysv/linux/kernel-features.h
56802         (__ASSUME_SETRESUID_SYSCALL): Remove.
56803         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56804         (__ASSUME_32BITUIDS): Likewise.
56805         (__ASSUME_LDT_WORKS): Likewise.
56806         (__ASSUME_O_DIRECTORY): Likewise.
56807         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56808         architecture but not kernel version.
56809         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56810         (__ASSUME_MMAP2_SYSCALL): Likewise.
56811         (__ASSUME_STAT64_SYSCALL): Likewise.
56812         (__ASSUME_IPC64): Likewise.
56813         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56814         <kernel-features.h>.
56815         [__ASSUME_32BITUIDS]: Make code unconditional.
56816         [!__ASSUME_32BITUIDS]: Remove conditional code.
56817         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56818         <kernel-features.h>.
56819         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56820         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56821         132096]: Remove conditional code.
56822         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56824         <kernel-features.h>.
56825         [__ASSUME_32BITUIDS]: Make code unconditional.
56826         [!__ASSUME_32BITUIDS]: Remove conditional code.
56827         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56828         <kernel-features.h>.
56829         [__ASSUME_32BITUIDS]: Make code unconditional.
56830         [!__ASSUME_32BITUIDS]: Remove conditional code.
56831         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56832         <kernel-features.h>.
56833         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56834         unconditional.
56835         (__setresgid): Do not declare.
56836         [__ASSUME_32BITUIDS]: Make code unconditional.
56837         [!__ASSUME_32BITUIDS]: Remove conditional code.
56838         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56839         <kernel-features.h>.
56840         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56841         unconditional.
56842         (__setresuid): Do not declare.
56843         [__ASSUME_32BITUIDS]: Make code unconditional.
56844         [!__ASSUME_32BITUIDS]: Remove conditional code.
56845         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56846         <kernel-features.h>.
56847         [__ASSUME_32BITUIDS]: Make code unconditional.
56848         [!__ASSUME_32BITUIDS]: Remove conditional code.
56849         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56850         <kernel-features.h>.
56851         [__ASSUME_32BITUIDS]: Make code unconditional.
56852         [!__ASSUME_32BITUIDS]: Remove conditional code.
56854 2012-05-25  Richard Henderson  <rth@twiddle.net>
56856         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56857         dl_hwcap to ifunc resolver.
56858         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56859         elf_ifunc_invoke.
56860         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56861         dl_hwcap to ifunc resolver.
56862         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56864 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56866         [BZ #14153]
56867         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56868         for |x| <= 2**-26, not 2**-57.
56869         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56870         exception.
56872 2012-05-24  Jeff Law  <law@redhat.com>
56874         * stdio-common/Makefile (tests): Add bug25.
56875         * stdio-common/bug25.c: New test.
56877 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56879         [BZ #13576]
56880         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56881         multiple of MALLOC_ALIGNMENT in size.
56882         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56886         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56887         Require >= 256.
56888         (FILENAME_MAX): Use macro-int-constant.
56889         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56890         (_IOFBF): Use macro-int-constant.
56891         (_IOLBF): Likewise.
56892         (_IONBF): Likewise.
56893         (SEEK_CUR): Likewise.
56894         (SEEK_END): Likewise.
56895         (SEEK_SET): Likewise.
56896         (TMP_MAX): Likewise.
56897         (EOF): Use macro-int-constant.  Require < 0.
56898         (NULL): Use macro-constant.  Require == 0.
56899         (stdin): Require type to be FILE *.
56900         (stdout): Likewise.
56901         (stderr): Likewise.
56902         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56903         macro-int-constant.
56904         (EXIT_SUCCESS): Likewise.
56905         (NULL): Use macro-constant.  Require == 0.
56906         (RAND_MAX): Use macro-int-constant.
56907         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56908         [C99-based standards] (strtof): Require function.
56909         [C99-based standards] (strtold): Likewise.
56910         [C99-based standards] (strtoll): Likewise.
56911         [C99-based standards] (strtoull): Likewise.
56912         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56913         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56914         [ISO || ISO99 || ISO11] (math.h): Likewise.
56915         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56916         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56919 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56921         [BZ #14132]
56922         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56923         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56924         * intl/dgettext.c (DCGETTEXT): Likewise.
56925         * intl/gettext.c (DCGETTEXT): Likewise.
56926         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56927         * posix/regex_internal.h (gettext): Likewise.
56928         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56929         Remove declaration.
56930         * include/argz.h (__argz_count_internal)
56931         (__argz_stringify_internal): Remove declaration.
56932         (__argz_count, __argz_stringify): Declare hidden proto.
56933         * intl/dcgettext.c: Remove use of INTDEF.
56934         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56935         * string/argz-stringify.c: Likewise.
56936         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56937         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56938         Declare hidden proto.
56939         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56940         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56941         Declare hidden proto.
56942         * include/stdio.h (__asprintf_internal): Don't declare.
56943         (__asprintf): Don't define as macro.  Declare hidden proto.
56944         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56945         (__fsetlocking): Declare hidden proto.
56946         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56947         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56948         hidden proto.
56949         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56950         (_IO_setlinebuf): Remove use of INTUSE.
56951         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56952         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56953         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56954         Remove declaration.
56955         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56956         (_IO_do_flush): Remove use of INTUSE.
56957         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56958         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56959         (_IO_adjust_column, _IO_least_wmarker)
56960         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56961         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56962         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56963         (_IO_default_doallocate, _IO_wdefault_doallocate)
56964         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56965         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56966         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56967         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56968         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56969         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56970         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56971         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56972         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56973         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56974         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56975         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56976         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56977         proto.
56978         (_IO_flush_all_internal, _IO_adjust_column_internal)
56979         (_IO_default_uflow_internal, _IO_default_finish_internal)
56980         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56981         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56982         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56983         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56984         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56985         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56986         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56987         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56988         (_IO_file_close_internal, _IO_file_close_it_internal)
56989         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56990         (_IO_file_init_internal, _IO_file_attach_internal)
56991         (_IO_file_fopen_internal, _IO_file_read_internal)
56992         (_IO_file_sync_internal, _IO_file_seek_internal)
56993         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56994         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56995         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56996         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56997         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56998         (_IO_list_all_internal, _IO_link_in_internal)
56999         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57000         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57001         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57002         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57003         (_IO_do_write_internal, _IO_padn_internal)
57004         (_IO_getline_info_internal, _IO_getline_internal)
57005         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57006         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57007         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57008         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57009         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57010         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57011         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57012         with libc_hidden_ver, remove use of INTUSE.
57013         * libio/genops.c: Likewise.
57014         * libio/freopen.c: Likewise.
57015         * libio/freopen64.c: Likewise.
57016         * libio/iofclose.c: Likewise.
57017         * libio/iofdopen.c: Likewise.
57018         * libio/iofflush.c: Likewise.
57019         * libio/iofflush_u.c: Likewise.
57020         * libio/iofgets.c: Likewise.
57021         * libio/iofgets_u.c: Likewise.
57022         * libio/iofopen.c: Likewise.
57023         * libio/iofopncook.c: Likewise.
57024         * libio/iofread.c: Likewise.
57025         * libio/iofread_u.c: Likewise.
57026         * libio/ioftell.c: Likewise.
57027         * libio/iofwrite.c: Likewise.
57028         * libio/iogetline.c: Likewise.
57029         * libio/iogets.c: Likewise.
57030         * libio/iogetwline.c: Likewise.
57031         * libio/iopadn.c: Likewise.
57032         * libio/iopopen.c: Likewise.
57033         * libio/ioseekoff.c: Likewise.
57034         * libio/ioseekpos.c: Likewise.
57035         * libio/iosetbuffer.c: Likewise.
57036         * libio/iosetvbuf.c: Likewise.
57037         * libio/ioungetc.c: Likewise.
57038         * libio/ioungetwc.c: Likewise.
57039         * libio/iovdprintf.c: Likewise.
57040         * libio/iovsprintf.c: Likewise.
57041         * libio/iovsscanf.c: Likewise.
57042         * libio/memstream.c: Likewise.
57043         * libio/obprintf.c: Likewise.
57044         * libio/oldfileops.c: Likewise.
57045         * libio/oldiofclose.c: Likewise.
57046         * libio/oldiofdopen.c: Likewise.
57047         * libio/oldiofopen.c: Likewise.
57048         * libio/oldiopopen.c: Likewise.
57049         * libio/oldstdfiles.c: Likewise.
57050         * libio/putc.c: Likewise.
57051         * libio/setbuf.c: Likewise.
57052         * libio/setlinebuf.c: Likewise.
57053         * libio/stdfiles.c: Likewise.
57054         * libio/strops.c: Likewise.
57055         * libio/vasprintf.c: Likewise.
57056         * libio/vscanf.c: Likewise.
57057         * libio/vsnprintf.c: Likewise.
57058         * libio/vswprintf.c: Likewise.
57059         * libio/wfiledoalloc.c: Likewise.
57060         * libio/wfileops.c: Likewise.
57061         * libio/wgenops.c: Likewise.
57062         * libio/wmemstream.c: Likewise.
57063         * libio/wstrops.c: Likewise.
57064         * libio/__fpurge.c: Likewise.
57065         * libio/__fsetlocking.c: Likewise.
57066         * assert/assert.c: Likewise.
57067         * debug/fgets_chk.c: Likewise.
57068         * debug/fgets_u_chk.c: Likewise.
57069         * debug/fread_chk.c: Likewise.
57070         * debug/fread_u_chk.c: Likewise.
57071         * debug/gets_chk.c: Likewise.
57072         * debug/obprintf_chk.c: Likewise.
57073         * debug/vasprintf_chk.c: Likewise.
57074         * debug/vdprintf_chk.c: Likewise.
57075         * debug/vsnprintf_chk.c: Likewise.
57076         * debug/vsprintf_chk.c: Likewise.
57077         * malloc/mtrace.c: Likewise.
57078         * misc/error.c: Likewise.
57079         * misc/syslog.c: Likewise.
57080         * stdio-common/asprintf.c: Likewise.
57081         * stdio-common/fxprintf.c: Likewise.
57082         * stdio-common/getw.c: Likewise.
57083         * stdio-common/isoc99_fscanf.c: Likewise.
57084         * stdio-common/isoc99_scanf.c: Likewise.
57085         * stdio-common/isoc99_vfscanf.c: Likewise.
57086         * stdio-common/isoc99_vscanf.c: Likewise.
57087         * stdio-common/isoc99_vsscanf.c: Likewise.
57088         * stdio-common/printf-prs.c: Likewise.
57089         * stdio-common/printf_fp.c: Likewise.
57090         * stdio-common/printf_fphex.c: Likewise.
57091         * stdio-common/printf_size.c: Likewise.
57092         * stdio-common/putw.c: Likewise.
57093         * stdio-common/scanf.c: Likewise.
57094         * stdio-common/sprintf.c: Likewise.
57095         * stdio-common/tmpfile.c: Likewise.
57096         * stdio-common/vfprintf.c: Likewise.
57097         * stdio-common/vfscanf.c: Likewise.
57098         * stdlib/strfmon_l.c: Likewise.
57099         * sunrpc/openchild.c: Likewise.
57100         * sunrpc/xdr_stdio.c: Likewise.
57101         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57102         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57104 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57106         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57108         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57109         in the third column, to generate for the shared library an IFUNC
57110         that uses _dl_vdso_vsym.
57111         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57112         * Makeconfig (object-suffixes-noshared): New variable.
57114         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57115         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57116         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57117         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57119         [BZ #14132]
57120         * include/sys/time.h (__gettimeofday): Remove macro.
57121         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57122         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57123         Remove INTDEF.
57124         (__gettimeofday): Add libc_hidden_def.
57125         (gettimeofday): Add libc_hidden_weak.
57126         * sysdeps/mach/gettimeofday.c: Likewise.
57127         * sysdeps/posix/gettimeofday.c: Likewise.
57128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57129         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57131         (__gettimeofday_internal): Remove strong_alias.
57132         (__gettimeofday): Add libc_hidden_def.
57133         (gettimeofday): Add libc_hidden_weak.
57134         * sysdeps/unix/syscalls.list (gettimeofday):
57135         Remove __gettimeofday_internal alias.
57137 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57138             H.J. Lu  <hongjiu.lu@intel.com>
57140         [BZ #12495]
57141         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57142         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57143         (largebin_index_32_big): New.
57144         (largebin_index): Use it for 16-byte alignment.
57145         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57146         correction with front_misalign.
57148 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57152         Likewise.
57153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57154         Likewise.
57155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57156         Likewise.
57157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57158         Likewise.
57159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57160         Likewise.
57161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57162         Likewise.
57163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57164         Likewise.
57165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57166         Likewise.
57167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57168         Likewise.
57169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57170         Likewise.
57171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57172         Likewise.
57173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57174         Likewise.
57176         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57177         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57179 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57181         [BZ #10846]
57182         [BZ #14036]
57183         * math/libm-test.inc (exp_test): Add test from bug 14036.
57184         (pow_test): Add test from bug 10846.
57186         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57187         and other flags.
57188         (special_function): Do not include flags in test name.
57189         (parse_args): Likewise.
57190         * sysdeps/i386/fpu/libm-test-ulps: Update.
57191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57193         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57196         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57197         exceptions.
57198         * math/libm-test.inc ("Philosophy"): Update comment about
57199         exception testing.
57200         (UNDERFLOW_EXCEPTION): New macro.
57201         (UNDERFLOW_EXCEPTION_OK): Likewise.
57202         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57203         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57204         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57205         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57206         (INVALID_EXCEPTION_OK): Update value.
57207         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57208         (OVERFLOW_EXCEPTION_OK): Likewise.
57209         (IGNORE_ZERO_INF_SIGN): Likewise.
57210         (test_exceptions): Handle underflow exceptions.
57211         (acos_test): Update for underflow exception expectations.
57212         (cexp_test): Likewise.
57213         (clog_test): Likewise.
57214         (clog10_test): Likewise.
57215         (csqrt_test): Likewise.
57216         (ctan_test): Likewise.
57217         (ctanh_test): Likewise.
57218         (exp_test): Likewise.
57219         (exp10_test): Likewise.
57220         (exp2_test): Likewise.
57221         (expm1_test): Likewise.
57222         (fma_test): Likewise.
57223         (j0_test): Likewise.
57224         (jn_test): Likewise.
57225         (nexttoward_test): Likewise.
57226         (pow_test): Likewise.
57227         (scalbn_test): Likewise.
57228         (scalbln_test): Likewise.
57229         (tan_test): Likewise.
57230         (y1_test): Likewise.
57231         * sysdeps/i386/fpu/libm-test-ulps: Update.
57232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57234 2012-05-23  David S. Miller  <davem@davemloft.net>
57236         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57237         (__libc_sigaction): Remove unused local variables.
57239 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57241         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57243 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57245         mktime: avoid signed integer overflow
57246         * time/mktime.c (__mktime_internal): Do not mishandle the case
57247         where diff == INT_MIN.
57249         mktime: simplify computation of average
57250         * time/mktime.c (ranged_convert): Use new time_t_avg function
57251         instead of rolling our own (probably-slower) code.
57253         mktime: do not assume signed right shift propagates sign bit
57254         * time/mktime.c (isdst_differ): New static function.
57255         (__mktime_internal): No need to normalize tm_isdst now.
57256         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57257         tm_isdst values.
57259         mktime: merge another wrapv change from gnulib
57260         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57261         from some compilers.
57263         mktime: remove incorrect attempt at unusual arithmetics
57264         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57265         The code didn't really work on such machines anyway.
57266         (TYPE_MINIMUM): Assume two's complement.
57267         (twos_complement_arithmetic): Verify that long_int and time_t
57268         are two's complement (or unsigned, in the latter case).
57270         mktime: check signed shifts on long_int and time_t, too
57271         * time/mktime.c (SHR): Check that shifts work as desired
57272         on the types long_int and time_t too, as SHR is used on
57273         such types.
57275         mktime: do not assume 'long' is wide enough
57276         * time/mktime.c (verify): Move decl up.
57277         (long_int): New type.
57278         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57279         to remove assumption in the code that 'long' is wide enough to
57280         store year values.  This assumption is not true on x32 and on
57281         some non-glibc platforms.
57283         mktime: merge wrapv change from gnulib
57284         * time/mktime.c (WRAPV): New macro.
57285         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57286         (guess_time_tm, __mktime_internal): Do not assume that signed
57287         integer overflow wraps around; modern compilers generate code
57288         where this assumption is no longer valid.
57290 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57292         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57293         Replace "jmp L(pseudo_end)" with "ret".
57294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57295         Likewise.
57297 2012-05-23  Andreas Jaeger  <aj@suse.de>
57299         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57300         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57302 2012-05-23  Andreas Jaeger  <aj@suse.de>
57303             Maximilian Attems  <max@stro.at>
57305         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57306         New macros.
57308 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57310         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57311         code so that pseudo_end is just ret and the stack pointer is
57312         correct also for static library in error case.
57314 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57316         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57317         move to syscalls.list.
57318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57323         * manual/install.texi (Running make install): Do not mention Linux
57324         kernel version for which pt_chown is not needed.
57325         (Linux): Do not mention problems with nscd with 2.0 kernels.
57326         * INSTALL: Regenerated.
57328 2012-05-23  Andreas Jaeger  <aj@suse.de>
57330         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57331         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57332         macro.
57333         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57335         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57337         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57338         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57339         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57340         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57341         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57342         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57343         * sysdeps/unix/sysv/linux/bits/in.h
57344         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57346 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57348         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57349         (PREPARE_VERSION): Just use assert instead, it will be elided
57350         under [NDEBUG] anyway.
57352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57354         * sysdeps/unix/sysv/linux/Makefile: Include
57355         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57356         (sysdep_routines): Remove sysctl.
57357         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57358         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57360         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57361         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57363 2012-05-22  Andreas Jaeger  <aj@suse.de>
57365         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57366         that pseudo_end is just ret and the stack pointer is correct also
57367         for static library in error case.
57369 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57371         [BZ #14122]
57372         * nss/nsswitch.c (defconfig_entries): New variable.
57373         (__nss_database_lookup): Don't leak defconfig entries.
57374         (nss_parse_service_list): Don't leak on error paths.
57375         (free_database_entries): New function.
57376         (free_defconfig): New function.
57377         (free_mem): Move common code to free_database_entries.
57379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57382         Add arch_prctl.
57383         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57385         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57386         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57388         New macro.
57389         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57390         (INTERNAL_SYSCALL_TYPES): Likewise.
57391         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57392         (LOAD_REGS_TYPES_[1-6]): Likewise.
57393         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57394         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57396 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57398         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57399         copysignl for GLIBC_2_0.
57400         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57401         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57403         logbl for GLIBC_2_0.
57404         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57405         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57407 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57409         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57412         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57413         Use "neg %eax".
57415         * time/mktime.c: Update copyright years.
57417 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57419         mktime: merge comment-quoting-style change from gnulib
57420         * time/mktime.c: Quote 'like this' in comments.
57421         The GNU coding standards suggest that we no longer quote `like this',
57422         as "`" and "'" are typically rendered asymmetrically nowadays.
57423         The typical gnulib style is to quote 'like this' when quoting
57424         code, and "like this" when quoting English.
57426         * time/mktime.c (compile-command): Add "-I.".
57428         mktime: merge mktime-internal.h change from gnulib
57429         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57431         mktime: merge time_r change from gnulib
57432         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57434         mktime: merge DEBUG change from gnulib
57435         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57436         case system <time.h> has a #define.
57438         mktime: merge <sys/types.h> change from gnulib
57439         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57440         since <time.t> is now guaranteed to define time_t.
57442         mktime: merge HAVE_CONFIG_H change from gnulib
57443         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57445 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57448         Use "neg %eax".
57450         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57451         __rlim_t cast.
57452         (struct rusage): Use anonymous union to pad each field to
57453         __syscall_slong_t.
57455 2012-05-21  David S. Miller  <davem@davemloft.net>
57457         * Makefules (o-iterator): Remove .s cases.
57458         (compile-command.s): Delete.
57459         (COMPILE.s): Delete.
57460         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57462 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57464         * configure.in (libc_cv_predef_stack_protector): Only consider
57465         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57466         * configure: Regenerated.
57468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57471         New macro.  Use R*LP on int and pointer.
57472         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57473         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57474         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57475         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57477         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57478         [__WORDSIZE_TIME64_COMPAT32] instead of
57479         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57480         (struct utmp): Likewise.
57481         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57482         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57483         Renamed to ...
57484         (__WORDSIZE_TIME64_COMPAT32): This.
57485         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57486         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57487         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57488         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57489         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57490         (__WORDSIZE_TIME64_COMPAT32): New macro.
57492 2012-05-21  Andreas Jaeger  <aj@suse.de>
57494         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57495         only if [SHARED]. Add prototype for __wcschr_ia32.
57497 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57499         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57500         of %rbp unmolested in the jmp_buf while mangling the low bits.
57501         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57502         unmolested high bits of %rbp while demangling the low bits.
57503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57505 2012-05-21  Andreas Jaeger  <aj@suse.de>
57507         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57508         * sunrpc/svc_simple.c: Use it for registerrpc.
57509         * sunrpc/xcrypt.c: Use it for passwd2des.
57511         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57515         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57516         Don't define if [__SYSCALL_WORDSIZE != 32].
57517         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57518         New macro.
57520 2012-05-21  Bruno Haible  <bruno@clisp.org>
57521             Andreas Jaeger  <aj@suse.de>
57523         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57524         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57525         inptr and inend for must_buffer_ch.
57526         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57527         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57528         * stdio-common/Makefile (tests): Remove bug15.
57529         (bug15-ENV): Remove macro.
57530         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57531         anymore.
57533 2012-05-19  Andreas Jaeger  <aj@suse.de>
57534             Roland McGrath  <roland@hack.frob.com>
57536         * manual/contrib.texi: Completely rewritten. It contains now an
57537         alphabetical list of contributors and their contributions.
57539 2012-05-21  Richard Henderson  <rth@twiddle.net>
57541         * misc/getauxval.c (__getauxval): Use unsigned long int.
57542         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57543         (getauxval): Use unsigned long int.
57545 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57547         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57549 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57551         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57552         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57553         __alignof__ (long double).
57555 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57559 2012-05-20  Richard Henderson  <rth@twiddle.net>
57561         * misc/getauxval.c: New file.
57562         * misc/sys/auxv.h: New file.
57563         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57564         (routines): Add getauxval.
57565         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57567         * elf/dl-sysdep.c (_dl_auxv): Remove.
57568         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57569         * elf/dl-support.c (_dl_auxv): New variable.
57570         (_dl_aux_init): Initialize it.
57571         * manual/startup.texi (Auxiliary Vector): New node.
57572         * sysdeps/generic/bits/hwcap.h: New file.
57573         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57574         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57575         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57576         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57577         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57580         Update.
57581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57590 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57594 2012-05-19  David S. Miller  <davem@davemloft.net>
57596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #14123]
57601         * math/s_ccosh.c: Include <float.h>
57602         (__ccosh): Avoid internal overflow calculating sinh and cosh
57603         values before multiplying by sin and cos values.
57604         * math/s_ccoshf.c: Likewise.
57605         * math/s_ccoshl.c: Likewise.
57606         * math/s_csin.c: Likewise.
57607         * math/s_csinf.c: Likewise.
57608         * math/s_csinl.c: Likewise.
57609         * math/s_csinh.c: Likewise.
57610         * math/s_csinhf.c: Likewise.
57611         * math/s_csinhl.c: Likewise.
57612         * math/libm-test.inc (ccos_test): Add more tests.
57613         (ccosh_test): Likewise.
57614         (csin_test): Likewise.
57615         (csinh_test): Likewise.
57616         * sysdeps/i386/fpu/libm-test-ulps: Update.
57617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57619 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57621         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57622         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57624         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57626 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57628         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57629         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57630         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57631         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57632         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57633         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57634         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57635         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57636         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57637         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57638         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57639         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57640         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57641         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57642         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57643         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57644         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57645         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57646         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57647         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57648         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57649         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57650         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57651         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57652         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57653         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57654         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57655         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57656         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57657         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57658         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57660 2012-05-18  Andreas Jaeger  <aj@suse.de>
57662         * csu/.gitignore: Delete.
57664 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57666         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57667         (timex): Use __syscall_slong_t.
57669 2012-05-18  Andreas Jaeger  <aj@suse.de>
57670             Carlos O'Donell  <carlos_odonell@mentor.com>
57672         * manual/install.texi (Configuring and compiling): Update
57673         description about files modified in the source directory.
57674         * INSTALL: Regenerated.
57676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57678         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57679         value.  Use "or" to set return value to -1.
57680         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57681         negate return value.
57683 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57685         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57686         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57687         failure if the compiler has Graphite support disabled.
57688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57689         Likewise.
57690         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57691         (CFLAGS-memmove.c): Likewise.
57692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57693         Likewise.
57695 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57697         * sysdeps/x86_64/x32/_itoa.h: New file.
57699         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57700         getdents system call only if kernel and user dirents have the
57701         same d_ino and d_off.
57703         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57704         LLONG_MAX != LONG_MAX.
57705         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57706         (_fitoa_word): Likewise.
57708         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57709         years.
57710         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57711         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57712         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57714         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57715         include <bits/wordsize.h>.  Check __x86_64__ instead of
57716         __WORDSIZE.
57717         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57718         if __x86_64__ is defined.  Use anonymous union on fpstate.
57720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57721         anonymous union.
57723 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57725         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57726         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57727         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57728         Refer to _rtld_local_ro instead of _rtld_global_ro.
57729         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57730         Likewise.
57731         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57732         Likewise.
57733         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57734         Likewise.
57735         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57736         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57737         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57739         [BZ #10882]
57740         * sysdeps/powerpc/powerpc32/dl-machine.c
57741         (__elf_machine_runtime_setup) [PROF]: Don't reference
57742         _dl_prof_resolve.
57744 2012-05-18  Andreas Jaeger  <aj@suse.de>
57746         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57747         function only available for GCCs before 3.4 since GCC 3.4
57748         introduced a builtin.
57749         (lrint): Likewise.
57750         (llrintf): Likewise.
57751         (llrint): Likewise.
57752         (fmaxf): Likewise.
57753         (fmax): Likewise.
57754         (fminf): Likewise.
57755         (fmin): Likewise.
57756         (rint): Likewise.
57757         (rintf): Likewise.
57758         (nearbyint): Likewise.
57759         (nearbyintf): Likewise.
57760         (ceil): Likewise.
57761         (ceilf): Likewise.
57762         (floor): Likewise.
57763         (floorf): Likewise.
57765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57767         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57768         on both fields and cast pointer to __syscall_ulong_t.
57770         * bits/types.h (__fsword_t): New type.
57771         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57772         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57774         (__FSWORD_T_TYPE): Likewise.
57775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57776         (__FSWORD_T_TYPE): Likewise.
57777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57778         (__FSWORD_T_TYPE): Likewise.
57779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57780         (__FSWORD_T_TYPE): Likewise.
57781         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57782         __SWORD_TYPE with __fsword_t.
57783         (statfs64): Likewise.
57785 2012-05-17  David S. Miller  <davem@davemloft.net>
57787         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57789 2012-05-17  Andreas Jaeger  <aj@suse.de>
57791         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57792         warning.
57794 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57796         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57798 2012-05-17  Andreas Jaeger  <aj@suse.de>
57800         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57801         when it is used.
57803 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57805         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57807 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57809         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57810         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57812 2012-05-17  Andreas Jaeger  <aj@suse.de>
57813             Carlos O'Donell  <carlos_odonell@mentor.com>
57815         [BZ #14059]
57816         * sysdeps/x86_64/multiarch/init-arch.h
57817         (bit_YMM_Usable): Rename to...
57818         (bit_AVX_Usable): ... this.
57819         (bit_FMA4_Usable): New macro.
57820         (bit_XMM_state): New macro.
57821         (bit_YMM_state): New macro.
57822         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57823         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57824         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57825         (CPUID_OSXSAVE): New macro.
57826         (CPUID_AVX): New macro.
57827         (CPUID_FMA4): New macro.
57828         (index_YMM_Usable): Rename to...
57829         (index_AVX_Usable): ... this.
57830         (HAS_AVX): Use HAS_ARCH_FEATURE.
57831         (HAS_FMA4): Likewise.
57832         (HAS_YMM_USABLE): Remove.
57833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57834         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57835         are present.
57836         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57837         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57838         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57839         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57840         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57842 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57844         * math/libm-test.c: Support platforms without multiple rounding modes.
57845         * math/bug-nextafter.c: Support platforms without FP exceptions.
57846         * math/bug-nexttoward.c: Likewise.
57847         * math/test-fenv.c: Likewise.
57848         * math/test-misc.c: Likewise.
57849         * stdlib/bug-getcontext.c: Likewise.
57851 2012-05-17  Andreas Jaeger  <aj@suse.de>
57853         * manual/examples/search.c (critter_cmp): Change signature to
57854         avoid warnings.
57855         * manual/string.texi (Collation Functions): Likewise.
57857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57859         * bits/types.h: Fold copyright years.
57860         * bits/typesizes.h: Likewise.
57861         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57864         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57865         * time/time.h: Likewise.
57867 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57869         [BZ #208]
57870         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57871         in instead of returning them.  Return void.
57872         (__libc_mallinfo): Accumulate over all arenas.
57873         (__malloc_stats): Adjust for change in int_mallinfo interface.
57875 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57877         [BZ #10375]
57878         * configure.in (NM): Add AC_CHECK_TOOL for it.
57879         (libc_extra_cflags): New substituted variable.
57880         Check for -fstack-protector being used implicitly.
57881         * configure: Regenerated.
57882         * config.make.in (config-extra-cflags): New variable,
57883         gets @libc_extra_cflags@.
57884         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57886         [BZ #10375]
57887         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57888         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57889         * configure: Regenerated.
57890         * config.make.in (CPPUNDEFS): New substituted variable.
57891         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57892         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57893         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57895 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57897         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57898         (mq_attr): Use __syscall_slong_t.
57900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57902         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57903         Check __x86_64__ instead of __WORDSIZE.
57904         (_STAT_VER_LINUX): Likewise.
57905         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57906         __syscall_ulong_t and __syscall_slong_t.
57907         (stat64): Likewise.
57909 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57911         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57915         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57919         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57920         __syscall_ulong_t.
57922         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57923         include <bits/wordsize.h>.  Check __x86_64__ instead of
57924         __WORDSIZE.
57925         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57926         defined.
57927         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57929         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57930         include <bits/wordsize.h>.  Check __x86_64__ instead of
57931         __WORDSIZE.
57932         (user_regs_struct): Use "__extension__ unsigned long long"
57933         instead of "unsigned long" if __x86_64__ is defined.
57934         (user): Likewise.  Pad after pointer field if __ILP32__ is
57935         defined.
57937 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57939         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57940         versions 5 to 9.
57941         * configure: Regenerated.
57942         * manual/install.texi (texinfo): Increase version requirement to
57943         4.5 or later.
57944         * INSTALL: Regenerated.
57946         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57950         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57952         * sysdeps/x86_64/x32/ffs.c: New file.
57954         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57955         __syscall_ulong_t.
57956         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57957         defined.  Use __syscall_ulong_t.
57958         (shminfo): Use __syscall_ulong_t.
57959         (shm_info): Likewise.
57961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57962         __syscall_ulong_t.
57964         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57965         <bits/wordsize.h>.
57966         (msgqnum_t): Use __syscall_ulong_t.
57967         (msglen_t): Likewise.
57968         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57969         __syscall_ulong_t.
57971         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57972         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57974         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57976         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57977         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57979         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57980         __syscall_slong_t.
57982         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57983         include <bits/wordsize.h>.  Check __x86_64__ instead of
57984         __WORDSIZE.
57986         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57987         "unsigned long long int" if __x86_64__ is defined.
57988         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57990         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57991         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57992         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57994         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57995         <stdint.h>.
57996         (GET_PC): Cast to uintptr_t first.
57997         (GET_FRAME): Likewise.
57998         (GET_STACK): Likewise.
58000         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58001         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58002         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58003         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58004         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58005         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58006         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58007         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58008         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58009         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58010         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58011         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58012         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58013         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58014         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58016         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58017         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58018         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58019         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58020         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58022         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58024         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58026         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58027         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58028         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58030 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58032         * Makerules (+depfiles): Also collect depfiles from .oS in
58033         $(extra-objs).
58034         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58035         .oS, $(libnldbl-routines)).
58037         * Makerules (native-compile-mkdep-flags): Define.
58038         * sunrpc/Makefile (extra-objs): Add $(addprefix
58039         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58040         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58041         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58042         calling $(make-target-directory).
58044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58046         * bits/types.h (__snseconds_t): Removed.
58047         * time/time.h (struct timespec): Replace __snseconds_t with
58048         __syscall_slong_t.
58049         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58050         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58051         Likewise.
58052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58053         (__SNSECONDS_T_TYPE): Likewise.
58054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58055         (__SNSECONDS_T_TYPE): Likewise.
58056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58057         (__SNSECONDS_T_TYPE): Likewise.
58059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58061         * sysdeps/mach/hurd/bits/typesizes.h
58062         (__SYSCALL_SLONG_TYPE): New macro.
58063         (__SYSCALL_ULONG_TYPE): Likewise.
58065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58067         * bits/types.h (__syscall_slong_t): New type.
58068         (__syscall_ulong_t): Likewise.
58070         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58071         (__SYSCALL_ULONG_TYPE): Likewise.
58072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58073         (__SYSCALL_SLONG_TYPE): Likewise.
58074         (__SYSCALL_ULONG_TYPE): Likewise.
58075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58076         (__SYSCALL_SLONG_TYPE): Likewise.
58077         (__SYSCALL_ULONG_TYPE): Likewise.
58078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58079         (__SYSCALL_SLONG_TYPE): Likewise.
58080         (__SYSCALL_ULONG_TYPE): Likewise.
58082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58084         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58085         Add sigaltstack-offsets.sym.
58086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58087         <sigaltstack-offsets.h>.
58088         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58089         longjmp_msg pointer.
58090         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58091         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58092         signal stack.
58093         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58095 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58097         * elf/stackguard-macros.h: Remove file.
58098         * sysdeps/generic/stackguard-macros.h: New file.
58099         * sysdeps/i386/stackguard-macros.h: Likewise.
58100         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58101         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58102         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58103         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58104         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58105         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58106         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58107         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58108         <elf/stackguard-macros.h>.
58110         [BZ #14109]
58111         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58112         __aligned__ in attribute.
58113         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58114         (gregset_t): Likewise.
58116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58118         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58119         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58120         * sysdeps/x86_64/x32/Implies-after: New file.
58122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58124         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58125         and access return value for _dl_profile_fixup.  Use R10_LP to
58126         load frame size.
58128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58130         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58134         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58135         * sysdeps/x86_64/x32/sysdep.h: New file.
58137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58139         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58140         * sysdeps/x86_64/setjmp.S: Likewise.
58142 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58144         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58145         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58146         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58148         remove unused global constant.
58150 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58152         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58153         include of <not-cancel.h>.
58155 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58157         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58159 2012-05-15  Jeff Law  <law@redhat.com>
58160             Andreas Jaeger  <aj@suse.de>
58162         [BZ #13594]
58163         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58164         out from...
58165         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58166         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58167         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58168         code changing __hst_map_handle.map.
58170 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58172         * configure.in (sysnames): Look for Implies-before and Implies-after
58173         files.
58174         * configure: Regenerated.
58176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58178         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58179         8-byte data alignment with LP_SIZE alignment.
58181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58184         into R10_LP.
58186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58188         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58192         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58193         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58195         Likewise.
58196         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58200         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58201         (stackinfo_sub_sp): Likewise.
58203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58205         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58206         RAX_LP.
58208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58210         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58211         into R*_LP.
58213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58215         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58216         sizes into R*_LP.
58218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58220         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58224         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58225         into R11_LP and load __x86_64_shared_cache_size_half into
58226         R8_LP.
58228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58230         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58231         R8_LP.
58233 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58235         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58236         logb for POWER7.
58237         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58238         logbf for POWER7.
58239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58240         logbl for POWER7.
58241         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58242         powerpc32/power7/fpu/s_logb.c via #include.
58243         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58244         powerpc32/power7/fpu/s_logbf.c via #include.
58245         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58246         powerpc32/power7/fpu/s_logbl.c via #include.
58248 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58250         * README.libm: Remove file.
58252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58254         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58255         count for x32.  Use R*_LP and omit operand-size suffix.
58257 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58259         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58260         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58261         * sysdeps/x86_64/x32/shlib-versions: New file.
58263 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58265         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58266         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58267         Use _dl_fatal_printf instead.
58269 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58271         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58272         set if not set by the user.  Do not allow for being unset.
58273         * sysdeps/unix/sysv/linux/configure: Regenerated.
58275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58277         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58278         the `q' suffix from lea and replace .quad with ASM_ADDR.
58280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58283         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58284         instead of $17.
58285         (PTR_DEMANGLE): Likewise.
58287 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58289         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58290         (LP_OP): Likewise.
58291         (ASM_ADDR): Likewise.
58292         (RAX_LP): Likewise.
58293         (RBP_LP): Likewise.
58294         (RBX_LP): Likewise.
58295         (RCX_LP): Likewise.
58296         (RDI_LP): Likewise.
58297         (RSI_LP): Likewise.
58298         (RSP_LP): Likewise.
58299         (R8_LP): Likewise.
58300         (R9_LP): Likewise.
58301         (R10_LP): Likewise.
58302         (R10_LP): Likewise.
58303         (R11_LP): Likewise.
58304         (R12_LP): Likewise.
58305         (R13_LP): Likewise.
58306         (R14_LP): Likewise.
58307         (R15_LP): Likewise.
58309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58311         * sysdeps/x86_64/x32/dl-machine.h: New file.
58313 2012-05-14  Andreas Jaeger  <aj@suse.de>
58315         * manual/Makefile (subdir): Remove export of subdir.
58316         (all): Remove target.
58317         (.PHONY): Remove all from list.
58318         (mkinstalldirs): Remove.
58319         (.PHONY): Remove installdirs from list.
58320         ($(inst_infodir)/libc.info): Use make-target-directory.
58321         (installdirs): Remove.
58322         (subdir_%): Remove.
58323         (glibc-targets): Remove.
58324         (lib): Remove.
58325         (stubs): Remove.
58326         ($(objpfx)stubs ../po/manual.pot): Remove.
58327         ($(objpfx)stamp%): Remove.
58328         (make-target-directory): Remove.
58329         (subdir_install): Remove.
58330         (routines): Remove.
58331         (aux): Remove.
58332         (sources): Remove.
58333         (objects): Remove.
58334         (headers): Remove.
58336         [BZ #13750]
58337         * manual/.gitignore: Remove, it's not needed anymore.
58338         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58339         all files in it.
58340         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58341         directory.
58342         (texis): Renamed to $(objpfx)texis.
58343         (texis-path): New, contains path to generated files.
58344         (chapters.%): Use texis-path for complete path, add extra argument
58345         libc-texinfo.sh.
58346         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58347         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58348         (summary,texi, stamp-summary): Use complete path of
58349         files. Generate files in build dir.
58350         (dir-add.texi): Build in build dir.
58351         (libm-err.texi,stamp-libm-err): Likewise.
58352         (version.texi, stamp-version): Likewise.
58353         (.%c.texi): Likewise.
58354         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58355         (mostlyclean): Remove target.
58356         (realclean): Remove target.
58357         (generated): Add new variable with contents from mostlyclean and
58358         realclean, remove entries duplicated in common-mostlyclean, add
58359         stamp-libm-err and stamp-version.
58360         (generated-dirs): Add libc directory.
58361         ($(inst_infodir)/libc.info): Install files from build dir.
58363         * manual/install.texi (Configuring and compiling): Adjust since
58364         the info files are not part of the tar ball anymore.
58366 2012-05-14  Andreas Jaeger  <aj@suse.de>
58368         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58369         variable.
58371 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58373         [BZ #13717]
58374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58375         to 2.2.0 where earlier.
58376         * sysdeps/unix/sysv/linux/configure: Regenerated.
58377         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58378         Remove conditional code.
58379         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58380         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58381         Remove conditional code.
58382         [!__NR_lchown]: Likewise.
58383         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58384         [__NR_lchown]: Likewise.
58385         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58386         comment referencing __ASSUME_LCHOWN_SYSCALL.
58387         * sysdeps/unix/sysv/linux/i386/sigaction.c
58388         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58389         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58390         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58391         Remove conditional code.
58392         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58393         (__protocol_available): Remove #if 0 code.
58394         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58395         conditional code.
58396         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58397         * sysdeps/unix/sysv/linux/kernel-features.h
58398         (__ASSUME_GETCWD_SYSCALL): Don't define.
58399         (__ASSUME_REALTIME_SIGNALS): Likewise.
58400         (__ASSUME_PREAD_SYSCALL): Likewise.
58401         (__ASSUME_PWRITE_SYSCALL): Likewise.
58402         (__ASSUME_POLL_SYSCALL): Likewise.
58403         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58404         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58405         non-SPARC.
58406         (__ASSUME_SIOCGIFNAME): Don't define.
58407         (__ASSUME_MSG_NOSIGNAL): Likewise.
58408         (__ASSUME_SENDFILE): Define unconditionally.
58409         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58410         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58411         conditional code.
58412         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58413         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58414         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58415         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58416         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58417         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58418         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58423         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58424         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58429         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58432         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58435         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58438         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58443         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58444         Remove conditional code.
58445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58446         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58447         Remove conditional code.
58448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58449         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58450         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58451         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58452         Remove conditional code.
58453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58454         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58455         Remove conditional code.
58456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58457         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58458         Remove conditional code.
58459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58460         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58461         Remove conditional code.
58462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58463         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58464         Remove conditional code.
58465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58466         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58467         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58469         * sysdeps/unix/sysv/linux/sigaction.c
58470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58472         * sysdeps/unix/sysv/linux/sigpending.c
58473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58475         * sysdeps/unix/sysv/linux/sigprocmask.c
58476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58478         * sysdeps/unix/sysv/linux/sigsuspend.c
58479         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58480         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58481         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58482         (__libc_missing_rt_sigs): Remove.
58483         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58484         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58485         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58486         Remove conditional code.
58487         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58488         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58489         return 1.
58490         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58491         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58492         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58493         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58495 2012-05-14  Andreas Jaeger  <aj@suse.de>
58497         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58498         it's not used in glibc.
58499         (__coshm1): Likewise.
58500         (__acosh1p): Likewise.
58501         (__sgn): Likewise.
58503         * manual/string.texi (Copying and Concatenation): Add missing
58504         variable in concat example.
58505         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58509         [BZ #14103]
58510         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58511         __builtin_clzl with __builtin_clzll.
58513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58515         [BZ #14104]
58516         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58517         libc_freeres_ptr.
58519 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58521         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58522         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58523         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58524         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58526 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58528         * NEWS: Update ia64 info.
58530 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58532         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58533         used as bcopy.
58535 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58537         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58538         * sysdeps/unix/syscalls.list (dup3): Likewise.
58539         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58540         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58542 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58544         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58545         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58547 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58549         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58550         thread pointer.
58551         (TLS_IE): Use mov/add instead of movq/addq to load thread
58552         pointer.
58553         (TLS_GD_PREFIX): New.
58554         (TLS_GD): Use it.
58556 2012-05-11  David S. Miller  <davem@davemloft.net>
58558         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58559         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58560         (_FPU_SETCW): Likewise.
58562 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58564         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58565         is 32-byte aligned.
58567 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58569         [BZ #11837]
58570         * iconvdata/gb18030.c: Update tables.
58571         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58572         characters specially.
58573         (BODY for TO_LOOP): Add encoding of missing ranges.
58575 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58577         [BZ #13673]
58578         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58579         * sysdeps/mach/hurd/dup3.c: Likewise.
58580         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58581         * sysdeps/powerpc/memmove.c:: Likewise.
58583 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58586         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58590         * elf/elf.h (R_X86_64_RELATIVE64): New.
58591         (R_X86_64_NUM): Updated.
58592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58593         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58594         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58595         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58596         tst-quad1pie tst-quad2pie
58597         (modules-names): Add tst-quadmod1 tst-quadmod2.
58598         ($(objpfx)tst-quad1): New dependency.
58599         ($(objpfx)tst-quad2): Likewise.
58600         ($(objpfx)tst-quad1pie): Likewise.
58601         ($(objpfx)tst-quad2pie): Likewise.
58602         * sysdeps/x86_64/tst-quad1.c: New file.
58603         * sysdeps/x86_64/tst-quad1pie.c: New file.
58604         * sysdeps/x86_64/tst-quad2.c: Likewise.
58605         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58606         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58607         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58608         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58609         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58613         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58614         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58615         * streams/stropts.h (t_scalar_t): Define type.
58617         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58618         (_PATH_PRESERVE): Set to "/var/lib".
58619         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58621         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58622         instead of int.
58624         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58625         if __dir_mkfile succeeded.
58627         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58628         checking for _hurd_dtablesize.  Unlock it right after having
58629         finished _hurd_dtable allocation.
58631 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58633         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58634         * sysdeps/mach/hurd/configure: Regenerated.
58635         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58636         special-casing to...
58637         * sysdeps/gnu/configure.in: ... this new file.
58638         * sysdeps/unix/sysv/linux/configure: Regenerated.
58639         * sysdeps/gnu/configure: New generated file.
58641         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58642         for Linux: use nsec instead of usec, as well as:
58643         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58644         members of type struct timespec.
58645         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58646         New macros.
58647         (struct stat64): Likewise.
58648         (_STATBUF_ST_NSEC): New macro.
58649         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58651         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58652         __strtoul_internal rather than strtoul.
58654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58656         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58657         and reject them.
58659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58661         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58662         which preserves existing values.
58663         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58665 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58667         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58668         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58669         greater than FD_SETSIZE.
58671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58673         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58674         allocated, call __vm_protect to finish enabling the existing space, and
58675         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58676         allocate the remainder.
58678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58680         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58681         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58685         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58686         sysdeps/mach/hurd/readlink.c.
58688         * posix/tst-sysconf.c (posix_options): Only use
58689         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58690         _POSIX_SYNCHRONIZED_IO when they are defined
58691         * sysdeps/mach/hurd/bits/posix_opt.h:
58692         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58693         (_XOPEN_REALTIME): Undefine macro.
58694         (_XOPEN_REALTIME_THREADS): Undefine macro.
58695         (_XOPEN_SHM): Undefine macro.
58696         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58697         macro to -1.
58698         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58699         macro to -1.
58700         (_POSIX_ASYNC_IO): Undefine macro.
58701         (_POSIX_PRIORITIZED_IO): Undefine macro.
58702         (_POSIX_SPIN_LOCKS): Define macro to -1.
58704         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58705         SA_NODEFER, SA_RESETHAND.
58706         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58707         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58708         F_DUPFD_CLOEXEC.
58710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58712         * elf/Makefile (pldd-modules): Define unconditionally.
58714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58716         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58718 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58720         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58721         Return ENOENT when name is empty.
58722         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58726         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58728         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58732         Fix mlock in all cases except non-readable pages.
58733         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58734         instead of VM_PROT_ALL as parameter to __vm_wire function.
58736         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58737         (__mkdir): When path is `/', just fail with EEXIST.
58738         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58742         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58743         <sys/uio.h> (for writev).
58744         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58745         and <sys/param.h> (for MIN).
58747 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58749         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58750         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58751         if interrupted.
58753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58755         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58756         Depend on against $(link-rpcuserlibs).
58758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58760         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58761         (__libc_stack_end): Do not use attribute_relro.
58762         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58763         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58764         to libthread-provided value.
58765         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58766         attribute_relro.
58768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58770         [BZ #3748]
58771         * bits/libc-lock.h (__libc_once_get): New macro.
58772         * sysdeps/mach/bits/libc-lock.h: Likewise.
58773         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58775         instead of using implementation details.
58777         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58778         * libio/freopen.c: Likewise.
58779         * libio/freopen64.c: Likewise.
58780         * misc/syslog.c: Likewise.
58781         * nscd/connections.c: Likewise.
58782         * nscd/netgroupcache.c: Likewise.
58783         * sysdeps/posix/getcwd.c: Likewise.
58785 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58787         * math/w_ilogbf.c: Add #include <limits.h>.
58789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58791         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58792         path instead of returning without unlocking.
58794         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58795         immediate-write ioctls.
58796         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58800         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58801         __builtin_frame_address instead of making assumptions about the
58802         location of the return address relative to DATA.  Force early load of
58803         the return address.
58804         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58805         __builtin_frame_address.
58807         dup3 for GNU Hurd.
58808         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58809         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58810         implement dup3 and do some further code clean-ups.
58811         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58816         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58818         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58819         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58820         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58821         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58822         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58823         d->port.lock.
58825         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58826         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58827         when handler == SIG_ERR, not when handler != SIG_ERR.
58829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58831         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58832         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58833         definitions.
58835         accept4 for GNU Hurd.
58836         * include/sys/socket.h (__libc_accept4): New prototype.
58837         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58838         to implement __libc_accept4.
58839         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58840         __libc_accept4.
58841         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58843         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58844         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58845         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58846         signal-defines.sym.
58848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58850         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58854         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58855         assertion on O_CLOEXEC flag.
58856         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58857         * hurd/intern-fd.c: Likewise.
58858         * hurd/port2fd.c: Likewise.
58860 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58862         [BZ #3906]
58863         * bits/in.h (IPV6_PKTINFO): Define new macro.
58864         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58866 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58868         [BZ #13954]
58869         [BZ #13955]
58870         [BZ #13956]
58871         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58873         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58874         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58876         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58877         * math/libm-test.inc (logb_test) : Additional logb tests.
58879 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58880             Andreas Jaeger  <aj@suse.de>
58882         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58883         * configure: Regenerated.
58884         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58885         * config.make.in (link-obsolete-rpc): New substituted variable.
58886         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58887         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58888         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58889         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58890         so that libc.a contains the symbols.
58891         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58892         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58893         * sunrpc/auth_none.c: Likewise.
58894         * sunrpc/auth_unix.c: Likewise.
58895         * sunrpc/authdes_prot.c: Likewise.
58896         * sunrpc/authuxprot.c: Likewise.
58897         * sunrpc/clnt_gen.c: Likewise.
58898         * sunrpc/clnt_perr.c: Likewise.
58899         * sunrpc/clnt_raw.c: Likewise.
58900         * sunrpc/clnt_simp.c: Likewise.
58901         * sunrpc/clnt_tcp.c: Likewise.
58902         * sunrpc/clnt_udp.c: Likewise.
58903         * sunrpc/clnt_unix.c: Likewise.
58904         * sunrpc/des_crypt.c: Likewise.
58905         * sunrpc/des_soft.c: Likewise.
58906         * sunrpc/get_myaddr.c: Likewise.
58907         * sunrpc/key_call.c: Likewise.
58908         * sunrpc/key_prot.c: Likewise.
58909         * sunrpc/netname.c: Likewise.
58910         * sunrpc/pm_getmaps.c: Likewise.
58911         * sunrpc/pm_getport.c: Likewise.
58912         * sunrpc/pmap_clnt.c: Likewise.
58913         * sunrpc/pmap_prot.c: Likewise.
58914         * sunrpc/pmap_prot2.c: Likewise.
58915         * sunrpc/pmap_rmt.c: Likewise.
58916         * sunrpc/publickey.c: Likewise.
58917         * sunrpc/rpc_cmsg.c: Likewise.
58918         * sunrpc/rpc_common.c: Likewise.
58919         * sunrpc/rpc_dtable.c: Likewise.
58920         * sunrpc/rpc_prot.c: Likewise.
58921         * sunrpc/rpc_thread.c: Likewise.
58922         * sunrpc/rtime.c: Likewise.
58923         * sunrpc/svc.c: Likewise.
58924         * sunrpc/svc_auth.c: Likewise.
58925         * sunrpc/svc_raw.c: Likewise.
58926         * sunrpc/svc_run.c: Likewise.
58927         * sunrpc/svc_tcp.c: Likewise.
58928         * sunrpc/svc_udp.c: Likewise.
58929         * sunrpc/svc_unix.c: Likewise.
58930         * sunrpc/svcauth_des.c: Likewise.
58931         * sunrpc/xcrypt.c: Likewise.
58932         * sunrpc/xdr.c: Likewise.
58933         * sunrpc/xdr_array.c: Likewise.
58934         * sunrpc/xdr_float.c: Likewise.
58935         * sunrpc/xdr_intXX_t.c: Likewise.
58936         * sunrpc/xdr_mem.c: Likewise.
58937         * sunrpc/xdr_rec.c: Likewise.
58938         * sunrpc/xdr_ref.c: Likewise.
58939         * sunrpc/xdr_sizeof.c: Likewise.
58940         * sunrpc/xdr_stdio.c: Likewise.
58942 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58944         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58945         change.  Update copyright years.
58947 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58949         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58951 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58952             Joseph Myers  <joseph@codesourcery.com>
58953             Paul Pluzhnikov  <ppluzhnikov@google.com>
58955         [BZ #14012]
58956         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58957         requiring rpcgen.
58958         [cross-compiling] (extra-libs): Likewise.
58959         [cross-compiling] (extra-libs-others): Likewise.
58960         [cross-compiling] (librpcsvc-routines): Likewise.
58961         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58962         [cross-compiling] (omit-deps): Likewise.
58963         (sunrpc-CPPFLAGS): New variable.
58964         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58965         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58966         (cross-rpcgen-objs): New variable.
58967         (extra-objs): Append $(cross-rpcgen-objs).
58968         ($(cross-rpcgen-objs)): New rule.
58969         ($(objpfx)cross-rpcgen): Likewise.
58970         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58971         comment.
58972         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58973         ($(objpfx)x%.stmp): Likewise.
58974         * sunrpc/proto.h [IS_IN_build] (_): Define.
58975         [IS_IN_build] (_libc_intl_domainname): Likewise.
58977 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58980         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58981         and R_X86_64_TPOFF64.
58983 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58985         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58986         sysdeps/unix/sysv/syscalls.list.
58987         (stime): Likewise.
58988         (utime): Likewise.
58989         * sysdeps/unix/sysv/syscalls.list: Remove file.
58991 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58993         [BZ #3440]
58994         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58995         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58996         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58997         (__LC_IDENTIFICATION): Make these macros useful in #if
58998         expressions, as required by C99.
59000 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59002         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59003         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59004         after this.
59006 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59008         * stdlib/longlong.h: Updated from GCC.
59010 2012-05-09  Andreas Jaeger  <aj@suse.de>
59012         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59013         default is first entry.
59014         (run_mode): Set type.
59015         (main): Remove informal message about syslog.
59016         (options): Fix typo.
59018         [BZ #14053]
59019         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59020         to asm.
59021         (lrint): Likewise.
59022         (llrintf): Likewise.
59023         (llrint): Likewise.
59024         (rint): Likewise.
59025         (rintf): Likewise.
59026         (nearbyint): Likewise.
59027         (nearbyintf): Likewise.
59029 2012-05-09  Andreas Jaeger  <aj@suse.de>
59030             Pedro Alves  <palves@redhat.com>
59032         * nscd/nscd.c (run_mode): Use enum.
59033         (main): Cleanup coding style issue.
59035 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59036             Andreas Jaeger  <aj@suse.de>
59038         * nscd/nscd.c (go_background): Replaced with...
59039         (run_mode): ... this.
59040         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59041         (options): Add -F --foreground.
59042         (main): Implement it.
59043         (parse_opt): Parse it.
59045 2012-05-09  Andreas Jaeger  <aj@suse.de>
59047         [BZ #14083]
59048         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59049         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59050         -Wconversion warning.
59051         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59052         Likewise.
59054 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59056         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59057         == 0.
59058         (LC_ALL): Use macro-int-constant.
59059         (LC_COLLATE): Likewise.
59060         (LC_CTYPE): Likewise.
59061         (LC_MESSAGES): Likewise.
59062         (LC_MONETARY): Likewise.
59063         (LC_NUMERIC): Likewise.
59064         (LC_TIME): Likewise.
59065         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59066         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59068         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59069         Specify type.
59070         [C99-based standards] (float_t): Expect type.
59071         [C99-based standards] (double_t): Expect type.
59072         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59073         type.
59074         [C99-based standards] (HUGE_VALL): Likewise.
59075         [C99-based standards] (INFINITY): Likewise.
59076         [C99-based standards] (NAN): Likewise.
59077         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59078         [C99-based standards] (FP_NAN): Likewise.
59079         [C99-based standards] (FP_NORMAL): Likewise.
59080         [C99-based standards] (FP_SUBNORMAL): Likewise.
59081         [C99-based standards] (FP_ZERO): Likewise.
59082         [C99-based standards] (FP_FAST_FMA): Use
59083         optional-macro-int-constant.  Specify type.  Require == 1.
59084         [C99-based standards] (FP_FAST_FMAF): Likewise.
59085         [C99-based standards] (FP_FAST_FMAL): Likewise.
59086         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59087         [C99-based standards] (FP_ILOGBNAN): Likewise.
59088         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59089         Specify type.
59090         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59091         [C99-based standards] (math_errhandling): Specify type.
59092         [ISO99 || ISO11] (signgam): Do not allow.
59093         [non-C99-based standards] (copysignf): Do not allow.
59094         [non-C99-based standards] (exp2f): Likewise.
59095         [non-C99-based standards] (log2f): Likewise.
59096         [non-C99-based standards] (modff): Allow.
59097         [non-C99-based standards] (erff): Do not allow.
59098         [non-C99-based standards] (erfcf): Likewise.
59099         [non-C99-based standards] (gammaf): Likewise.
59100         [non-C99-based standards] (hypotf): Likewise.
59101         [non-C99-based standards] (j0f): Likewise.
59102         [non-C99-based standards] (j1f): Likewise.
59103         [non-C99-based standards] (jnf): Likewise.
59104         [non-C99-based standards] (lgammaf): Likewise.
59105         [non-C99-based standards] (tgammaf): Likewise.
59106         [non-C99-based standards] (y0f): Likewise.
59107         [non-C99-based standards] (y1f): Likewise.
59108         [non-C99-based standards] (ynf): Likewise.
59109         [non-C99-based standards] (isnanf): Likewise.
59110         [non-C99-based standards] (acoshf): Likewise.
59111         [non-C99-based standards] (asinhf): Likewise.
59112         [non-C99-based standards] (atanhf): Likewise.
59113         [non-C99-based standards] (cbrtf): Likewise.
59114         [non-C99-based standards] (expm1f): Likewise.
59115         [non-C99-based standards] (ilogbf): Likewise.
59116         [non-C99-based standards] (log1pf): Likewise.
59117         [non-C99-based standards] (logbf): Likewise.
59118         [non-C99-based standards] (nextafterf): Likewise.
59119         [non-C99-based standards] (remainderf): Likewise.
59120         [non-C99-based standards] (rintf): Likewise.
59121         [non-C99-based standards] (scalbf): Likewise.
59122         [non-C99-based standards] (copysignl): Likewise.
59123         [non-C99-based standards] (exp2l): Likewise.
59124         [non-C99-based standards] (log2l): Likewise.
59125         [non-C99-based standards] (modfl): Allow.
59126         [non-C99-based standards] (erfl): Do not allow.
59127         [non-C99-based standards] (erfcl): Likewise.
59128         [non-C99-based standards] (gammal): Likewise.
59129         [non-C99-based standards] (hypotl): Likewise.
59130         [non-C99-based standards] (j0l): Likewise.
59131         [non-C99-based standards] (j1l): Likewise.
59132         [non-C99-based standards] (jnl): Likewise.
59133         [non-C99-based standards] (lgammal): Likewise.
59134         [non-C99-based standards] (tgammal): Likewise.
59135         [non-C99-based standards] (y0l): Likewise.
59136         [non-C99-based standards] (y1l): Likewise.
59137         [non-C99-based standards] (ynl): Likewise.
59138         [non-C99-based standards] (isnanl): Likewise.
59139         [non-C99-based standards] (acoshl): Likewise.
59140         [non-C99-based standards] (asinhl): Likewise.
59141         [non-C99-based standards] (atanhl): Likewise.
59142         [non-C99-based standards] (cbrtl): Likewise.
59143         [non-C99-based standards] (expm1l): Likewise.
59144         [non-C99-based standards] (ilogbl): Likewise.
59145         [non-C99-based standards] (log1pl): Likewise.
59146         [non-C99-based standards] (logbl): Likewise.
59147         [non-C99-based standards] (nextafterl): Likewise.
59148         [non-C99-based standards] (remainderl): Likewise.
59149         [non-C99-based standards] (rintl): Likewise.
59150         [non-C99-based standards] (scalbl): Likewise.
59151         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59152         [non-C99-based standards] (FP_*): Do not allow.
59153         [C99-based standards] (FP_*): Change to
59154         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59155         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59156         allow.
59157         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59158         (SIG_ERR): Likewise.
59159         [X/Open-based standards] (SIG_HOLD): Likewise.
59160         (SIG_IGN): Likewise.
59161         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59162         positive value.
59163         (SIGFPE): Likewise.
59164         (SIGILL): Likewise.
59165         (SIGINT): Likewise.
59166         (SIGSEGV): Likewise.
59167         (SIGTER): Likewise.
59168         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59169         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59170         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59171         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59172         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59173         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59174         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59175         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59176         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59177         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59178         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59179         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59180         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59181         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59182         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59183         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59184         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59185         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59186         [X/Open-based standards] (SIGTRAP): Likewise.
59187         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59188         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59189         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59190         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59191         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59192         allow.
59194 2012-05-08  Ian Wienand  <ianw@vmware.com>
59196         [BZ #14080]
59197         * time/tzset.c (__tzset_parse_tz): Update default rules for
59198         daylight time changes in the Energy Policy Act of 2005.
59200 2012-05-09  Andreas Jaeger  <aj@suse.de>
59202         [BZ #13983]
59203         * elf/ldconfig.c (parse_conf): Change string to make clear that
59204         ldconfig only issued a warning if ld.so.conf does not exist.
59206 2012-05-08  David S. Miller  <davem@davemloft.net>
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59209         movxtod instead of popping the value on the stack.
59211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59213 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59215         * config.h.in: Add HAVE_ARM_PCS_VFP.
59217 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59219         [BZ #13979]
59220         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59221         checking but the checks are disabled for any reason.
59223 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59225         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59226         and ELF64_R_TYPE with ELFW(R_TYPE).
59228 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59230         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59231         (ulimit): Likewise.
59233         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59234         (settimeofday): Likewise.
59236 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59238         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59239         a struct th_u2 inside the union, and move tu_block/tu_code into
59240         a new th_u3 union of tu_block/tu_code inside of that.  Move
59241         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59242         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59243         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59244         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59245         (th_stuff): Change to th_u1.tu_stuff.
59246         (th_data): Define.
59247         (th_msg): Change to th_u1.th_u2.tu_data.
59249 2012-05-07  David S. Miller  <davem@davemloft.net>
59251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59253         [BZ #14074]
59254         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59255         (SETUP_PIC_REG): Use it.
59256         (SETUP_PIC_REG_LEAF): Use it.
59258 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59260         [BZ #13885]
59261         [BZ #13923]
59262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59263         USE_AS_EXPM1L.
59264         (EXPL_FINITE): Likewise.
59265         (FLDLOG): Likewise.
59266         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59267         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59268         e_expl.S.
59269         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59270         USE_AS_EXPM1L.
59271         (EXPL_FINITE): Likewise.
59272         (FLDLOG): Likewise.
59273         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59274         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59275         e_expl.S.
59276         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59277         test of -max_value argument for long double.
59278         * sysdeps/i386/fpu/libm-test-ulps: Update.
59279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59281 2012-05-06  David S. Miller  <davem@davemloft.net>
59283         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59284         quad soft-float symbols whose references which are compiler
59285         generated.
59286         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59288 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59290         [BZ #13884]
59291         [BZ #13914]
59292         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59293         USE_AS_EXP10L.
59294         (EXPL_FINITE): Likewise.
59295         (FLDLOG): Likewise.
59296         (c0): Likewise.
59297         (c1): Likewise.
59298         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59299         Adjust comments for base varying.
59300         (__expl_finite): Change alias to EXPL_FINITE.
59301         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59302         e_expl.S.
59303         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59304         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59306         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59307         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59308         USE_AS_EXP10L.
59309         (EXPL_FINITE): Likewise.
59310         (FLDLOG): Likewise.
59311         (c0): Likewise.
59312         (c1): Likewise.
59313         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59314         Adjust comments for base varying.
59315         (__expl_finite): Change alias to EXPL_FINITE.
59316         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59317         tests for bugs.
59318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59320         [BZ #14064]
59321         * math/libm-test.inc (check_float_internal): Correct ulp
59322         calculation for subnormal expected results.
59324 2012-05-06  Andreas Jaeger  <aj@suse.de>
59326         * Makeconfig (+math-flags): New, set to -frounding-math.
59327         (+cflags): Add +math-flags so that all of glibc gets compiled with
59328         it.
59330         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59332 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59334         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59335         Disable one test.
59337         [BZ #13787]
59338         [BZ #13922]
59339         [BZ #14036]
59340         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59341         (__ieee754_expl): Allow for and saturate large arguments.
59342         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59343         (u_threshold): Likewise.
59344         (__exp): Call __ieee754_exp before checking for overflow and
59345         underflow.
59346         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59347         (u_threshold): Likewise.
59348         (__expf): Call __ieee754_expf before checking for overflow and
59349         underflow.
59350         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59351         (u_threshold): Likewise.
59352         (__expl): Call __ieee754_expl before checking for overflow and
59353         underflow.
59354         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59355         (__ieee754_expl): Allow for and saturate large arguments.
59356         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59357         missing overflow exception on overflow.
59358         (expm1_test): Do not allow missing overflow exception on overflow.
59360         * sysdeps/i386/fpu/e_expl.c: Move to ...
59361         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59362         rather than using inline asm.
59363         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59364         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59365         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59367         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59368         (nice): Likewise.
59369         (poll): Likewise.
59370         (signal): Likewise.
59371         (time): Likewise.
59372         (times): Likewise.
59374 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59376         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59377         sysdeps/unix/common/syscalls.list.
59378         (fchmod): Likewise.
59379         (fchown): Likewise.
59380         (ftruncate): Likewise.
59381         (getrusage): Likewise.
59382         (gettimeofday): Likewise.
59383         (setpgid): Likewise.
59384         (setregid): Likewise.
59385         (setreuid): Likewise.
59386         (sigaction): Likewise.
59387         (truncate): Likewise.
59388         (vhangup): Likewise.
59389         * sysdeps/unix/common/syscalls.list: Remove file.
59390         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59391         * sysdeps/unix/sysv/linux/Implies: Likewise.
59393 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59395         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59397         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59398         Moved to ...
59399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59400         Here.
59401         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59402         to ...
59403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59404         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59405         to ...
59406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59407         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59408         to ...
59409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59410         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59411         to ...
59412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59413         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59414         to ...
59415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59416         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59417         to ...
59418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59419         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59420         to ...
59421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59422         Here.
59423         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59424         to ...
59425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59426         Here.
59427         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59428         to ...
59429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59430         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59431         Moved to ...
59432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59433         Here.
59434         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59435         to ...
59436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59440         * sysdeps/unix/common/bits/dirent.h: Remove file.
59441         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59443         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59444         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59445         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59446         * sysdeps/unix/bsd/isatty.c: Likewise.
59447         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59448         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59449         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59451 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59453         [BZ #13563]
59454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59455         long double comparison inaccuracies.
59456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59459 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59461         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59464 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59466         [BZ #14049]
59467         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59468         nonzero digits before rounding a hex value.
59469         * stdlib/tst-strtod.c (tests): Add another test.
59471 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59473         * sysdeps/s390/fpu/libm-test-ulps: Update.
59475 2012-05-03  Andreas Jaeger  <aj@suse.de>
59477         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59478         does not get optimized out.
59479         (malloc_opt_barrier): New.
59481 2012-05-03  Andreas Jaeger  <aj@suse.de>
59482             Roland McGrath  <roland@hack.frob.com>
59484         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59485         intermediate file deletion.
59486         (generated): Add .symlist files.
59488 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59490         [BZ #13775]
59491         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59492         Redirect under this condition.
59493         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59494         [__USE_GNU] (__dprintf_chk): Not under this condition.
59495         [__USE_GNU] (__vdprintf_chk): Likewise.
59496         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59497         under this condition.
59498         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59499         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59500         [__USE_XOPEN2K8] (vdprintf): Likewise.
59501         [__USE_GNU] (__dprintf_chk): Not under this condition.
59502         [__USE_GNU] (__vdprintf_chk): Likewise.
59503         [__USE_GNU] (dprintf): Likewise.
59504         [__USE_GNU] (vdprintf): Likewise.
59506 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59508         * elf/Makefile (common-generated): Set this instead of generated for
59509         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59510         $(all-built-dso)-derived lists.
59512 2012-05-03  Andreas Jaeger  <aj@suse.de>
59514         * sysdeps/i386/fpu/libm-test-ulps: Update.
59516         * FAQ: Removed.
59517         * FAQ.in: Likewise.
59518         * scripts/gen-FAQ.pl: Likewise.
59519         * manual/install.texi (Installation): Point to online location of
59520         FAQ.
59521         * Makefile (files-for-dist): Remove FAQ.
59522         (FAQ): Remove.
59524 2012-05-02  Allan McRae  <allan@archlinux.org>
59526         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59527         (LDFLAGS-reldepmod5.so): Likewise.
59528         (LDFLAGS-reldep6mod1.so): Likewise.
59529         (LDFLAGS-reldep6mod4.so): Likewise.
59530         (LDFLAGS-reldep8mod3.so): Likewise.
59531         (LDFLAGS-unload4mod1.so): Likewise.
59532         (LDFLAGS-unload4mod2.so): Likewise.
59533         (LDFLAGS-tst-initorder): Likewise.
59534         (LDFLAGS-tst-initordera2.so): Likewise.
59535         (LDFLAGS-tst-initordera3.so): Likewise.
59536         (LDFLAGS-tst-initordera4.so): Likewise.
59537         (LDFLAGS-tst-initorderb2.so): Likewise.
59538         (LDFLAGS-noload): Likewise.
59539         (LDFLAGS-next): Likewise.
59540         (LDFLAGS-order2mod1.so): Likewise.
59541         (LDFLAGS-order2mod2.so): Likewise.
59542         (LDFLAGS-tst-initorder2): Likewise.
59543         (LDFLAGS-tst-initorder2a.so): Likewise.
59544         (LDFLAGS-tst-initorder2b.so): Likewise.
59545         (LDFLAGS-tst-initorder2c.so): Likewise.
59546         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59548 2012-05-02  David S. Miller  <davem@davemloft.net>
59550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59552 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59554         [BZ #14055]
59555         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59557 2012-05-02  Andreas Jaeger  <aj@suse.de>
59559         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59560         since we manipulate rounding mode.
59561         (CPPFLAGS-test-idouble.c): Likewise.
59562         (CPPFLAGS-test-ifloat.c): Likewise.
59563         (CFLAGS-test-ldouble.c): Likewise.
59564         (CFLAGS-test-double.c): Likewise.
59565         (CFLAGS-test-float.c): Likewise.
59566         (CFLAGS-test-misc.c): Likewise.
59567         (CFLAGS-test-test-fenv.c): Likewise.
59569 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59571         [BZ #2550]
59572         [BZ #2570]
59573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59574         comparisons to determine direction to adjust input.
59576 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59578         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59579         output to the target.
59581         * scripts/localplt.awk: New file.
59582         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59583         (check-localplt-CFLAGS): Variable removed.
59584         ($(all-built-dso:=.jmprel)): New static pattern rule.
59585         (generated): Add those targets.
59586         (localplt-built-dso): New variable.
59587         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59589         * elf/check-localplt.c: File removed.
59591         * scripts/check-execstack.awk: New file.
59592         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59593         (check-execstack-CFLAGS): Variable removed.
59594         ($(objpfx)check-execstack.h): Target removed.
59595         ($(objpfx)execstack-default): New target.
59596         (generated): Add that instead of check-execstack.h.
59597         ($(all-built-dso:=.phdr)): New static pattern rule.
59598         (generated): Add those targets.
59599         * elf/check-execstack.c: File removed.
59601         * scripts/check-textrel.awk: New file.
59602         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59603         (check-textrel-CFLAGS): Variable removed.
59604         (all-built-dso): Use := to define.o
59605         ($(all-built-dso:=.dyn)): New static pattern rule.
59606         (generated): Add those targets.
59607         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59608         * config.make.in (READELF): New substituted variable.
59609         * elf/check-textrel.c: File removed.
59611 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59613         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59614         allow.
59615         * conform/data/ctype.h-data [C99-based standards] (isblank):
59616         Expect function.
59617         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59618         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59620         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59621         Specify type.  Require positive value.
59622         (EILSEQ): Likewise.
59623         (ERANGE): Likewise.
59624         [ISO || POSIX] (EILSEQ): Do not expect.
59625         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59626         Specify type.  Require positive value.
59627         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59628         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59629         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59630         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59631         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59632         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59633         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59634         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59635         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59636         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59637         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59638         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59639         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59640         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59641         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59642         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59643         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59644         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59645         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59646         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59647         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59648         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59649         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59650         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59651         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59652         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59653         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59654         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59655         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59656         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59657         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59658         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59659         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59660         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59661         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59662         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59663         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59664         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59665         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59666         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59667         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59668         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59669         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59670         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59671         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59672         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59673         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59674         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59675         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59676         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59677         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59678         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59679         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59680         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59681         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59682         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59683         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59684         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59685         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59686         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59687         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59688         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59689         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59690         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59691         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59692         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59693         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59694         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59695         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59696         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59697         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59698         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59699         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59700         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59701         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59702         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59703         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59704         Require >= 2.
59705         (FLT_ROUNDS): Expect as macro, not constant.
59706         (FLT_MANT_DIG): Use macro-int-constant.
59707         (DBL_MANT_DIG): Likewise.
59708         (LDBL_MANT_DIG): Likewise.
59709         (FLT_DIG): Likewise.
59710         (DBL_DIG): Likewise.
59711         (LDBL_DIG): Likewise.
59712         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59713         (DBL_MIN_EXP): Likewise.
59714         (LDBL_MIN_EXP): Likewise.
59715         (FLT_MAX_EXP): Use macro-int-constant.
59716         (DBL_MAX_EXP): Likewise.
59717         (LDBL_MAX_EXP): Likewise.
59718         (FLT_MAX_10_EXP): Likewise.
59719         (DBL_MAX_10_EXP): Likewise.
59720         (LDBL_MAX_10_EXP): Likewise.
59721         (FLT_MAX): Use macro-constant.
59722         (DBL_MAX): Likewise.
59723         (LDBL_MAX): Likewise.
59724         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59725         (DBL_EPSILON): Likewise.
59726         (LDBL_EPSILON): Likewise.
59727         (FLT_MIN): Likewise.
59728         (DBL_MIN): Likewise.
59729         (LDBL_MIN): Likewise.
59730         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59731         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59732         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59733         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59734         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59735         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59736         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59737         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59738         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59739         [ISO11] (FLT_TRUE_MIN): Likewise.
59740         [ISO11] (LDBL_TRUE_MIN): Likewise.
59741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59742         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59743         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59744         (SCHAR_MAX): Likewise.
59745         (UCHAR_MAX): Likewise.
59746         (CHAR_MIN): Likewise.
59747         (CHAR_MAX): Likewise.
59748         (MB_LEN_MAX): Use macro-int-constant.
59749         (SHRT_MIN): Use macro-int-constant.  Specify type.
59750         (SHRT_MAX): Likewise.
59751         (USHRT_MAX): Likewise.
59752         (INT_MAX): Likewise.
59753         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59754         bound negative.
59755         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59756         bound with "U".
59757         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59758         bound with "L".
59759         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59760         bound negative.  Suffix upper bound with "L".
59761         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59762         bound with "UL".
59763         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59764         Specify type.
59765         [C99-based standards] (LLONG_MAX): Likewise.
59766         [C99-based standards] (ULLONG_MAX): Likewise.
59767         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59768         == 0.
59769         [ISO11] (max_align_t): Require type.
59770         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59772         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59773         from $CFLAGS, without defining away __attribute__ calls.
59774         (checknamespace): Use $CFLAGS_namespace.
59776         * conform/conformtest.pl (@keywords): Only include C99 keywords
59777         for standards based on C99 or C11.
59779         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59780         Disable tests.
59781         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59782         UNIX98]: Likewise.
59784         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59785         usability of symbols in #if.
59787         * conform/conformtest.pl: If macro or constant types start
59788         "promoted:", expect the symbol to be of the following type
59789         promoted by the integer promotions.
59791         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59792         in one place.  Also handle "macro-constant".
59794         * conform/conformtest.pl: Only accept expected macro values with
59795         "==".  Parse all "macro" lines in one place.
59796         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59798         * conform/conformtest.pl: Handle braced types on "constant" lines
59799         instead of handling "typed-constant".
59800         * conform/data/signal.h-data: Use "constant" instead of
59801         "typed-constant".
59803         * conform/conformtest.pl: Handle "optional-" at start of lines in
59804         one place rather than duplicating several cases.  Handle each
59805         format of "macro" line with initial "optional-".
59807         * conform/conformtest.pl: Only accept expected constant or
59808         optional-constant values with "==".  Parse all "constant" lines in
59809         one place.  Parse all "optional-constant" lines in one place.
59810         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59811         * conform/data/fmtmsg.h-data: Likewise.
59812         * conform/data/netinet/in.h-data: Likewise.
59813         * conform/data/tar.h-data: Likewise.
59814         * conform/data/limits.h-data: Use "==" form on "constant" and
59815         "optional-constant" lines.
59817         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59818         Use -std=c99 for XOPEN2K.
59819         (@knownproblems): Remove.
59820         (newtoken): Don't check %isknown.
59822         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59823         Do not expect macro.
59824         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59825         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59826         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59827         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59828         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59829         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59830         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59831         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59832         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59833         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59834         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59835         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59836         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59837         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59838         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59839         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59840         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59841         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59842         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59843         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59844         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59845         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59846         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59847         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59848         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59849         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59850         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59851         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59852         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59853         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59854         [XPG3] (acosh): Likewise.
59855         [XPG3] (asinh): Likewise.
59856         [XPG3] (atanh): Likewise.
59857         [XPG3] (cbrt): Likewise.
59858         [XPG3] (expm1): Likewise.
59859         [XPG3] (ilogb): Likewise.
59860         [XPG3] (log1p): Likewise.
59861         [XPG3] (logb): Likewise.
59862         [XPG3] (nextafter): Likewise.
59863         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59864         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59865         [XPG3] (remainder): Likewise.
59866         [XPG3] (rint): Likewise.
59867         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59868         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59869         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59870         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59871         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59872         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59873         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59874         [UNIX98 || XOPEN2K] (scalb): Expect.
59875         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59876         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59877         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59878         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59879         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59880         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59881         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59882         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59883         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59884         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59885         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59886         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59887         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59888         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59889         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59890         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59891         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59892         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59893         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59894         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59895         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59896         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59897         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59898         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59899         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59900         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59901         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59902         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59903         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59904         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59905         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59906         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59907         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59908         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59909         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59910         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59911         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59912         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59913         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59914         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59915         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59916         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59917         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59918         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59919         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59920         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59921         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59922         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59923         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59924         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59925         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59926         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59927         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59928         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59929         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59930         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59931         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59932         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59933         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59934         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59935         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59936         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59937         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59938         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59939         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59940         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59941         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59942         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59943         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59944         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59945         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59946         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59947         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59948         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59949         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59950         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59951         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59952         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59953         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59954         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59955         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59956         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59957         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59958         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59959         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59960         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59961         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59962         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59963         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59964         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59965         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59966         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59967         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59968         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59969         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59970         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59971         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59972         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59973         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59974         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59975         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59976         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59977         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59978         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59979         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59980         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59981         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59982         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59983         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59984         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59985         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59986         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59987         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59988         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59989         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59990         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59991         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59992         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59993         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59994         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59995         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59996         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59997         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59998         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59999         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60000         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60001         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60002         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60003         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60004         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60005         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60006         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60007         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60008         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60009         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60010         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60011         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60013         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60014         _XOPEN_SOURCE_EXTENDED for XPG4.
60016         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60018         * Makeconfig (localtime): Remove variable.
60019         (inst_localtime-file): Likewise.
60021 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60024         Update.
60025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60026         Update.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60028         Update.
60029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60030         Update.
60031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60032         Update.
60033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60034         Update.
60035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60036         Update.
60037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60038         Update.
60039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60040         Update.
60042 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60044         [BZ #2550]
60045         [BZ #2570]
60046         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60047         comparisons to determine direction to adjust input.
60048         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60049         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60050         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60051         Likewise.
60052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60053         Likewise.
60054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60055         Likewise.
60056         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60057         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60058         Likewise.
60059         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60060         Likewise.
60061         * math/libm-test.inc (nexttoward_test): Add more tests.
60063 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60065         [BZ #14040]
60066         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60067         in version GLIBC_2.1, not GLIBC_2.0.
60068         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60069         Likewise.
60071 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60073         [BZ #13942]
60074         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60075         (1 - x) * (1 + x).
60076         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60077         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60078         * math/libm-test.inc (acos_test): Add more tests.
60079         (asin_test): Likewise.
60080         * sysdeps/i386/fpu/libm-test-ulps: Update.
60081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60083         [BZ #14034]
60084         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60085         of square root.
60086         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60087         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60088         * math/libm-test.inc (acos_test_tonearest): New function.
60089         (acos_test_towardzero): Likewise.
60090         (acos_test_downward): Likewise.
60091         (acos_test_upward): Likewise.
60092         (asin_test_tonearest): Likewise.
60093         (asin_test_towardzero): Likewise.
60094         (asin_test_downward): Likewise.
60095         (asin_test_upward): Likewise.
60096         (main): Call the new functions.
60097         * sysdeps/i386/fpu/libm-test-ulps: Update.
60098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60100         [BZ #13884]
60101         [BZ #13924]
60102         * math/e_exp10.c: Include <float.h>.
60103         (__ieee754_exp10): Handle underflow here rather than multiplying
60104         large negative argument by M_LN10.
60105         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60106         of __ieee754_expf.
60107         * math/e_exp10l.c: Include <float.h>.
60108         (__ieee754_exp10l): Handle underflow here rather than multiplying
60109         large negative argument by M_LN10l.
60110         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60111         spurious overflow exception on underflow.
60113 2012-04-29  Marek Polacek  <polacek@redhat.com>
60115         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60116         (__fortify_function): New macro.
60117         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60118         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60119         __extern_always_inline.
60120         * libio/bits/stdio2.h: Likewise.
60121         * libio/bits/stdio.h: Likewise.
60122         * string/string.h: Likewise.
60123         * string/bits/string3.h: Likewise.
60124         * include/stdio.h: Likewise.
60125         * stdlib/bits/stdlib.h: Likewise.
60126         * stdlib/stdlib.h: Likewise.
60127         * rt/bits/mqueue2.h: Likewise.
60128         * rt/mqueue.h: Likewise.
60129         * posix/bits/unistd.h: Likewise.
60130         * posix/unistd.h: Likewise.
60131         * io/bits/poll2.h: Likewise.
60132         * io/bits/fcntl2.h: Likewise.
60133         * io/fcntl.h: Likewise.
60134         * io/sys/poll.h: Likewise.
60135         * misc/bits/syslog.h: Likewise.
60136         * misc/bits/syslog-ldbl.h: Likewise.
60137         * misc/sys/syslog.h: Likewise.
60138         * socket/bits/socket2.h: Likewise.
60139         * socket/sys/socket.h: Likewise.
60140         * debug/tst-chk1.c: Likewise.
60141         * wcsmbs/bits/wchar2.h: Likewise.
60142         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60143         * wcsmbs/wchar.h: Likewise.
60145 2012-04-29  Andreas Jaeger  <aj@suse.de>
60147         * Makerules (tests): Remove enable-check-abi protection.
60148         (check-abi-warn): Remove.
60149         (check-abi-%): Remove check-abi-warn usage.
60151         * configure.in: Remove check-abi configure option.
60152         * configure: Regenerated.
60153         * config.make.in (enable-check-abi): Remove.
60155 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60157         [BZ #14033]
60158         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60159         double functions to double *_finite functions.
60161         [BZ #13941]
60162         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60163         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60164         LDBL_MIN_EXP.
60165         * stdio-common/Makefile (tests): Add tst-sprintf3.
60166         * stdio-common/tst-sprintf3.c: New file.
60168         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60169         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60171 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60173         * conform/conformtest.pl: Remove duplicate typed-constant
60174         handling.
60176 2012-04-28  David S. Miller  <davem@davemloft.net>
60178         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60179         (check-abi-%): Remove AWK script prerequisite and explicit
60180         abilist directory.
60181         (check-abi): Rewrite to just diff the symlist with the abilist.
60182         (config-tls, config-abi-config): Delete, no longer used.
60183         (update-abi-%): Remove AWK script and explicit abilist directory.
60184         (update-abi): Rewrite to simply compare and conditionally copy the
60185         symlist and the sysdep abilist file.  Remove update-abi-config
60186         checks.
60187         * abilist/ld.abilist: Remove.
60188         * abilist/libBrokenLocale.abilist: Remove.
60189         * abilist/libanl.abilist: Remove.
60190         * abilist/libcrypt.abilist: Remove.
60191         * abilist/libdl.abilist: Remove.
60192         * abilist/librt.abilist: Remove.
60193         * abilist/libthread_db.abilist: Remove.
60194         * abilist/libutil.abilist: Remove.
60195         * scripts/extract-abilist.awk: Remove.
60196         * scripts/merge-abilist.awk: Remove.
60197         * sysdeps/generic/libcidn.abilist: New file.
60198         * sysdeps/generic/libnss_compat.abilist: New file.
60199         * sysdeps/generic/libnss_db.abilist: New file.
60200         * sysdeps/generic/libnss_dns.abilist: New file.
60201         * sysdeps/generic/libnss_files.abilist: New file.
60202         * sysdeps/generic/libnss_hesiod.abilist: New file.
60203         * sysdeps/generic/libnss_nis.abilist: New file.
60204         * sysdeps/generic/libnss_nisplus.abilist: New file.
60205         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60206         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60207         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60208         file.
60209         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60210         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60211         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60212         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60213         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60214         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60215         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60216         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60217         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60218         file.
60219         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60220         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60221         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60222         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60223         file.
60224         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60225         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60226         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60227         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60228         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60229         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60230         file.
60231         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60232         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60233         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60234         file.
60235         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60237         New file.
60238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60239         New file.
60240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60241         New file.
60242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60243         New file.
60244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60245         New file.
60246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60247         New file.
60248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60249         New file.
60250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60251         New file.
60252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60253         New file.
60254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60255         New file.
60256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60257         New file.
60258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60259         New file.
60260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60261         New file.
60262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60263         file.
60264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60265         New file.
60266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60267         New file.
60268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60269         file.
60270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60271         New file.
60272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60273         New file.
60274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60275         file.
60276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60277         New file.
60278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60279         New file.
60280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60281         New file.
60282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60283         New file.
60284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60285         New file.
60286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60287         New file.
60288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60290         file.
60291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60292         New file.
60293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60294         file.
60295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60296         file.
60297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60298         file.
60299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60300         file.
60301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60302         file.
60303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60304         New file.
60305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60306         file.
60307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60308         file.
60309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60310         New file.
60311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60312         file.
60313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60315         file.
60316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60317         New file.
60318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60319         file.
60320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60321         file.
60322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60323         file.
60324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60325         file.
60326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60327         file.
60328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60329         New file.
60330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60331         file.
60332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60333         file.
60334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60335         New file.
60336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60337         file.
60338         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60339         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60340         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60341         file.
60342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60343         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60344         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60345         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60346         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60347         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60348         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60349         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60350         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60351         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60354         file.
60355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60356         New file.
60357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60358         file.
60359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60360         file.
60361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60362         file.
60363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60364         file.
60365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60366         file.
60367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60368         New file.
60369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60370         New file.
60371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60372         file.
60373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60374         New file.
60375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60376         file.
60377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60379         file.
60380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60381         New file.
60382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60383         file.
60384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60385         file.
60386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60387         file.
60388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60389         file.
60390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60391         file.
60392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60393         New file.
60394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60395         New file.
60396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60397         file.
60398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60399         New file.
60400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60401         file.
60403 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60405         * conform/conformtest.pl: Fix typo in handling typed-constant from
60406         allow-header.
60408 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60410         * README: Cut down references to pre-2.6 Linux kernels and
60411         Linuxthreads.  Update lists of configurations in libc and ports
60412         and sort alphabetically.  Say "or newer" with Linux kernel version
60413         requirements.
60415         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60417 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60419         [BZ #887]
60420         * math/libm-test.inc (logb_test_downward): New test to expose
60421         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60422         rounding mode.
60424 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60426         [BZ #14027]
60427         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60428         to be done.
60429         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60430         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60432 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60434         * sysdeps/unix/i386/brk.S: Remove file.
60435         * sysdeps/unix/i386/dl-brk.S: Likewise.
60436         * sysdeps/unix/i386/pipe.S: Likewise.
60437         * sysdeps/unix/i386/sigreturn.S: Likewise.
60438         * sysdeps/unix/i386/syscall.S: Likewise.
60439         * sysdeps/unix/i386/vfork.S: Likewise.
60440         * sysdeps/unix/i386/wait.S: Likewise.
60442         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60443         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60445         * configure.in (arm*-none*): Do not allow without
60446         --enable-hacker-mode.
60447         (netbsd*): Remove case setting base_os.
60448         (386bsd*): Likewise.
60449         (freebsd*): Likewise.
60450         (bsdi*): Likewise.
60451         (osf*): Likewise.
60452         (sunos*): Likewise.
60453         (ultrix*): Likewise.
60454         (newsos*): Likewise.
60455         (dynix*): Likewise.
60456         (*bsd*): Likewise.
60457         (sysv*): Likewise.
60458         (isc*): Likewise.
60459         (esix*): Likewise.
60460         (sco*): Likewise.
60461         (minix*): Likewise.
60462         (irix4*): Likewise.
60463         (irix6*): Likewise.
60464         (solaris[2-9]*): Likewise.
60465         (none): Likewise.
60466         * configure: Regenerated.
60468 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60470         [BZ #11521]
60471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60472         overflow or cancellation in calculating denominator.
60473         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60475         down expression to avoid unexpected rounding in newer GCCs.
60476         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60478 2012-04-26  David S. Miller  <davem@davemloft.net>
60480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60481         long-double compat symbols.
60482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60496 2012-04-25  David S. Miller  <davem@davemloft.net>
60498         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60499         HWCAP_* values only after the memory barriers have been defined.
60500         (atomic_full_barrier): Define.
60501         (atomic_read_barrier): Define.
60502         (atomic_write_barrier): Define.
60504 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60506         * shlib-versions: Add libgcc_s version information.
60507         * sysdeps/generic/libgcc_s.h: Remove.
60508         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60509         libgcc_s.h.
60510         * sysdeps/gnu/unwind-resume.c: Likewise.
60511         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60513 2012-04-25  David S. Miller  <davem@davemloft.net>
60515         * sysdeps/unix/sparc/brk.S: Delete.
60516         * sysdeps/unix/sparc/dl-brk.S: Delete.
60517         * sysdeps/unix/sparc/pipe.S: Delete.
60518         * sysdeps/unix/sparc/sysdep.S: Delete.
60519         * sysdeps/unix/sparc/sysdep.h: Delete.
60520         * sysdeps/unix/sparc/vfork.S: Delete.
60521         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60522         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60523         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60524         (ret_ERRVAL, r0, r1, MOVE): Define.
60525         (JUMPTARGET): Remove.
60526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60527         sysdeps/unix/sparc/sysdep.h
60528         (ENTRY, END): Remove.
60529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60531 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60533         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60534         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60535         -DIS_IN_build.
60537         * timezone/README: Update upstream location and email address for
60538         tzcode and tzdata.
60539         * timezone/zdump.c: Update from tzcode 2012b.
60540         * timezone/zic.c: Likewise.
60542         * configure.in (libc_cv_as_needed): Remove test.
60543         * configure: Regenerated.
60544         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60545         conditional definition.
60546         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60547         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60548         * config.make.in (have-as-needed): Remove variable.
60550 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60551             Paul Pluzhnikov  <ppluzhnikov@google.com>
60553         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60554         strings correctly.
60556 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60558         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60559         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60560         * sysdeps/sh/strlen.S: Likewise.
60562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60564         * sysdeps/unix/fork.S: Remove file.
60565         * sysdeps/unix/i386/fork.S: Likewise.
60566         * sysdeps/unix/sparc/fork.S: Likewise.
60568         * sysdeps/unix/system.c: Remove file.
60569         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60571         * sysdeps/unix/getegid.S: Remove file.
60572         * sysdeps/unix/geteuid.S: Likewise.
60574 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60576         * scripts/check-localplt.awk: New file.
60577         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60578         of diff.
60579         * scripts/data/localplt-generic.data: Add a comment.
60581         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60582         NODE when __dir_mkfile failed.
60583         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60584         Reported by Ludovic Courtès <ludo@gnu.org>.
60586 2012-04-24  Andreas Jaeger  <aj@suse.de>
60588         * Makerules (common-clean): Also remove gen-as-const-headers
60589         files.
60591 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60593         * Makerules (native-compile): Do not change working directory for
60594         build.  Use $(OUTPUT_OPTION) in command.
60595         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60597 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60599         [BZ #13886]
60600         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60601         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60602         * math/libm-test.inc (floor_test): Add more tests.
60603         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60605 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60607         * sysdeps/unix/getdents.c: Remove file.
60608         * sysdeps/unix/sysv/getdents.c: Likewise.
60609         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60611         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60612         sysdeps/unix/mman/syscalls.list.
60613         (mmap): Likewise.
60614         (mprotect): Likewise.
60615         (msync): Likewise.
60616         (munmap): Likewise.
60617         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60618         * sysdeps/unix/mman/syscalls.list: Remove.
60619         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60621         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60622         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60623         * configure: Regenerated.
60624         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60625         $(libgcc_s_suffix).
60626         * config.make.in (libgcc_s_suffix): Remove variable.
60628 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60630         * sysdeps/unix/sysv/gethostname.c: Move to ...
60631         * sysdeps/posix/gethostname.c: ... here.
60633         * sysdeps/unix/execve.S: Remove file.
60635         * sysdeps/unix/_exit.S: Remove file.
60637 2012-04-23  Andreas Jaeger  <aj@suse.de>
60639         [BZ #13739]
60640         * manual/Makefile: Remove make dist support, there's no
60641         need for a stand-alone documentation tar ball.
60642         (TEXI2DVI): Define always, it's not in Makeconfig.
60643         (dist): Removed.
60644         (tar-it): Removed.
60645         (edition): Removed.
60646         (glibc-doc-$(edition).tar): Removed
60647         (%.Z): Removed.
60648         (%.gz): Removed.
60649         (%.uu): Removed.
60650         (ETAGS): Remove, it's in Makeconfig.
60651         (move-if-change): Remove, it's in Makeconfig.
60653 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60655         [BZ #13970]
60656         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60657         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60658         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60659         (strtod_l, strtof_l, strtold_l): Remove __wur.
60660         It is not necessarily an error to ignore strtol's return value.
60661         One can reliably look at the stored endptr to decide whether
60662         the number had valid syntax.
60664 2012-04-21  Andreas Jaeger  <aj@suse.de>
60666         [BZ #13739]
60667         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60669 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60671         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60672         * sysdeps/unix/sysv/Versions: Remove file.
60674 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60676         [BZ #13927]
60677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60679 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60681         [BZ #7064]
60682         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60683         version from __vm86.
60685 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60687         * sysdeps/unix/common/lxstat.c: Remove file.
60688         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60690         * sysdeps/unix/sysv/Makefile: Remove file.
60692         * sysdeps/unix/sysv/direct.h: Remove file.
60694         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60695         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60696         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60697         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60698         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60699         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60700         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60702         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60704         * sysdeps/unix/xmknod.c: Remove file.
60705         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60707         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60709         * sysdeps/unix/sysv/i386/time.S: Remove file.
60711         * sysdeps/unix/fxstat.c: Remove file.
60712         * sysdeps/unix/xstat.c: Likewise.
60713         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60715         * sysdeps/unix/sysv/sigaction.c: Remove file.
60717         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60718         (sysdep_headers): Remove variable.
60719         [termio.h not in sysdep_headers] (generated): Likewise.
60720         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60721         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60722         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60723         * sysdeps/unix/sysv/tcflow.c: Likewise.
60724         * sysdeps/unix/sysv/tcflush.c: Likewise.
60725         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60726         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60727         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60728         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60729         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60731         * sysdeps/unix/siglist.c: Remove file.
60733         * sysdeps/unix/getppid.S: Remove file.
60735         * sysdeps/unix/mkdir.c: Remove file.
60736         * sysdeps/unix/rmdir.c: Likewise.
60738 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60740         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60741         ERR_MAX value.
60742         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60743         errlist-compat value.
60745 2012-04-18  David S. Miller  <davem@davemloft.net>
60747         * sysdeps/generic/memcopy.h (reg_char): Delete.
60748         * debug/strcat_chk.c: Use char, not reg_char.
60749         * debug/strcpy_chk.c: Likewise.
60750         * debug/strncat_chk.c: Likewise.
60751         * debug/strncpy_chk.c: Likewise.
60752         * string/memchr.c: Likewise.
60753         * string/memrchr.c: Likewise.
60754         * string/rawmemchr.c: Likewise.
60755         * string/strcat.c: Likewise.
60756         * string/strchr.c: Likewise.
60757         * string/strchrnul.c: Likewise.
60758         * string/strcmp.c: Likewise.
60759         * string/strcpy.c: Likewise.
60760         * string/strncat.c: Likewise.
60761         * string/strncmp.c: Likewise.
60762         * string/strncpy.c: Likewise.
60764 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60766         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60767         __builtin_memcopy is called when src and dest ranges are known to not
60768         overlap.
60770 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60772         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60773         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60774         fwd_align_merge macro call.
60775         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60776         bwd_align_merge macro call.
60777         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60779 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60781         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60782         bwd_align_merge macros.
60783         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60784         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60785         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60787 2012-04-18  David S. Miller  <davem@davemloft.net>
60789         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60791 2012-04-18  Andreas Jaeger  <aj@suse.de>
60793         [BZ# 6794]
60794         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60795         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60796         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60798         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60799         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60800         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60802         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60803         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60804         Adjust for changed ldbl-128 files.
60806         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60807         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60808         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60810 2012-04-17  David S. Miller  <davem@davemloft.net>
60812         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60814 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60816         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60817         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60818         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60819         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60820         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60821         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60823 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60825         [BZ #6794]
60826         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60827         * math/libm-test.inc: Add ilogb errno and exception tests.
60828         * math/w_ilogb.c: New file: ilogb wrapper.
60829         * math/w_ilogbf.c: New file: ilogbf wrapper.
60830         * math/w_ilogbl.c: New file: ilogbl wrapper.
60831         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60832         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60833         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60834         exception being thrown with 0.0 as argument.
60835         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60836         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60837         exception being thrown with 0.0 as argument.
60838         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60839         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60840         exception being thrown with 0.0 as argument.
60841         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60842         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60843         exception being thrown with 0.0 as argument.
60844         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60845         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60846         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60847         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60848         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60849         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60850         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60851         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60852         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60854 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60856         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60857         with altivec.
60859 2012-04-16  Marek Polacek  <polacek@redhat.com>
60861         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60863 2012-04-16  Marek Polacek  <polacek@redhat.com>
60865         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60866         operands of fdivp instruction.
60868 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60870         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60871         * elf/tst-auditmod3b.c: Likewise.
60872         * elf/tst-auditmod4b.c: Likewise.
60873         * elf/tst-auditmod5b.c: Likewise.
60874         * elf/tst-auditmod6b.c: Likewise.
60875         * elf/tst-auditmod6c.c: Likewise.
60876         * elf/tst-auditmod7b.c: Likewise.
60877         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60878         * sysdeps/x86_64/preconfigure.in: Likewise.
60879         * sysdeps/x86_64/preconfigure: Regenerated.
60881 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60883         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60884         __ILP32__.
60886 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60889         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60891 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60893         [BZ #13973]
60894         * locale/iso-639.def: Fix gl language name. Spotted by
60895         Yaron Shahrabani.
60897 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60899         [BZ #2074]
60900         * libio/libio.h (__io_write_fn): Update comment.
60902 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60904         [BZ #2074]
60905         * stdio.texi (Hook Functions): The user provided writer function
60906         is not allowed to return -1.
60908 2012-04-11  David S. Miller  <davem@davemloft.net>
60910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60912 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60914         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60915         Add a leading slash to rtkaio.
60917 2012-04-11  Jim Meyering  <meyering@redhat.com>
60919         [BZ #11959]
60920         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60921         It is not necessarily an error to ignore fwrite's return
60922         value.  One can reliably use ferror to test for errors after
60923         the fact.
60925 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60927         * bits/types.h (__snseconds_t): New type.
60928         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60930         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60931         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60932         (__SNSECONDS_T_TYPE): Likewise.
60933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60934         (__SNSECONDS_T_TYPE): Likewise.
60935         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60936         (__SNSECONDS_T_TYPE): Likewise.
60938 2012-04-10  Andreas Jaeger  <aj@suse.de>
60940         [BZ #2636]
60941         * manual/time.texi (Processor Time): Return type of times is
60942         elapsed real time since an arbitrary point in the past.
60943         (CPU Time): Move CLK_TCK from here...
60944         (Processor Time): ...to here.  Correct description.
60945         * manual/conf.texi (Constants for Sysconf): Correct description of
60946         _SC_CLK_TCK.
60948 2012-04-10  David S. Miller  <davem@davemloft.net>
60950         [BZ #13967]
60951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60952         where the is a gap between DT_REL(A) and DT_JMPREL.
60954 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60956         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60957         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60958         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60960 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60962         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60963         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60964         (dl_main): Handle --inhibit-cache.
60965         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60966         _dl_inhibit_cache.
60967         * elf/dl-load.c (_dl_map_object): Use it.
60968         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60970 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60972         [BZ #13872]
60973         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60974         (__ieee754_powl): Saturate large exponents rather than testing for
60975         overflow of y*log2(x).
60976         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60977         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60978         exceptions.
60980         [BZ #11521]
60981         * math/s_ctan.c: Include <float.h>.
60982         (__ctan): Avoid internal overflow or cancellation in calculating
60983         denominator.
60984         * math/s_ctanf.c: Likewise.
60985         * math/s_ctanl.c: Likewise.
60986         * math/s_ctanh.c: Likewise.
60987         * math/s_ctanhf.c: Likewise.
60988         * math/s_ctanhl.c: Likewise.
60989         * math/libm-test.inc (ctan_test): Add more tests.
60990         (ctanh_test): Likewise.
60991         * sysdeps/i386/fpu/libm-test-ulps: Update.
60992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60994 2012-04-09  Andreas Jaeger  <aj@suse.de>
60996         [BZ #6894]
60997         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60998         is an optional BSD extension.
61000         [BZ #10254]
61001         * manual/stdio.texi (Opening Streams): Document additional fopen
61002         parameters.
61004 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61006         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61007         %eax without telling the compiler.
61009 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61011         [BZ # 13963]
61012         * manual/install.texi: Use sourceware.org.
61014 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61016         [BZ #13873]
61017         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61018         (__ieee754_pow): Generate overflow and underflow using huge*huge
61019         and tiny*tiny rather than just returning constant infinity or zero
61020         for large exponents.
61021         * math/libm-test.inc (pow_test): Require overflow exceptions for
61022         applicable cases of large exponents.
61024         [BZ #706]
61025         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61026         (__ieee754_pow): Use iterative multiplication algorithm only for
61027         integer exponents with absolute value below 1024.  Check for odd
61028         integer exponents when using algorithm for real exponents.
61029         * math/libm-test.inc (pow_test): Add more tests.
61030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61032 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61034         [BZ #13705]
61035         * math/libm-test.inc (exp_test): Do not allow overflow exception
61036         on underflow test.
61038 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61040         [BZ #13705]
61041         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61042         instead of __kernel_standard_f.
61044 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61046         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61047         * sysdeps/x86_64/memset_chk.S: Likewise.
61049 2012-04-08  Andreas Jaeger  <aj@suse.de>
61051         [BZ #10153]
61052         * manual/startup.texi (Environment Access): Describe return value
61053         for putenv and setenv.
61055         [BZ #6895]
61056         * manual/filesys.texi (Directory Entries): Add description for
61057         DT_LNK.
61059         [BZ #6890]
61060         * manual/filesys.texi (Directory Entries): Clarify that it's file
61061         system not operating system in the description of DT_UNKNOWN.
61063         [BZ #6578]
61064         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61066 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61068         [BZ #6649]
61069         * manual/llio.texi (Opening and Closing Files): Add cross
61070         reference to explain mode argument.
61072 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61074         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61075         * sysdeps/x86_64/memset_chk.S: Likewise.
61077 2012-04-07  David S. Miller  <davem@davemloft.net>
61079         * elf/elf.h (R_SPARC_WDISP10): Define.
61080         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61081         R_SPARC_SIZE32.
61082         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61083         R_SPARC_SIZE64 and R_SPARC_H34.
61085 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61087         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61088         conditions and remove no longer applicable assertion.
61090 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61092         * bits/byteswap.h: Include <features.h>.
61093         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61094         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61096 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61098         * bits/byteswap.h (__bswap_16): Removed.
61099         Include <bits/byteswap-16.h> to get __bswap_16.
61100         * sysdeps/i386/bits/byteswap.h: Likewise.
61101         * sysdeps/s390/bits/byteswap.h: Likewise.
61102         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61103         * bits/byteswap-16.h: New file.
61104         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61105         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61106         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61107         * string/Makefile (headers): Add bits/byteswap-16.h.
61109 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61111         [BZ #13895]
61112         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61113         extra indirection.
61114         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61115         * nss/tst-nss-static.c: New.
61117 2012-04-06  Robert Millan  <rmh@gnu.org>
61119         [BZ #6486]
61120         * manual/llio.texi (File Position Primitive): lseek
61121         refers to WHENCE when it really means OFFSET.
61123 2012-04-06  Andreas Jaeger  <aj@suse.de>
61125         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61126         strncmp declarations.
61128         * abilist/libc.abilist: Add __poll and __ppoll.
61130 2012-04-05  David S. Miller  <davem@davemloft.net>
61132         * scripts/check-local-headers.sh: Accept a host triplet in the
61133         path matched by the exclude regexp.
61135         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61136         definition.
61137         * sysdeps/powerpc/powerpc32/dl-machine.h
61138         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61139         * sysdeps/s390/s390-32/dl-machine.h
61140         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61141         * sysdeps/sparc/sparc32/dl-machine.h
61142         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61143         * sysdeps/sparc/sparc64/dl-machine.h
61144         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61146         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61147         lazy binding.
61148         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61149         undefined symbol errors.
61151         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61152         DT_NEEDED entries.
61154 2012-04-05  Michael Matz  <matz@suse.de>
61156         [BZ #13592]
61157         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61159 2012-04-05  Andreas Jaeger  <aj@suse.de>
61161         [BZ #13908]
61162         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61163         comment.
61165 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61167         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61168         which ROUND is no valid rounding mode.
61170 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61172         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61173         read again.
61174         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61176 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61178         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61179         an exception using FPU order intentionally.
61181 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61183         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61184         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61185         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61186         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61188 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61190         [BZ #12340]
61191         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61192         EINVAL when BUFLEN is too smal.
61194 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61196         [BZ #13553]
61197         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61198         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61200 2012-04-03  Andreas Jaeger  <aj@suse.de>
61202         [BZ #13938]
61203         * manual/setjmp.texi (System V contexts): Fix sentence.
61205         [BZ #13926]
61206         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61207         New macro for this case.
61208         [!__GNUC__] (__bswap_64): New inline function for this case.
61209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61210         * bits/byteswap.h: Likewise.
61211         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61212         ull, guard with __GLIBC_HAVE_LONG_LONG.
61214         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61215         __GLIBC_HAVE_LONG_LONG.
61217         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61218         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61220 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61222         [BZ #13691]
61223         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61224         inptr and inend, rather than using last_ch.
61226 2012-04-02  David S. Miller  <davem@davemloft.net>
61228         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61229         * stdio-common/printf-parse.h (read_int): Change return type to
61230         'int', return -1 on INT_MAX overflow.
61231         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61232         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61233         overflows INT_MAX.  Check for overflow of in-format-string precision
61234         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61235         SIZE_MAX not INT_MAX for integer overflow test.
61236         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61237         skip the construct in the format string but do not record anything.
61238         * stdio-common/bug22.c: Adjust to test both width/prevision
61239         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61240         explicitly for proper errno values.
61242 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61244         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61245         CHAR_MAX.
61246         * string/test-strcmp.c [! WIDE]: Likewise.
61247         * time/tst-mktime2.c: Likewise for INT_MAX.
61248         * string/test-string.h: #include <sys/param.h> for MIN.
61250         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61251         * sysdeps/i386/init-first.c (init): Likewise.
61252         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61253         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61254         * sysdeps/sh/init-first.c (init): Likewise.
61256 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61258         * po/ru.po: Update from translation team.
61259         * po/vi.po: Likewise.
61261 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61263         * resolv/nss_dns/dns-host.c: Merge copyright years.
61265 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61267         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61268         Optimize memcpy with prefetch if
61269         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61270         src, dst pointers have unequal 16 byte alignments.
61272 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61274         [BZ #13928]
61275         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61276         from a CNAME entry and return the minimum ttl for the query.
61277         (gaih_getanswer_slice): Likewise.
61279 2012-03-30  Jeff Law  <law@redhat.com>
61281         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61282         due to long keys.
61283         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61284         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61286         * resolv/nss_dns/dns-host.c: Update copyright year.
61288 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61290         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61291         requests to save a system call.  Fix check that all bytes are sent.
61293         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61294         comments for sendmmsg.
61296 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61298         [BZ #13691]
61299         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61300         with only 1 character between 0x0041 and 0x01b0.
61301         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61302         * wcsmbs/tst-mbsnrtowcs.c: New file.
61304 2012-03-29  David S. Miller  <davem@davemloft.net>
61306         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61307         small copies by hand.
61309 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61311         [BZ #13761]
61312         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61313         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61314         group memberships.
61316 2012-03-28  David S. Miller  <davem@davemloft.net>
61318         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61319         that branches into memcpy.
61320         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61323         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61325         bits.
61326         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61327         implementation too.
61328         * sysdeps/sparc/mempcpy.S: New file.
61330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61331         the IFUNC routine in the libc case.
61332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61334         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61335         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61336         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61337         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61338         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61339         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61340         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61341         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61343         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61344         loop to 256 bytes instead of 64 bytes and fix test signedness.
61346         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61347         * sysdeps/sparc/sparc32/Makefile: rather than here...
61348         * sysdeps/sparc/sparc64/Makefile: and here.
61350 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61352         * malloc/mallocbug.c: Avoid warnings about unused variables.
61354 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61356         [BZ #13760]
61357         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61358         in the right place. Discard and retry query if response is
61359         larger than input buffer size.
61361 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61363         [BZ #369]
61364         [BZ #2678]
61365         [BZ #3866]
61366         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61367         x for large integer exponent.
61368         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61369         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61370         sign of result as needed afterwards.
61371         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61372         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61373         result for underflowing pow the same as for overflow.
61374         (__kernel_standard_l): Handle powl overflow and underflow here
61375         rather than calling __kernel_standard.
61376         * math/libm-test.inc (pow_test): Add more tests.
61378         [BZ #3868]
61379         [BZ #13879]
61380         [BZ #13910]
61381         [BZ #13911]
61382         [BZ #13912]
61383         [BZ #13913]
61384         [BZ #13915]
61385         [BZ #13916]
61386         [BZ #13917]
61387         [BZ #13918]
61388         [BZ #13919]
61389         [BZ #13920]
61390         [BZ #13921]
61391         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61392         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61393         (__kernel_standard_l): New function.
61394         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61395         __kernel_standard.
61396         * math/w_acosl.c (__acosl): Likewise.
61397         * math/w_asinl.c (__asinl): Likewise.
61398         * math/w_atan2l.c (__atan2l): Likewise.
61399         * math/w_atanhl.c (__atanhl): Likewise.
61400         * math/w_coshl.c (__coshl): Likewise.
61401         * math/w_exp10l.c (__exp10l): Likewise.
61402         * math/w_exp2l.c (__exp2l): Likewise.
61403         * math/w_fmodl.c (__fmodl): Likewise.
61404         * math/w_hypotl.c (__hypotl): Likewise.
61405         * math/w_j0l.c (__j0l, __y0l): Likewise.
61406         * math/w_j1l.c (__j1l, __y1l): Likewise.
61407         * math/w_jnl.c (__jnl, __ynl): Likewise.
61408         * math/w_lgammal.c (__lgammal): Likewise.
61409         * math/w_log10l.c (__log10l): Likewise.
61410         * math/w_log2l.c (__log2l): Likewise.
61411         * math/w_logl.c (__logl): Likewise.
61412         * math/w_powl.c (__powl): Likewise.
61413         * math/w_remainderl.c (__remainderl): Likewise.
61414         * math/w_scalbl.c (sysv_scalbl): Likewise.
61415         * math/w_sinhl.c (__sinhl): Likewise.
61416         * math/w_sqrtl.c (__sqrtl): Likewise.
61417         * math/w_tgammal.c (__tgammal): Likewise.
61418         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61419         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61420         * math/libm-test.inc (acos_test): Add more tests.
61421         (acosh_test): Likewise.
61422         (asin_test): Likewise.
61423         (atanh_test): Likewise.
61424         (exp_test): Likewise.
61425         (exp10_test): Likewise.
61426         (exp2_test): Likewise.
61427         (expm1_test): Likewise.
61428         (lgamma_test): Likewise.
61429         (log_test): Likewise.
61430         (log10_test): Likewise.
61431         (log1p_test): Likewise.
61432         (log2_test): Likewise.
61433         (pow_test): Do not allow some spurious overflow exceptions.
61434         (sqrt_test): Add more tests.
61435         (tgamma_test): Likewise.
61436         (y0_test): Likewise.
61437         (y1_test): Likewise.
61438         (yn_test): Likewise.
61440 2012-03-27  Anton Blanchard  <anton@samba.org>
61442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61443         MAP_HUGETLB.
61444         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61445         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61446         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61448 2012-03-27  David S. Miller  <davem@davemloft.net>
61450         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61452         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61453         have-as-vis3 check.
61455 2012-03-27  Andreas Jaeger  <aj@suse.de>
61457         * sysdeps/x86_64/elf/configure.in: Moved to ...
61458         * sysdeps/x86_64/configure.in: ... here.
61459         * sysdeps/x86_64/elf/start.S: Moved to ...
61460         * sysdeps/x86_64/start.S: ... here.
61461         * sysdeps/x86_64/elf/configure: Delete.
61463         * sysdeps/x86_64/configure.in: Merge contents from
61464         sysdeps/i386/configure.in (without i686 check).
61466         * sysdeps/i386/elf/Versions: Merge into ...
61467         * sysdeps/i386/Versions: ... this.
61468         * sysdeps/i386/elf/Versions: Delete file.
61469         * sysdeps/i386/elf/start.S: Moved to ...
61470         * sysdeps/i386/start.S: ...here.
61471         * sysdeps/i386/elf/configure.in: Merge into...
61472         * sysdeps/i386/configure.in: ...here.
61473         * sysdeps/i386/elf/configure.in: Delete file.
61474         * sysdeps/i386/elf/configure: Delete file.
61476         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61477         * debug/backtracesyms.c: ... here.
61478         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61479         * debug/backtracesymsfd.c: ... here.
61480         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61481         * sysdeps/generic/ifunc-sel.h: ... here.
61483         * sysdeps/unix/i386/start.c: Delete file.
61484         * sysdeps/unix/sparc/start.c: Delete file.
61485         * sysdeps/unix/start.c: Delete file.
61487         * sysdeps/sh/elf/configure.in: Moved to ...
61488         * sysdeps/sh/configure.in: ... here.
61489         * sysdeps/sh/elf/start.S: Moved to ...
61490         * sysdeps/sh/start.S: ... here.
61491         * sysdeps/sh/elf/configure: Delete file.
61493         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61494         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61495         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61496         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61497         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61498         * sysdeps/powerpc/powerpc64/start.S: here.
61499         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61500         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61501         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61502         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61503         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61505         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61506         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61507         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61508         * sysdeps/powerpc/powerpc32/start.S: ... here.
61509         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61510         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61511         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61513         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61514         * sysdeps/powerpc/ifunc-sel.h: ... here.
61515         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61516         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61518         * sysdeps/sparc/elf/configure.in: Moved to ...
61519         * sysdeps/sparc/configure.in: ... here.
61520         * sysdeps/sparc/elf/configure: Delete file.
61521         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61522         * sysdeps/sparc/sparc32/start.S: ... here.
61523         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61524         * sysdeps/sparc/sparc64/start.S: ... here.
61525         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61526         * sysdeps/sparc/sparc32/Makefile: ... this.
61527         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61528         * sysdeps/sparc/sparc64/Makefile: ... this.
61530         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61531         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61532         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61533         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61534         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61535         * sysdeps/s390/s390-32/setjmp.S: ... here.
61536         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61537         * sysdeps/s390/s390-32/configure.in: ... here.
61538         * sysdeps/s390/s390-32/elf/configure: Delete file.
61539         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61540         * sysdeps/s390/s390-32/start.S: ... here.
61542         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61543         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61544         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61545         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61546         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61547         * sysdeps/s390/s390-64/setjmp.S: ... here.
61548         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61549         * sysdeps/s390/s390-64/configure.in: ... here
61550         * sysdeps/s390/s390-64/elf/configure: Delete file.
61551         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61552         * sysdeps/s390/s390-64/start.S: ... here.
61553         * sysdeps/s390/s390-64/elf/configure: Delete.
61555         * configure.in: Remove support for elf directories in sysdeps.
61557         * configure: Regenerated.
61558         * sysdeps/i386/configure: Regenerated.
61559         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61560         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61561         * sysdeps/s390/s390-32/configure: Regenerated.
61562         * sysdeps/s390/s390-64/configure: Regenerated.
61563         * sysdeps/sh/configure: Regenerated.
61564         * sysdeps/sparc/configure: Regenerated.
61565         * sysdeps/x86_64/configure: Regenerated.
61567 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61572         denormal result into account.
61574 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61576         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61577         Reported by Allan McRae <allan@archlinux.org>.
61579 2012-03-23  Jeff Law  <law@redhat.com>
61581         * nss/getnssent.c (__nss_getent): Fix typo.
61583 2012-03-23  David S. Miller  <davem@davemloft.net>
61585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61587 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61589         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61590         to pad to uint64_t for each field.
61591         (dl_tls_index): Replace unsigned long with uint64_t.
61593 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61594         Paul Pluzhnikov  <ppluzhnikov@google.com>
61596         [BZ #6528]
61597         * grp/Makefile (otherlibs): Don't set it.
61598         * inet/Makefile (otherlibs): Likewise.
61599         * login/Makefile (otherlibs): Likewise.
61600         * nscd/Makefile (otherlibs): Likewise.
61601         * posix/Makefile (otherlibs): Likewise.
61602         * pwd/Makefile (otherlibs): Likewise.
61603         * rt/Makefile (otherlibs): Likewise.
61604         * sunrpc/Makefile (otherlibs): Likewise.
61605         * nss/Makefile (otherlibs): Likewise.
61606         Add libnss_files to routines and static-only-routines.
61607         ($(objpfx)getent): Remove rule.
61608         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61609         static-only-routines.
61611 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61613         [BZ #13892]
61614         * math/s_cexp.c: Include <float.h>.
61615         (__cexp): Handle exp result overflowing not necessarily
61616         overflowing both real and imaginary parts of result.
61617         * math/s_cexpf.c: Likewise.
61618         * math/s_cexpl.c: Likewise.
61619         * math/libm-test.inc (cexp_test): Add more tests.
61620         * sysdeps/i386/fpu/libm-test-ulps: Update.
61621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61625         * include/link.h (ELFW): New macro.
61626         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61627         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61629 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61632         with uint64_t.
61634 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61636         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61637         declaration.
61638         (struct La_x32_retval): Likewise.
61640 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61642         * sysdeps/x86_64/preconfigure.in: New file.
61643         * sysdeps/x86_64/preconfigure: New generated file.
61645 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61647         [BZ #13824]
61648         * math/e_exp2l.c: Include <float.h>.
61649         (__ieee754_exp2l): Handle overflow and underflow cases
61650         separately.  Only pass fractional part of argument to
61651         __ieee754_expl.
61652         * math/libm-test.inc (exp2_test): Add more tests.
61654         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61655         negating x to take absolute value.
61656         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61657         Likewise.
61658         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61659         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61660         Likewise.
61661         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61662         computing low part if x was negated.
61663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61667         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61668         la_x32_gnu_pltexit.
61669         (pltexit): Cast int_retval to ptrdiff_t.
61670         * elf/tst-auditmod3b.c: Likewise.
61671         * elf/tst-auditmod4b.c: Likewise.
61672         * elf/tst-auditmod5b.c: Likewise.
61673         * elf/tst-auditmod6b.c: Likewise.
61674         * elf/tst-auditmod6c.c: Likewise.
61675         * elf/tst-auditmod7b.c: Likewise.
61677         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61678         and x32_gnu_pltexit.
61680         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61681         __ELF_NATIVE_CLASS.
61682         (La_x32_regs): New macro.
61683         (La_x32_retval): Likewise.
61684         (la_x32_gnu_pltenter): New function prototype.
61685         (la_x32_gnu_pltexit): Likewise.
61687 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61690         exponent.
61692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61694         * configure.in (libc_cv_cc_nofma): Check for option to disable
61695         generation of FMA instructions.
61696         * configure: Regenerate.
61697         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61698         * sysdeps/ieee754/dbl-64/Makefile: New file.
61699         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61700         Remove brandred-fma4.
61701         (CFLAGS-brandred-fma4.c): Remove.
61702         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61703         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61704         define.
61705         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61706         define.
61708 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61710         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61711         LLONG_MAX != LONG_MAX.
61712         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61713         (_fitoa_word): Likewise.
61714         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61715         LLONG_MAX != LONG_MAX.
61716         * stdio-common/_itowa.h: Include <_itoa.h>.
61717         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61718         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61719         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61720         only if not defined.
61721         (_ITOA_WORD_TYPE): Likewise.
61722         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61723         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61725 2012-03-21  David S. Miller  <davem@davemloft.net>
61727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61729 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61731         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61732         of x86_64 when setting libc_cv_slibdir, libdir and
61733         libc_cv_localedir.
61734         * sysdeps/unix/sysv/linux/configure: Regenerated.
61736 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61738         * manual/lang.texi (Old Varargs): Remove section.
61739         (How Variadic): Update menu.
61740         (va_start): Do not mention varargs.h.
61742 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61743             Joseph Myers  <joseph@codesourcery.com>
61745         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61746         link test.
61747         * configure: Regenerated.
61749 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61751         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61752         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61753         conformtest.pl
61755 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61757         * NOTES: Remove.
61758         * Makefile (files-for-dist): Remove NOTES.
61759         (NOTES): Remove rule.
61760         * README: Don't refer to NOTES.
61761         * manual/creature.texi: Don't include macros.texi.
61762         * manual/intro.texi (creature.texi): Remove comment referring to
61763         NOTES.
61765         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61766         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61767         * configure: Regenerated.
61768         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61769         LIBC_TRY_CC_OPTION.
61770         (libc_cv_as_i686): Likewise.
61771         (libc_cv_cc_avx): Likewise.
61772         (libc_cv_cc_sse2avx): Likewise.
61773         (libc_cv_cc_fma4): Likewise.
61774         (libc_cv_cc_novzeroupper): Likewise.
61775         * sysdeps/i386/configure: Regenerated.
61777         [BZ #13883]
61778         * sysdeps/i386/fpu/s_cexp.S: Remove.
61779         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61780         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61781         * math/libm-test.inc (cexp_test): Add more tests.
61782         * sysdeps/i386/fpu/libm-test-ulps: Update.
61783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61785 2012-03-21  Allan McRae  <allan@archlinux.org>
61787         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61789 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61791         [BZ #13871]
61792         * math/w_exp2.c: Do not include <float.h>.
61793         (o_threshold, u_threshold): Remove.
61794         (__exp2): Calculate result before checking finiteness and calling
61795         __kernel_standard.
61796         * math/w_exp2f.c: Likewise.
61797         * math/w_exp2l.c: Likewise.
61798         * math/libm-test.inc (exp2_test): Require overflow exception for
61799         1e6 input.
61801         [BZ #3866]
61802         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61803         range of signed 64-bit integers before using fistpll.  Remove
61804         checks for whether integers fit in mantissa bits.
61805         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61806         the range of signed 32-bit integers before using fistpl.  Remove
61807         checks for whether integers fit in mantissa bits.
61808         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61809         (__ieee754_powl): Test for y outside the range of signed 64-bit
61810         integers before using fistpll.  Reduce 64-bit values to 63-bit
61811         ones as needed.
61812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61813         divide-by-zero is raised for zero to large negative powers.
61814         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61815         (__ieee754_powl): Test for y outside the range of signed 64-bit
61816         integers before using fistpll.  Reduce 64-bit values to 63-bit
61817         ones as needed.
61818         * math/libm-test.inc (pow_test): Add more tests.
61820 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61822         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61823         <stdio-common/_itoa.h>.
61824         * debug/segfault.c: Likewise.
61825         * elf/dl-cache.c: Likewise.
61826         * elf/dl-minimal.c: Likewise.
61827         * elf/dl-misc.c: Likewise.
61828         * elf/dl-sysdep.c: Likewise.
61829         * elf/dl-version.c: Likewise.
61830         * elf/rtld.c: Likewise.
61831         * hurd/hurdsock.c: Likewise.
61832         * hurd/lookup-retry.c: Likewise.
61833         * malloc/malloc.c: Likewise.
61834         * malloc/mtrace.c: Likewise.
61835         * nscd/nscd_getgr_r.c: Likewise.
61836         * nscd/nscd_getpw_r.c: Likewise.
61837         * nscd/nscd_getserv_r.c: Likewise.
61838         * posix/getopt_init.c: Likewise.
61839         * posix/wordexp.c: Likewise.
61840         * stdio-common/_itoa.c: Likewise.
61841         * stdio-common/printf_fphex.c: Likewise.
61842         * stdio-common/vfprintf.c: Likewise.
61843         * string/_strerror.c: Likewise.
61844         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61845         * sysdeps/i386/i686/hp-timing.h: Likewise.
61846         * sysdeps/mach/_strerror.c: Likewise.
61847         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61848         * sysdeps/mach/hurd/sethostid.c: Likewise.
61849         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61850         * sysdeps/mach/xpg-strerror.c: Likewise.
61851         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61853         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61854         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61855         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61856         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61858         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61859         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61860         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61861         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61862         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61863         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61864         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61865         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61866         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61867         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61868         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61869         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61870         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61871         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61873         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61875         * stdio-common/_itoa.h: Moved to ...
61876         * sysdeps/generic/_itoa.h: Here.
61878         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61880         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61881         instead of "_itoa.h" and "_itowa.h".
61882         * stdio-common/vfprintf.: Likewise.
61884 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61886         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61887         <bits/wordsize.h>.
61888         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61889         (__signbit): Likwise.
61890         (llrintf): Likwise.
61891         (llrint): Likwise.
61893 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61895         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61896         __WORDSIZE != 64.
61898 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61900         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61901         OVERFLOW_EXCEPTION_OK.
61902         * math/libm-test.inc ("Philosophy"): Update comment about
61903         exception testing.
61904         (OVERFLOW_EXCEPTION): Define.
61905         (OVERFLOW_EXCEPTION_OK): Likewise.
61906         (INVALID_EXCEPTION_OK): Renumber.
61907         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61908         (IGNORE_ZERO_INF_SIGN): Likewise.
61909         (test_exceptions): Handle FE_OVERFLOW.
61910         (exp10_test): Expect overflow exceptions.
61911         (exp2_test): Likewise.
61912         (expm1_test): Likewise.
61913         (nextafter_test): Likewise.
61914         (pow_test): Likewise.
61915         (scalbn_test): Likewise.
61916         (scalbln_test): Likewise.
61918 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61920         * sysdeps/x86_64/bits/atomic.h
61921         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61922         64bit integer.
61923         (atomic_exchange_acq): Likewise.
61924         (__arch_exchange_and_add_body): Likewise.
61925         (__arch_add_body): Likewise.
61926         (atomic_add_negative): Likewise.
61927         (atomic_add_zero): Likewise.
61929 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61931         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61932         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61934 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61936         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61937         Check __x86_64__ instead of __WORDSIZE.
61939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61941         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61943 2012-03-19  David S. Miller  <davem@davemloft.net>
61945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61947         * sysdeps/sparc/fpu/fenv_private.h: New file.
61948         * sysdeps/sparc/fpu/math_private.h: Use it.
61949         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61950         Remove.
61951         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61952         (libc_feholdexcept_setroundl): Remove.
61953         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61954         Remove.
61955         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61956         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61960         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61961         int64_t instead of long int.
61962         (INSERT_WORDS64): Likwise.
61964 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61966         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61967         _Unwind_GetCFA return to _Unwind_Ptr first.
61969 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61971         [BZ #13629]
61972         * math/s_clog.c: Include <float.h>.
61973         (__clog): Scale large or subnormal inputs.
61974         * math/s_clogf.c: Likewise.
61975         * math/s_clogl.c: Likewise.
61976         * math/s_clog10.c: Include <float.h>.
61977         (M_LOG10_2): Define.
61978         (__clog10): Scale large or subnormal inputs.
61979         * math/s_clog10f.c: Likewise.
61980         * math/s_clog10l.c: Likewise.
61981         * math/libm-test.inc (clog_test): Add more tests.
61982         (clog10_test): Likewise.
61983         * sysdeps/i386/fpu/libm-test-ulps: Update.
61984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61986         [BZ #11451]
61987         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61988         x and y.
61989         * math/libm-test.inc (atan2_test): Add another test.
61991         * Makerules (common-objdir-compile): Remove.
61992         * sysdeps/unix/Makefile (config-generated): Do not add
61993         $(unix-generated) to variable.
61994         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61995         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61996         Remove rule.
61997         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61998         Likewise.
61999         [generic bits/local_lim.h] (before-compile): Do not append to
62000         variable.
62001         [generic bits/local_lim.h] (common-generated): Likewise.
62002         [generic sys/param.h] (before-compile): Do not append to variable.
62003         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62004         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62005         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62006         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62007         include.
62008         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62009         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62010         [generic sys/param.h] ($(addprefix
62011         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62012         [generic sys/param.h] (common-generated): Do not append to
62013         variable.
62014         [generic sys/param.h] (sysdep_headers): Likewise.
62015         [generic bits/errno.h] (before-compile): Do not append to
62016         variable.
62017         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62018         rule.
62019         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62020         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62021         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62022         [generic bits/errno.h] (common-generated): Do not append to
62023         variable.
62024         [generic bits/ioctls.h] (before-compile): Do not append to
62025         variable.
62026         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62027         rule.
62028         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62029         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62030         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62031         rule.
62032         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62033         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62034         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62035         [generic bits/ioctls.h] (common-generated): Do not append to
62036         variable.
62037         [generic sys/syscall.h] (syscall.h): Remove variable.
62038         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62039         rule.
62040         [generic sys/syscall.h] (before-compile): Do not append to
62041         variable.
62042         [generic sys/syscall.h] (common-generated): Likewise.
62043         * sysdeps/unix/errnos-tmpl.c: Remove file.
62044         * sysdeps/unix/errnos.awk: Likewise.
62045         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62046         * sysdeps/unix/ioctls.awk: Likewise.
62047         * sysdeps/unix/mk-local_lim.c: Likewise.
62048         * sysdeps/unix/snarf-ioctls: Likewise.
62050 2012-03-19  Richard Henderson  <rth@twiddle.net>
62052         * sysdeps/i386/fpu/fenv_private.h: New file.
62053         * sysdeps/i386/fpu/math_private.h: Use it.
62054         (math_opt_barrier, math_force_eval): Remove.
62055         (libc_feholdexcept_setround_53bit): Remove.
62056         (libc_feupdateenv_53bit): Remove.
62057         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62058         (math_opt_barrier, math_force_eval): Remove.
62059         (libc_feholdexcept): Remove.
62060         (libc_feholdexcept_setround): Remove.
62061         (libc_fetestexcept, libc_fesetenv): Remove.
62062         (libc_feupdateenv_test): Remove.
62063         (libc_feupdateenv, libc_feholdsetround): Remove.
62064         (libc_feresetround): Remove.
62066         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62067         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62069         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62070         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62071         (libc_feupdateenv_testl): New.
62072         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62073         (libc_feupdateenv_testf): New.
62074         (libc_feupdateenv): Use libc_feupdateenv_test.
62075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62076         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62078         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62079         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62080         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62081         (libc_feresetround_noex): New.
62082         (libc_feresetround_noexf): New.
62083         (libc_feresetround_noexl): New.
62084         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62085         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62086         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62087         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62088         SET_RESTORE_ROUND.
62089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62091         (__cos): Likewise.
62092         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62093         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62094         SET_RESTORE_ROUND_NOEX.
62095         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62096         SET_RESTORE_ROUND_NOEXF.
62097         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62098         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62099         (libc_feholdsetroundf): New.
62100         (libc_feresetround, libc_feresetroundf): New.
62102         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62103         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62104         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62106         * sysdeps/generic/math_private.h: Include <fenv.h>.
62107         (default_libc_feholdexcept): New.
62108         (default_libc_feholdexcept_setround): New.
62109         (default_libc_fesetenv, default_libc_feupdateenv): New.
62110         (libc_feholdexcept): Only define if undefined.
62111         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62112         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62113         (libc_feholdexcept_setroundl): Likewise.
62114         (libc_feholdexcept_setround_53bit): Likewise.
62115         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62116         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62117         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62118         (libc_feupdateenv_53bit): Likewise.
62119         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62120         (libc_feholdexcept): Convert from macro to inline function.
62121         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62122         (libc_fesetenv, libc_feupdateenv): Likewise.
62124         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62125         not previously defined.
62126         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62127         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62128         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62129         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62130         * sysdeps/ieee754/flt-32/math_private.h: New file.
62131         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62132         math_private.h below SET_FLOAT_WORD.
62133         (__isnan, __isinf_ns, __finite): Remove.
62134         (__isnanf, __isinf_nsf, __finitef): Remove.
62136 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62140 2012-03-17  David S. Miller  <davem@davemloft.net>
62142         [BZ #6471]
62143         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62144         for 2.16.
62146 2012-03-16  David S. Miller  <davem@davemloft.net>
62148         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62149         warnings.
62151         [BZ #6471]
62152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62153         properly.
62154         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62155         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62156         sysdep_routines when subdir is sysvipc.
62157         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62158         __getshmlba helper.
62160         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62162 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62164         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62165         [__LP64__].
62167 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62169         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62170         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62171         (__lround): Renamed to ...
62172         (__llround): This.  Replace long int with long long int.
62173         Define lround functions as aliases of llround functions.
62174         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62176 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62178         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62179         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62180         adresses to uintptr_t.  Replace "long int" and "unsigned long
62181         int" with "greg_t" on va_arg.
62183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62185         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62186         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62188         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62189         Move e_machine check before EI_CLASS check.  Handle x32
62190         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62191         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62192         SKIP_EM_IA_64 and include
62193         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62195         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62196         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62197         (add_system_dir): New macro.
62199         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62200         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62202 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62204         [BZ #2551]
62205         [BZ #2552]
62206         [BZ #2553]
62207         [BZ #2554]
62208         [BZ #2562]
62209         [BZ #2563]
62210         [BZ #2565]
62211         [BZ #2566]
62212         [BZ #2576]
62213         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62214         (y0): Likewise.
62215         * math/w_j0f.c (j0f): Likewise.
62216         (y0f): Likewise.
62217         * math/w_j0l.c (__j0l): Likewise.
62218         (__y0l): Likewise.
62219         * math/w_j1.c (j1): Likewise.
62220         (y1): Likewise.
62221         * math/w_j1f.c (j1f): Likewise.
62222         (y1f): Likewise.
62223         * math/w_j1l.c (__j1l): Likewise.
62224         (__y1l): Likewise.
62225         * math/w_jn.c (jn): Likewise.
62226         (yn): Likewise.
62227         * math/w_jnf.c (jnf): Likewise.
62228         (ynf): Likewise.
62229         * math/w_jnl.c (__jnl): Likewise.
62230         (__ynl): Likewise.
62231         * math/libm-test.inc (j0_test): Add more tests.
62232         (j1_test): Likewise.
62233         (jn_test): Likewise.  Add trailing semicolon to existing test.
62234         (y0_test): Likewise.
62235         (y1_test): Likewise.
62236         * sysdeps/i386/fpu/libm-test-ulps: Update.
62237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62239         [BZ #13851]
62240         [BZ #13854]
62241         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62242         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62243         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62244         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62245         (__tanl): Set errno for infinite argument.
62246         * sysdeps/i386/fpu/mptan.c: Remove.
62247         * sysdeps/i386/fpu/s_tan.S: Likewise.
62248         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62249         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62250         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62251         * math/libm-test.inc (tan_test): Add more tests and enable more
62252         tests for double and long double.
62253         * sysdeps/i386/fpu/libm-test-ulps: Update.
62254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62256 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62258         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62259         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62261 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62263         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62264         * configure.in: Use it for both main tree and add-ons.
62265         * configure: Regenerated.
62267 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62269         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62271 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62273         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62274         in comment.
62276         [BZ #13851]
62277         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62278         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62279         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62280         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62281         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62282         infinite argument.
62283         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62285         != 0 for prec == 2.
62286         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62287         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62288         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62289         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62290         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62291         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62292         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62293         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62294         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62295         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62296         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62297         * math/libm-test.inc (cos_test): Add more tests and enable more
62298         tests for long double.
62299         (sin_test): Likewise.
62300         (sincos_test): Likewise.
62301         * sysdeps/i386/fpu/libm-test-ulps: Update.
62302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62304 2012-03-16  David S. Miller  <davem@davemloft.net>
62306         * sysdeps/sparc/fpu/math_private.h: New file.
62308 2012-03-15  David S. Miller  <davem@davemloft.net>
62310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62311         file.
62312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62314         file.
62315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62321         sysdep routines.
62322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62324         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62325         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62327         * sysdeps/sparc/sparc-ifunc.h: New file.
62328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62329         sparc-ifunc.h
62330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62332         Likewise.
62333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62334         Likewise.
62335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62339         Likewise.
62340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62345         Likewise.
62346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62347         Likewise.
62348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62366         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62367         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62368         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62369         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62373 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62375         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62376         scaling.
62377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62379 2012-03-15  Andreas Jaeger  <aj@suse.de>
62381         [BZ #13852]
62382         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62383         ieee754/flt-32 implementation for sin, cos and sincos.
62384         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62385         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62386         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62387         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62388         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62389         ieee754/flt-32 implementation for tan.
62391         * math/libm-test.inc (cos_test): Enable some large input tests for
62392         float as well
62393         (sin_test): Likewise.
62394         (sincos_test): Likewise.
62395         (tan_test): Add tests for large input.
62397         * sysdeps/i386/fpu/libm-test-ulps: Update.
62399 2012-03-15  Andreas Jaeger  <aj@suse.de>
62401         [BZ #13658]
62402         * math/libm-test.inc (cos_test): Add more test cases.
62403         (sin_test): Likewise.
62404         (sincos_test): Likewise.
62406 2012-03-15  Andreas Jaeger  <aj@suse.de>
62408         [BZ #13837]
62409         * math/libm-test.inc (cos_test): Add a test case for large input
62410         value.
62411         (sin_test): Likewise.
62412         (sincos_test): Likewise.
62414 2012-03-15  Andreas Jaeger  <aj@suse.de>
62415             Joseph Myers  <joseph@codesourcery.com>
62417         [BZ #13658]
62418         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62419         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62420         * sysdeps/i386/fpu/branred.c: Likewise.
62421         * sysdeps/i386/fpu/dosincos.c: Likewise.
62422         * sysdeps/i386/fpu/mpa.c: Likewise.
62423         * sysdeps/i386/fpu/s_cos.S: Likewise.
62424         * sysdeps/i386/fpu/s_sin.S: Likewise.
62425         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62426         * sysdeps/i386/fpu/sincos32.c: Likewise.
62428         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62429         Define.
62430         (libc_feupdateenv_53bit): Define.
62431         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62432         Define.
62433         (libc_feupdateenv_53bit): Define.
62435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62436         53 bit (without extend i386 double precision).
62438         * math/libm-test.inc (sincos_test): Add tests for large input.
62439         (sin): Likewise.
62440         (cos): Likewise.
62442         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62444 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62448 2012-03-15  David S. Miller  <davem@davemloft.net>
62450         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62451         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62452         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62453         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62466         file.
62467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62469         file.
62470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62472         file.
62473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62475         file.
62476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62478         fmin/fmax sysdep routines.
62479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62481 2012-03-14  David S. Miller  <davem@davemloft.net>
62483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62490         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62504         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62505         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62506         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62509         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62510         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62511         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62512         routines.
62513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62514         file.
62515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62517         file.
62518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62520         file.
62521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62523         file.
62524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62526         file.
62527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62529         file.
62530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62531         file.
62532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62533         file.
62534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62535         file.
62536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62537         New file.
62538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62539         file.
62540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62541         file.
62542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62544         file.
62545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62547         file.
62548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62550         file.
62551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62553         VIS3 routines.
62555         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62556         New file.
62558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62560         * sysdeps/sparc/configure.in: New file.
62561         * sysdeps/sparc/configure: Generate.
62562         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62563         * configure: Regenerate.
62564         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62565         * config.make.in (have-as-vis3): New.
62566         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62567         available use -Av9d instead of -Av9a.
62568         * sysdeps/sparc/sparc64/Makefile: Likewise.
62569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62571         New file.
62572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62573         file.
62574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62575         New file.
62576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62577         file.
62578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62581         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62582         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62584         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62585         fzeros/fnegs to load 0x80000000 into a float register instead of
62586         using the stack.
62587         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62589 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62592         bits/syscall.h.
62593         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62594         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62595         ($(inst_includedir)/bits/syscall.h): Remove rule.
62596         ($(objpfx)bits/syscall.d): Include instead of
62597         $(objpfx)syscall-list.d.
62598         (generated): Change syscall-list.h and syscall-list.d to
62599         bits/syscall.h and bits/syscall.d.
62601 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62603         [BZ #13846]
62604         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62606 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62608         [BZ #13841]
62609         * math/s_csqrt.c: Include <float.h>.
62610         (__csqrt): Scale large or subnormal inputs.
62611         * math/s_csqrtf.c: Likewise.
62612         * math/s_csqrtl.c: Likewise.
62613         * math/libm-test.inc (csqrt_test): Add more tests.
62614         * sysdeps/i386/fpu/libm-test-ulps: Update.
62615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62617         [BZ #13840]
62618         * math/libm-test.inc (hypot_test): Add more tests.
62620 2012-03-13  David S. Miller  <davem@davemloft.net>
62622         [BZ #13840]
62623         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62624         double-precision for the calculation instead of scaling.
62626 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62628         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62629         manipulate bits before adding and subtracting TWO52[sx].
62630         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62631         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62632         Likewise.
62633         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62635 2012-03-13  David S. Miller  <davem@davemloft.net>
62637         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62638         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62640         rtld-global-offsets.h
62641         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62643         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62644         large parameters.
62646         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62648         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62649         'err' in the ifdef scope in which it is actually used.
62651         * nss/nss_db/db-init.c: Include string.h
62653 2012-03-12  David S. Miller  <davem@davemloft.net>
62655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62656         masking out of the most significant byte of random value used.
62657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62658         Fix coding style in previous change.
62660         * sysdeps/unix/sysv/linux/kernel-features.h
62661         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62662         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62663         expression.
62664         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62665         later.
62667 2012-03-11  David S. Miller  <davem@davemloft.net>
62669         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62670         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62671         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62672         for 'resultvar' otherwise things get truncated on 64-bit.
62674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62675         Fix masking out of the most significant byte of random value used.
62677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62679 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62683 2012-03-09  David S. Miller  <davem@davemloft.net>
62685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62686         variables with appropriate CPP guards.
62687         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62688         from the frame pointer, not the stack pointer.  Correct layout
62689         comments.  Fix test on resulting framesize and the management of
62690         the outregs buffer for pltexit.  Preserve floating point return
62691         values across _dl_call_pltexit call.
62692         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62693         framesize and the management of the outregs buffer for pltexit.
62694         Preserve floating point return values across _dl_call_pltexit
62695         call.
62696         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62697         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62698         (la_sparc64_gnu_pltexit): New functions.
62699         (print_exit): Fix format string for return register value.
62701 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62703         * sunrpc/Makefile (others): Add rpcgen.
62704         ($(objpfx)rpcgen): Remove special build rule and dependency on
62705         libc.
62706         * sunrpc/rpcgen.c: New file.
62708 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62710         [BZ #13673]
62711         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62712         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62713         * sysdeps/i386/crti.S: Likewise.
62714         * sysdeps/i386/crtn.S: Likewise.
62715         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62716         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62717         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62718         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62719         * sysdeps/sh/crti.S: Likewise.
62720         * sysdeps/sh/crtn.S: Likewise.
62721         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62723         [BZ #13673]
62724         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62725         with URL.
62726         * locale/programs/locfile-kw.gperf: Likewise.
62727         * locale/programs/charmap-kw.h: Regenerated.
62728         * locale/programs/locfile-kw.h: Likewise.
62730         [BZ #13673]
62731         * intl/plural.y: Replace FSF snail mail address with URL.
62732         * intl/plural.c: Regenerated.
62734 2012-03-09  Richard Henderson  <rth@twiddle.net>
62736         * include/math_private.h: Remove file.
62737         * math/math_private.h: Move file ...
62738         * sysdeps/generic/math_private.h: ... here.
62740         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62741         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62742         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62744         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62745         and <math_private.h>.
62746         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62747         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62748         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62749         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62750         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62751         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62752         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62754         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62755         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62757         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62758         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62760         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62761         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62762         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62763         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62764         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62765         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62767         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62768         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62770         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62772         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62776         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62778         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62779         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62780         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62781         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62782         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62783         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62784         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62785         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62786         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62787         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62788         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62789         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62790         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62791         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62792         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62793         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62794         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62795         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62796         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62797         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62798         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62800         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62802         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62804         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62805         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62806         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62807         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62809         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62810         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62811         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62812         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62813         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62816         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62817         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62818         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62819         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62820         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62825         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62826         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62827         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62829         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62830         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62833         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62834         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62835         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62836         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62837         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62839         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62840         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62841         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62842         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62843         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62844         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62845         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62846         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62847         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62848         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62849         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62850         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62851         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62852         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62853         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62854         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62856         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62857         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62858         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62859         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62860         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62861         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62862         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62863         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62865         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62867         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62868         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62869         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62870         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62871         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62872         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62873         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62874         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62875         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62876         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62877         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62878         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62879         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62880         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62881         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62882         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62883         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62884         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62885         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62886         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62887         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62888         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62889         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62890         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62891         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62892         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62893         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62894         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62895         * sysdeps/ieee754/k_standard.c: Likewise.
62896         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62897         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62898         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62899         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62900         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62901         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62902         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62903         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62904         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62905         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62906         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62908         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62909         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62910         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62911         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62912         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62913         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62914         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62915         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62916         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62917         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62918         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62919         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62920         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62921         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62922         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62923         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62924         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62925         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62926         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62927         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62928         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62929         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62930         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62931         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62932         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62933         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62934         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62935         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62938         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62939         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62940         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62941         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62942         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62943         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62944         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62945         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62947         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62948         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62949         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62950         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62951         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62952         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62953         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62954         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62955         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62956         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62957         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62958         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62959         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62964         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62968         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62969         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62972         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62973         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62975         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62976         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62977         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62978         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62979         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62980         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62981         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62982         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62983         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62984         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62986         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62987         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62988         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62989         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62990         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62991         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62992         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62993         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62994         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62995         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62997         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63000         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63001         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63002         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63003         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63004         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63005         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63006         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63007         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63008         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63009         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63010         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63011         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63012         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63013         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63014         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63015         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63017         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63018         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63019         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63020         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63021         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63022         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63023         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63024         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63025         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63026         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63027         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63028         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63029         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63030         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63031         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63032         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63033         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63034         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63035         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63036         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63037         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63038         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63039         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63040         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63045         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63046         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63047         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63048         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63049         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63050         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63051         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63052         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63053         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63054         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63055         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63056         * sysdeps/ieee754/s_lib_version.c: Likewise.
63057         * sysdeps/ieee754/s_matherr.c: Likewise.
63058         * sysdeps/ieee754/s_signgam.c: Likewise.
63059         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63060         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63061         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63062         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63063         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63064         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63065         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63066         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63067         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63068         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63069         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63070         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63071         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63072         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63073         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63074         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63075         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63076         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63077         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63081 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63083         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63084         * sunrpc/rpc_main.c: Likewise.
63085         * sunrpc/rpc_svcout.c: Likewise.
63087 2012-03-09  David S. Miller  <davem@davemloft.net>
63089         * include/math_private.h: New file.
63091 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63093         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63094         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63095         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63096         from <bits/socket_type.h>.
63097         (enum __socket_type): Don't define here.
63098         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63100         bits/socket_type.h.
63102         [BZ #13566]
63103         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63104         checking __USE_GNU.
63106         * Makerules ($(inst_includedir)/%.h): New rule.
63107         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63108         (install-others): Remove variable setting.
63109         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63111 2012-03-08  Richard Henderson  <rth@twiddle.net>
63113         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63114         from macro to inline function; merge with the
63115         !__LIBC_INTERNAL_MATH_INLINES version.
63116         (__ieee754_sqrtf): Likewise.
63118         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63119         to inline function.
63120         (__rintf, __floor, __floorf): Likewise.
63122         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63123         macro to inline function.
63124         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63127         not <math/math_private.h>.
63129 2012-03-08  David S. Miller  <davem@davemloft.net>
63131         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63132         copyright year.
63133         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63135 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63137         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63138         normalization.
63139         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63140         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63142 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63144         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63145         be defined individually, they must be defined as a block.  Define
63146         S for printing a string instead of hidint the different by using a
63147         macro for adding the 'l'.
63148         * stdio-common/tst-fphex-wide.c: Adjust.
63150 2012-03-07  Marek Polacek  <polacek@redhat.com>
63152         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63154 2012-03-08  Marek Polacek  <polacek@redhat.com>
63156         [BZ #13806]
63157         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63158         * stdio-common/tst-fphex.c: Define a few macros to make the
63159         test reusable.  Use them.
63160         * stdio-common/tst-fphex-wide.c: New file.
63162 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63164         [BZ #6911]
63165         * manual/macros.texi (gnusystems): New macro.
63166         (nongnusystems): Likewise.
63167         (gnulinuxhurdsystems): Likewise.
63168         (gnuhurdsystems): Likewise..
63169         (gnulinuxsystems): Likewise.
63170         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63171         variants of the GNU system, not "GNU system".
63172         * manual/conf.texi: Likewise.
63173         * manual/errno.texi: Likewise.  Update example of errno macro
63174         expansion.
63175         * manual/filesys.texi: Likewise.
63176         (getumask): Document as specific to GNU/Hurd.
63177         * manual/install.texi: Likewise.  Reword some references to
63178         GNU/Linux.
63179         * manual/intro.texi: Likewise.
63180         * manual/io.texi: Likewise.
63181         (File Name Portability): Detail which constraints are inapplicable
63182         to all GNU systems and which are only inapplicable to GNU/Hurd.
63183         * manual/job.texi: Likewise.
63184         * manual/llio.texi: Likewise.
63185         (O_NOCTTY): Document as present on GNU/Linux.
63186         * manual/maint.texi: Likewise.
63187         * manual/memory.texi: Likewise.
63188         * manual/pattern.texi: Likewise.
63189         * manual/pipe.texi: Likewise.
63190         * manual/process.texi: Likewise.
63191         * manual/resource.texi: Likewise.
63192         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63193         child on GNU/Hurd.
63194         * manual/setjmp.texi: Likewise.
63195         * manual/signal.texi: Likewise.
63196         * manual/startup.texi: Likewise.
63197         * manual/stdio.texi: Likewise.
63198         * manual/terminal.texi: Likewise.
63199         (ONLCR): Document as POSIX.
63200         (OXTABS): Document availability on GNU/Linux as XTABS.
63201         (ONOEOT): Document availability separately from other bits.
63202         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63203         * manual/time.texi: Likewise.
63204         * manual/users.texi: Likewise.
63205         * INSTALL: Regenerated.
63206         * sysdeps/gnu/errlist.c: Regenerated.
63208         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63209         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63210         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63211         puts.
63212         * configure: Regenerated.
63214 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63216         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63217         default includes instead of AC_HEADER_CHECK.
63218         * sysdeps/i386/configure: Regenerated.
63220         [BZ #10716]
63221         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63222         * math/s_cacoshf.c (__cacoshf): Likewise.
63223         * math/s_cacoshl.c (__cacoshl): Likewise.
63224         * math/s_casinh.c (__casinh): Set signs of result from argument.
63225         * math/s_casinhf.c (__casinhf): Likewise.
63226         * math/s_casinhl.c (__casinhl): Likewise.
63227         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63228         (casinh_test): Add more tests.
63229         * sysdeps/i386/fpu/libm-test-ulps: Update.
63230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63232 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63234         * po/zh_TW.po: Update from translation team.
63236         * login/Makefile (distribute): Remove variable.
63237         * catgets/Makefile: Likewise.
63238         * mach/Makefile: Likewise.
63239         * malloc/Makefile: Likewise.
63240         * misc/Makefile: Likewise.
63241         * iconv/Makefile: Likewise.
63242         * nscd/Makefile: Likewise.
63243         * hurd/Makefile: Likewise.
63244         * manual/Makefile: Likewise.
63245         * locale/Makefile: Likewise.
63246         * intl/Makefile: Likewise.
63247         * conform/Makefile: Likewise.
63248         * nss/Makefile: Likewise.
63249         * time/Makefile: Likewise.
63250         * soft-fp/Makefile: Likewise.
63251         * dirent/Makefile: Likewise.
63252         * gmon/Makefile: Likewise.
63253         * po/Makefile: Likewise.
63254         * rt/Makefile: Likewise.
63255         * socket/Makefile: Likewise.
63256         * math/Makefile: Likewise.
63257         * signal/Makefile: Likewise.
63258         * debug/Makefile: Likewise.
63259         * elf/Makefile: Likewise.
63260         * timezone/Makefile: Likewise.
63261         * stdlib/Makefile: Likewise.
63262         * iconvdata/Makefile: Likewise.
63263         * sunrpc/Makefile: Likewise.
63264         * io/Makefile: Likewise.
63265         * argp/Makefile: Likewise.
63266         * inet/Makefile: Likewise.
63267         * hesiod/Makefile: Likewise.
63268         * grp/Makefile: Likewise.
63269         * csu/Makefile: Likewise.
63270         * wctype/Makefile: Likewise.
63271         * crypt/Makefile: Likewise.
63272         * libio/Makefile: Likewise.
63273         * string/Makefile: Likewise.
63274         * nis/Makefile: Likewise.
63275         * resolv/Makefile: Likewise.
63276         * stdio-common/Makefile: Likewise.
63277         * wcsmbs/Makefile: Likewise.
63278         * dlfcn/Makefile: Likewise.
63279         * posix/Makefile: Likewise.
63281         [BZ #6959]
63282         * timezone/Makefile: Don't install timezone files, just the programs
63283         and scripts.
63285 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63287         * nss/databases.def: Add missing gshadow entry.
63289         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63291 2012-03-06  Marek Polacek  <polacek@redhat.com>
63293         [BZ #13726]
63294         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63295         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63296         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63297         * stdio-common/tst-long-dbl-fphex.c: New file.
63299 2012-03-06  David S. Miller  <davem@davemloft.net>
63301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63302         (set_obp_int): New function.
63303         (get_obp_int): New function.
63304         (__get_clockfreq_via_dev_openprom): Likewise.
63305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63306         Avoid unused variable warnings on 'val' and use builtin_expect.
63307         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63308         __builtin_expect.
63309         (INLINE_CLONE_SYSCALL): Likewise.
63311 2012-03-05  David S. Miller  <davem@davemloft.net>
63313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63315 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63319         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63320         only for |x| >= 40.
63321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63323 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63325         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63326         Replace gettimeofday with __vdso_gettimeofday.
63328         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63329         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63330         __vdso_clock_gettime and __vdso_getcpu.
63332         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63333         time with __vdso_time.
63335 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63337         * manual/lang.texi (size_t): Note types to which size_t may be
63338         equivalent with the GNU C Library, but do not describe when
63339         differences between them are significant.
63341 2012-03-05  Andreas Jaeger  <aj@suse.de>
63343         * sysdeps/i386/fpu/libm-test-ulps: Update.
63345 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63347         [BZ #3976]
63348         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63349         (__ieee754_pow): Save and restore rounding mode and use
63350         round-to-nearest for main computations.
63351         * math/libm-test.inc (pow_test_tonearest): New function.
63352         (pow_test_towardzero): Likewise.
63353         (pow_test_downward): Likewise.
63354         (pow_test_upward): Likewise.
63355         (main): Call the new functions.
63356         * sysdeps/i386/fpu/libm-test-ulps: Update.
63357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63359         [BZ #3976]
63360         * math/libm-test.inc (cosh_test_tonearest): New function.
63361         (cosh_test_towardzero): Likewise.
63362         (cosh_test_downward): Likewise.
63363         (cosh_test_upward): Likewise.
63364         (sinh_test_tonearest): Likewise.
63365         (sinh_test_towardzero): Likewise.
63366         (sinh_test_downward): Likewise.
63367         (sinh_test_upward): Likewise.
63368         (main): Call the new functions.
63369         * sysdeps/i386/fpu/libm-test-ulps: Update.
63370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63372 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63374         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63375         default stack guard is set in last bytes.
63376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63378 2012-03-05  Kees Cook  <keescook@chromium.org>
63380         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63382         [BZ #13656]
63383         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63384         possibly allocate from heap instead of stack.
63385         * stdio-common/bug-vfprintf-nargs.c: New file.
63386         * stdio-common/Makefile (tests): Add nargs overflow test.
63388 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63392 2012-03-03  Marek Polacek  <polacek@redhat.com>
63394         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63395         * math/math_private.h: Likewise.
63396         * stdlib/tst-strtod.c: Likewise.
63397         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63398         * sysdeps/x86_64/bits/atomic.h: Likewise.
63400 2012-03-02  David S. Miller  <davem@davemloft.net>
63402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63406         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63407         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63408         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63409         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63411 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63413         [BZ #13792]
63414         * manual/examples/README: New file, says the example source files
63415         can be used under GPL>=2.
63416         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63417         line containing just "*/".
63418         * manual/examples/add.c: Add copyright header (GPL>=2).
63419         * manual/examples/argp-ex1.c: Likewise.
63420         * manual/examples/argp-ex2.c: Likewise.
63421         * manual/examples/argp-ex3.c: Likewise.
63422         * manual/examples/argp-ex4.c: Likewise.
63423         * manual/examples/atexit.c: Likewise.
63424         * manual/examples/db.c: Likewise.
63425         * manual/examples/dir.c: Likewise.
63426         * manual/examples/dir2.c: Likewise.
63427         * manual/examples/execinfo.c: Likewise.
63428         * manual/examples/filecli.c: Likewise.
63429         * manual/examples/filesrv.c: Likewise.
63430         * manual/examples/fmtmsgexpl.c: Likewise.
63431         * manual/examples/genpass.c: Likewise.
63432         * manual/examples/inetcli.c: Likewise.
63433         * manual/examples/inetsrv.c: Likewise.
63434         * manual/examples/isockad.c: Likewise.
63435         * manual/examples/longopt.c: Likewise.
63436         * manual/examples/memopen.c: Likewise.
63437         * manual/examples/memstrm.c: Likewise.
63438         * manual/examples/mkfsock.c: Likewise.
63439         * manual/examples/mkisock.c: Likewise.
63440         * manual/examples/mygetpass.c: Likewise.
63441         * manual/examples/pipe.c: Likewise.
63442         * manual/examples/popen.c: Likewise.
63443         * manual/examples/rprintf.c: Likewise.
63444         * manual/examples/search.c: Likewise.
63445         * manual/examples/select.c: Likewise.
63446         * manual/examples/setjmp.c: Likewise.
63447         * manual/examples/sigh1.c: Likewise.
63448         * manual/examples/sigusr.c: Likewise.
63449         * manual/examples/stpcpy.c: Likewise.
63450         * manual/examples/strdupa.c: Likewise.
63451         * manual/examples/strftim.c: Likewise.
63452         * manual/examples/strncat.c: Likewise.
63453         * manual/examples/subopt.c: Likewise.
63454         * manual/examples/swapcontext.c: Likewise.
63455         * manual/examples/termios.c: Likewise.
63456         * manual/examples/testopt.c: Likewise.
63457         * manual/examples/testpass.c: Likewise.
63458         * manual/examples/timeval_subtract.c: Likewise.
63460         [BZ #13792]
63461         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63462         function to ...
63463         * manual/timeval_subtract.c.texi: ... here, new file.
63465 2012-03-02  David S. Miller  <davem@davemloft.net>
63467         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63469 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63471         [BZ #3976]
63472         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63473         (__sin): Save and restore rounding mode and use round-to-nearest
63474         for all computations.
63475         (__cos): Save and restore rounding mode and use round-to-nearest
63476         for all computations.
63477         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63478         <fenv.h>.
63479         (tan): Save and restore rounding mode and use round-to-nearest for
63480         all computations.
63481         * math/libm-test.inc (cos_test_tonearest): New function.
63482         (cos_test_towardzero): Likewise.
63483         (cos_test_downward): Likewise.
63484         (cos_test_upward): Likewise.
63485         (sin_test_tonearest): Likewise.
63486         (sin_test_towardzero): Likewise.
63487         (sin_test_downward): Likewise.
63488         (sin_test_upward): Likewise.
63489         (tan_test_tonearest): Likewise.
63490         (tan_test_towardzero): Likewise.
63491         (tan_test_downward): Likewise.
63492         (tan_test_upward): Likewise.
63493         (main): Call the new functions.
63494         * sysdeps/i386/fpu/libm-test-ulps: Update.
63495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63497         [BZ #10135]
63498         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63499         small n, then large n, before computing and testing k+n.
63500         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63501         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63502         Likewise.
63503         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63504         Likewise.
63505         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63506         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63509         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63510         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63511         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63512         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63513         * math/libm-test.inc (scalbn_test): Add more tests.
63514         (scalbln_test): Likewise.
63516         * manual/filesys.texi (mode_t): Describe constraints on size and
63517         signedness, not exact equivalence to a particular type.
63518         (ino_t): Likewise.
63519         (ino64_t): Likewise.
63520         (dev_t): Likewise.
63521         (nlink_t): Likewise.
63522         (blkcnt_t): Likewise.
63523         (blkcnt64_t): Likewise.
63524         * manual/llio.texi (off_t): Likewise.
63526         [BZ #3976]
63527         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63528         (__ieee754_exp): Save and restore rounding mode and use
63529         round-to-nearest for all computations.
63530         * math/libm-test.inc (exp_test_tonearest): New function.
63531         (exp_test_towardzero): Likewise.
63532         (exp_test_downward): Likewise.
63533         (exp_test_upward): Likewise.
63534         (main): Call the new functions.
63535         * sysdeps/i386/fpu/libm-test-ulps: Update.
63536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63538 2012-03-01  Chris Demetriou  <cgd@google.com>
63540         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63541         have predictable order.
63543 2012-03-01  David S. Miller  <davem@davemloft.net>
63545         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63547         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63548         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63549         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63550         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63552         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63553         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63554         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63556         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63557         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63558         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63559         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63560         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63564         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63565         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63566         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63568         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63569         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63570         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63571         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63572         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63573         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63574         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63575         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63576         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63577         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63578         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63579         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63581         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63584         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63585         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63586         * sysdeps/sparc/elf/configure: Regenerated.
63588 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63590         * configure.in (AS, LD): Require binutils 2.20 or later.
63591         * configure: Regenerated.
63592         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63593         as required minimum version.
63594         * INSTALL: Regenerated.
63596         [BZ #2541]
63597         [BZ #4108]
63598         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63599         before squaring exponent.
63600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63601         bottom long double and 27 bits of top long double before squaring
63602         exponent.
63603         * math/libm-test.inc (erfc_test): Add more tests.
63604         * sysdeps/i386/fpu/libm-test-ulps: Update.
63605         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63608 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63610         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63611         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63612         containing bit-fields.
63613         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63614         * soft-fp/single.h (_FP_UNION_S): Likewise.
63615         * soft-fp/double.h (_FP_UNION_D): Likewise.
63617 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63619         [BZ #13786]
63620         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63621         not include ../strcmp.S.
63622         [USE_AS_STRNCASECMP_L]: Likewise.
63623         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63624         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63625         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63626         (__strncasecmp_l_ia32): Define as alias to
63627         __strncasecmp_l_nonascii.
63629         [BZ #5794]
63630         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63631         * sysdeps/i386/fpu/libm-test-ulps: Update.
63632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63634         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63637 2012-02-29  Jeff Law  <law@redhat.com>
63639         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63640         out of bounds read.
63642 2012-02-29  Marek Polacek  <polacek@redhat.com>
63644         [BZ #13706]
63645         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63646         * elf/Makefile: Add rules to run tst-unused-dep.out.
63648 2012-02-28  David S. Miller  <davem@davemloft.net>
63650         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63651         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63652         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63653         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63654         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63655         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63657 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63659         * math/libm-test.inc (llround_test): Move one test from
63660         lround_test.  Use TEST_f_L in moved test.
63661         (lround_test): Move misplaced test to llround_test.  Add testcase
63662         from bug 2561.
63664 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63666         * sysdeps/x86_64/fpu/e_expf.S: New file.
63667         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63669 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63671         [BZ #13637]
63672         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63673         of remain_len that may cause incomplete multi-byte character and
63674         false match.
63675         * posix/bug-regex33.c: New file.
63676         * posix/Makefile (tests): Add bug-regex33.
63678 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63680         * manual/macros.texi: New file.
63681         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63682         * manual/libc.texinfo: Include macros.texi.
63683         * manual/creatute.texi: Likewise.
63684         * manual/install.texi: Likewise.
63685         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63686         @glibcadj{} in references to the GNU C Library.
63687         * manual/charset.texi: Likewise.
63688         * manual/conf.texi: Likewise.
63689         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63690         when not using those macros.
63691         * manual/creature.texi: Likewise.
63692         * manual/crypt.texi: Likewise.
63693         * manual/errno.texi: Likewise.
63694         * manual/filesys.texi: Likewise.
63695         * manual/header.texi: Likewise.
63696         * manual/install.texi: Likewise.
63697         * manual/intro.texi: Likewise.
63698         * manual/io.texi: Likewise.
63699         * manual/job.texi: Likewise.
63700         * manual/lang.texi: Likewise.
63701         * manual/libc.texiinfo: Likewise.
63702         * manual/llio.texi: Likewise.
63703         * manual/locale.texi: Likewise.
63704         * manual/maint.texi: Likewise.
63705         * manual/math.texi: Likewise.
63706         * manual/memory.texi: Likewise.
63707         * manual/message.texi: Likewise.
63708         * manual/nss.texi: Likewise.
63709         * manual/pattern.texi: Likewise.
63710         * manual/process.texi: Likewise.
63711         * manual/resource.texi: Likewise.
63712         * manual/search.texi: Likewise.
63713         * manual/setjmp.texi: Likewise.
63714         * manual/signal.texi: Likewise.
63715         * manual/socket.texi: Likewise.
63716         * manual/startup.texi: Likewise.
63717         * manual/stdio.texi: Likewise.
63718         * manual/string.texi: Likewise.
63719         * manual/sysinfo.texi: Likewise.
63720         * manual/syslog.texi: Likewise.
63721         * manual/terminal.texi: Likewise.
63722         * manual/time.texi: Likewise.
63723         * manual/users.texi: Likewise.
63724         * INSTALL: Regenerated.
63725         * NOTES: Regenerated.
63726         * sysdeps/gnu/errlist.c: Regenerated.
63728 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63730         * include/dirent.h: Include <dirstream.h> before
63731         <dirent/dirent.h>.
63733 2012-02-28  David S. Miller  <davem@davemloft.net>
63735         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63736         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63737         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63738         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63740 2012-02-27  David S. Miller  <davem@davemloft.net>
63742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63744         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63745         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63748         frame pointer instead of stack pointer relative arg slot.
63749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63750         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63751         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63753 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63755         [BZ #3992]
63756         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63758 2012-02-27  David S. Miller  <davem@davemloft.net>
63760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63764         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63765         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63766         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63767         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63769 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63771         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63772         later.  Allow versions 5-9.
63773         * configure: Regenerated.
63774         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63775         required minimum version and 4.6 as recommended version.  Do not
63776         mention bugs in GCC 2.7 and 2.8.
63777         * INSTALL: Regenerated.
63779 2012-02-27  David S. Miller  <davem@davemloft.net>
63781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63785         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63786         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63787         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63788         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63791         manipulate bits before adding and subtracting TWO112[sx].
63792         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63794 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63796         [BZ #13775]
63797         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63798         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63799         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63800         being in POSIX, because they are in 1003.1-2008.
63802         * rt/tst-aio.c: Include <fcntl.h>.
63803         * rt/tst-aio7.c: Likewise.
63804         * rt/tst-aio64.c: Likewise.
63806         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63808 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63810         * manual/install.texi (--with-headers): Describe headers as
63811         interface headers, not private headers.
63812         (Specific advice for GNU/Linux systems): Describe use of headers
63813         from "make headers_install", not private headers from older
63814         kernels.
63815         * INSTALL: Regenerated.
63816         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63817         Change to 2.6.19.
63818         * sysdeps/unix/sysv/linux/configure: Regenerated.
63820         * manual/llio.texi (fclean): Remove documentation.
63822         * manual/Makefile (libc-texi-generated): New variable.  Include
63823         version.texi.
63824         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63825         $(libc-texi-generated), not duplicated list of files.
63826         (version.texi, stamp-version): New rules.
63827         (realclean): Remove $(libc-texi-generated), not individual files
63828         from that list.  Do not remove dir-add.texinfo.
63829         * manual/libc.texinfo: Comment out uses of edition numbers and
63830         references to printed manual.  Remove last-updated dates.
63831         (EDITION): Comment out.
63832         (ISBN): Likewise.
63833         (VERSION, UPDATED): Remove.
63834         (version.texi): Include.
63836 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63838         * sysdeps/posix/spawni.c: Include <signal.h>.
63839         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63840         * sysdeps/pthread/aio_fsync.c: Likewise.
63842 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63844         * conform/Makefile (tests): Run only when not cross-compiling and
63845         when fast-check is not defined.
63847         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63848         * conform/data/limits.h-data: Fixes for POSIX2008.
63849         * conform/run-conformtest.sh: Run all tests.
63850         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63851         headers.
63852         * include/bits/dlfcn.h: Likewise.
63853         * include/langinfo.h: Likewise.
63854         * include/monetary.h: Likewise.
63855         * include/sys/poll.h: Likewise.
63857         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63858         for __USE_GNU.
63859         * posix/spawn.h: Define __need_sigset_t.
63860         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63861         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63862         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63863         to get sigevent_t only.
63864         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63865         only for __USE_GNU.
63866         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63867         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63868         process_vm_writev only for __USE_GNU.
63869         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63871         * conform/Makefile: For now ignore errors from run-conformtest.
63872         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63873         POSIX to avoid namespace pollution.  Don't prepend headers.
63874         * conform/data/aio.h-data: Fixes for POSIX testing.
63875         * conform/data/fcntl.h-data: Likewise.
63876         * conform/data/glob.h-data: Likewise.
63877         * conform/data/grp.h-data: Likewise.
63878         * conform/data/pthread.h-data: Likewise.
63879         * conform/data/pwd.h-data: Likewise.
63880         * conform/data/signal.h-data: Likewise.
63881         * conform/data/spawn.h-data: Likewise.
63882         * conform/data/stdio.h-data: Likewise.
63883         * conform/data/stdlib.h-data: Likewise.
63884         * conform/data/stropts.h-data: Likewise.
63885         * conform/data/sys/mman.h-data: Likewise.
63886         * conform/data/sys/stat.h-data: Likewise.
63887         * conform/data/sys/types.h-data: Likewise.
63888         * conform/data/sys/wait.h-data: Likewise.
63889         * conform/data/time.h-data: Likewise.
63890         * conform/data/unistd.h-data: Likewise.
63891         * conform/data/utime.h-data: Likewise.
63893         * io/sys/stat.h: fchmod was always in POSIX.
63894         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63895         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63896         * rt/aio.h: Define __need_timespec before including <time.h>.
63897         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63898         struct.  Add forward declaration of pthread_attr_t and use it in
63899         sigevent.
63900         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63902         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63903         always remove CLK_TCK definition.
63905 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63907         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63909 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63911         * conform/run-conformtest.sh: New file.
63912         * conform/Makefile: Run run-conformtest for tests.
63913         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63914         support.
63916         * conform/data/uchar.h-data: New file.
63917         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63918         * conform/data/arpa/inet.h-data: Likewise.
63919         * conform/data/assert.h-data: Likewise.
63920         * conform/data/complex.h-data: Likewise.
63921         * conform/data/cpio.h-data: Likewise.
63922         * conform/data/ctype.h-data: Likewise.
63923         * conform/data/dirent.h-data: Likewise.
63924         * conform/data/dlfcn.h-data: Likewise.
63925         * conform/data/errno.h-data: Likewise.
63926         * conform/data/fcntl.h-data: Likewise.
63927         * conform/data/float.h-data: Likewise.
63928         * conform/data/fmtmsg.h-data: Likewise.
63929         * conform/data/fnmatch.h-data: Likewise.
63930         * conform/data/ftw.h-data: Likewise.
63931         * conform/data/glob.h-data: Likewise.
63932         * conform/data/grp.h-data: Likewise.
63933         * conform/data/iconv.h-data: Likewise.
63934         * conform/data/inttypes.h-data: Likewise.
63935         * conform/data/langinfo.h-data: Likewise.
63936         * conform/data/libgen.h-data: Likewise.
63937         * conform/data/limits.h-data: Likewise.
63938         * conform/data/locale.h-data: Likewise.
63939         * conform/data/math.h-data: Likewise.
63940         * conform/data/monetary.h-data: Likewise.
63941         * conform/data/mqueue.h-data: Likewise.
63942         * conform/data/ndbm.h-data: Likewise.
63943         * conform/data/net/if.h-data: Likewise.
63944         * conform/data/netdb.h-data: Likewise.
63945         * conform/data/netinet/in.h-data: Likewise.
63946         * conform/data/nl_types.h-data: Likewise.
63947         * conform/data/poll.h-data: Likewise.
63948         * conform/data/pthread.h-data: Likewise.
63949         * conform/data/pwd.h-data: Likewise.
63950         * conform/data/regex.h-data: Likewise.
63951         * conform/data/sched.h-data: Likewise.
63952         * conform/data/search.h-data: Likewise.
63953         * conform/data/semaphore.h-data: Likewise.
63954         * conform/data/setjmp.h-data: Likewise.
63955         * conform/data/signal.h-data: Likewise.
63956         * conform/data/spawn.h-data: Likewise.
63957         * conform/data/stdarg.h-data: Likewise.
63958         * conform/data/stdio.h-data: Likewise.
63959         * conform/data/stdlib.h-data: Likewise.
63960         * conform/data/string.h-data: Likewise.
63961         * conform/data/strings.h-data: Likewise.
63962         * conform/data/stropts.h-data: Likewise.
63963         * conform/data/sys/ipc.h-data: Likewise.
63964         * conform/data/sys/mman.h-data: Likewise.
63965         * conform/data/sys/msg.h-data: Likewise.
63966         * conform/data/sys/resource.h-data: Likewise.
63967         * conform/data/sys/select.h-data: Likewise.
63968         * conform/data/sys/sem.h-data: Likewise.
63969         * conform/data/sys/shm.h-data: Likewise.
63970         * conform/data/sys/socket.h-data: Likewise.
63971         * conform/data/sys/stat.h-data: Likewise.
63972         * conform/data/sys/statvfs.h-data: Likewise.
63973         * conform/data/sys/time.h-data: Likewise.
63974         * conform/data/sys/timeb.h-data: Likewise.
63975         * conform/data/sys/times.h-data: Likewise.
63976         * conform/data/sys/types.h-data: Likewise.
63977         * conform/data/sys/uio.h-data: Likewise.
63978         * conform/data/sys/un.h-data: Likewise.
63979         * conform/data/sys/utsname.h-data: Likewise.
63980         * conform/data/sys/wait.h-data: Likewise.
63981         * conform/data/syslog.h-data: Likewise.
63982         * conform/data/tar.h-data: Likewise.
63983         * conform/data/termios.h-data: Likewise.
63984         * conform/data/utime.h-data: Likewise.
63985         * conform/data/utmpx.h-data: Likewise.
63986         * conform/data/varargs.h-data: Likewise.
63987         * conform/data/wchar.h-data: Likewise.
63988         * conform/data/wctype.h-data: Likewise.
63989         * conform/data/wordexp.h-data: Likewise.
63991         * include/stropts.h: New file.
63992         * include/uchar.h: New file.
63993         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63994         * include/assert.h: Likewise.
63995         * include/ctype.h: Likewise.
63996         * include/dirent.h: Likewise.
63997         * include/dlfcn.h: Likewise.
63998         * include/fcntl.h: Likewise.
63999         * include/fnmatch.h: Likewise.
64000         * include/glob.h: Likewise.
64001         * include/grp.h: Likewise.
64002         * include/libio.h: Likewise.
64003         * include/locale.h: Likewise.
64004         * include/math.h: Likewise.
64005         * include/net/if.h: Likewise.
64006         * include/netdb.h: Likewise.
64007         * include/netinet/in.h: Likewise.
64008         * include/pthread.h: Likewise.
64009         * include/pwd.h: Likewise.
64010         * include/regex.h: Likewise.
64011         * include/sched.h: Likewise.
64012         * include/search.h: Likewise.
64013         * include/setjmp.h: Likewise.
64014         * include/signal.h: Likewise.
64015         * include/stdio.h: Likewise.
64016         * include/stdlib.h: Likewise.
64017         * include/string.h: Likewise.
64018         * include/sys/cdefs.h: Likewise.
64019         * include/sys/mman.h: Likewise.
64020         * include/sys/msg.h: Likewise.
64021         * include/sys/resource.h: Likewise.
64022         * include/sys/select.h: Likewise.
64023         * include/sys/socket.h: Likewise.
64024         * include/sys/stat.h: Likewise.
64025         * include/sys/statvfs.h: Likewise.
64026         * include/sys/time.h: Likewise.
64027         * include/sys/times.h: Likewise.
64028         * include/sys/uio.h: Likewise.
64029         * include/sys/utsname.h: Likewise.
64030         * include/sys/wait.h: Likewise.
64031         * include/termios.h: Likewise.
64032         * include/time.h: Likewise.
64033         * include/ulimit.h: Likewise.
64034         * include/unistd.h: Likewise.
64035         * include/utime.h: Likewise.
64036         * include/wchar.h: Likewise.
64037         * include/wctype.h: Likewise.
64038         * include/wordexp.h: Likewise.
64040         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64042         * time/time.h: TIME_UTC must be a macro.
64043         Make timespec_get available for ISO C11 only as well.
64045 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64047         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64048         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64050 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64052         * configure.in: Use -o not -a in test for unsupported multi-arch.
64054 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64056         * manual/texinfo.tex: Update to version 2012-01-19.16.
64058 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64060         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64062 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64064         [BZ #13738]
64065         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64066         * manual/fdl-1.3.texi: New file.
64067         * manual/fdl-1.1.texi: File removed.
64069         [BZ #13738]
64070         * manual/libc.texinfo (FDL_VERSION): New @set.
64071         Use it for mention of FDL in cover text.
64072         (Documentation License): Use it in @include file name.
64074 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64075             Roland McGrath  <roland@hack.frob.com>
64077         [BZ #5461]
64078         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64079         (not LONG_LONG_MAX and LONG_LONG_MIN.
64080         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64081         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64082         name.
64083         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64085 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64087         [BZ #2547]
64088         [BZ #11365]
64089         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64090         manipulate bits before adding and subtracting TWO23[sx].
64091         * math/libm-test.inc (nearbyint_test): Add more tests.
64093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64095         [BZ #2548]
64096         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64097         bits before adding and subtracting TWO23[sx].
64098         * math/libm-test.inc (rint_test): Add more tests.
64099         (rint_test_tonearest): Likewise.
64100         (rint_test_towardzero): Likewise.
64101         (rint_test_downward): Likewise.
64102         (rint_test_upward: Likewise.
64104 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64106         [BZ #10110]
64107         * include/stdc-predef.h: New file.  Extracted from features.h.
64108         * include/features.h: Include stdc-predef.h.
64109         * Makefile (headers): Add stdc-predef.h.
64110         * CONFORMANCE (Compiler limitations): Update.
64112 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64114         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64116 2012-02-21  David S. Miller  <davem@davemloft.net>
64118         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64119         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64121 2012-02-20  David S. Miller  <davem@davemloft.net>
64123         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64124         using a normal save/restore sequence, rather than allocating a
64125         dummy stack frame just to store a frame pointer and restore.
64126         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64128 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64130         * manual/install.texi: Fix stray word in line-wrapped comment.
64132 2012-02-20  David S. Miller  <davem@davemloft.net>
64134         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64135         both binutils and gcc support GOTDATA.
64137         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64138         "rd %pc" in the PIC register setup sequences.
64140         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64141         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64142         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64143         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64144         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64146         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64149         (SYSCALL_ERROR_HANDLER): Likewise.
64150         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64151         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64153         (SYSCALL_ERROR_HANDLER): Likewise.
64155         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64156         (HAVE_GCC_GOTDATA): New.
64157         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64158         relocation support in both binutils and gcc.
64159         * sysdeps/sparc/elf/configure: Regenerate.
64161         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64162         * sysdeps/sparc/sparc32/elf/configure: Delete.
64163         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64164         * sysdeps/sparc/sparc64/elf/configure: Delete.
64165         * sysdeps/sparc/elf/configure.in: New file.
64166         * sysdeps/sparc/elf/configure: Generate.
64168         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64169         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64170         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64171         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64172         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64174 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64176         * manual/install.texi: Do not mention specific glibc version
64177         numbers.
64178         * manual/libc.texinfo (VERSION, UPDATED): Update.
64179         (@copying): Use @copyright{} and range of years.
64181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64183         [BZ #13695]
64184         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64185         [crti.S not in sysdirs] (generated): Do not append.
64186         [crti.S not in sysdirs] (omit-deps): Likewise.
64187         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64188         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64189         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64190         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64191         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64192         Likewise.
64193         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64194         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64195         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64196         * csu/defs.awk: Remove file.
64197         * sysdeps/generic/initfini.c: Likewise.
64198         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64199         variable.
64200         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64201         Likewise.
64203 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64205         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64206         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64207         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64208         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64210         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64211         <bits/epoll.h>.
64212         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64213         (__EPOLL_PACKED): Define to empty if not defined by
64214         <bits/epoll.h>.
64215         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64217         bits/epoll.h.
64219 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64221         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64222         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64223         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64224         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64225         <bits/timerfd.h>.
64226         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64228         bits/timerfd.h.
64230 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64232         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64233         in C locale.
64234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64235         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64236         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64239 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64241         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64242         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64244 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64246         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64247         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64248         defined.
64249         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64250         Likewise.
64251         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64252         entry for 2.16.
64254 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64256         * math/w_acos.c: Use non-signaling floating-point comparisons.
64257         * math/w_acosf.c: Likewise.
64258         * math/w_acosh.c: Likewise.
64259         * math/w_acoshf.c: Likewise.
64260         * math/w_acoshl.c: Likewise.
64261         * math/w_acosl.c: Likewise.
64262         * math/w_asin.c: Likewise.
64263         * math/w_asinf.c: Likewise.
64264         * math/w_asinl.c: Likewise.
64265         * math/w_atanh.c: Likewise.
64266         * math/w_atanhf.c: Likewise.
64267         * math/w_atanhl.c: Likewise.
64268         * math/w_exp2.c: Likewise.
64269         * math/w_exp2f.c: Likewise.
64270         * math/w_exp2l.c: Likewise.
64271         * math/w_j0.c: Likewise.
64272         * math/w_j0f.c: Likewise.
64273         * math/w_j0l.c: Likewise.
64274         * math/w_j1.c: Likewise.
64275         * math/w_j1f.c: Likewise.
64276         * math/w_j1l.c: Likewise.
64277         * math/w_jn.c: Likewise.
64278         * math/w_jnf.c: Likewise.
64279         * math/w_log.c: Likewise.
64280         * math/w_log10.c: Likewise.
64281         * math/w_log10f.c: Likewise.
64282         * math/w_log10l.c: Likewise.
64283         * math/w_log2.c: Likewise.
64284         * math/w_log2f.c: Likewise.
64285         * math/w_log2l.c: Likewise.
64286         * math/w_logf.c: Likewise.
64287         * math/w_logl.c: Likewise.
64288         * math/w_sqrt.c: Likewise.
64289         * math/w_sqrtf.c: Likewise.
64290         * math/w_sqrtl.c: Likewise.
64291         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64292         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64293         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64294         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64295         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64297 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64299         [BZ #9739]
64300         * manual/string.texi (strnlen): Use correct parameter name in
64301         equivalent expression.
64303 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64305         [BZ #11174]
64306         * manual/users.texi (seteuid): Consistently use neweuid for
64307         argument name.
64309 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64311         [BZ #13704]
64312         * manual/nss.texi (Services in the NSS configuration): Correct
64313         list of services in example configuration file.
64315 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64317         [BZ #11322]
64318         * manual/arith.texi: Remove statements about negative zero
64319         behaving identically to zero.
64321 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64323         [BZ #5993]
64324         * manual/install.texi: Do not document upgrading from libc5.
64326 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64328         [BZ #4596]
64329         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64331 2012-02-18  David S. Miller  <davem@davemloft.net>
64333         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64334         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64335         %o7 across the call.
64336         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64337         instead.
64338         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64339         SETUP_PIC_REG_LEAF.
64340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64341         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64342         * sysdeps/sparc/crtn.S: Likewise.
64344 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64346         * aout/Makefile: Remove.
64348 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64350         [BZ #13058]
64351         * manual/examples/argp-ex1.c (main): Format definition in GNU
64352         style.
64353         * manual/examples/argp-ex2.c (main): Likewise.
64354         * manual/examples/argp-ex3.c (main): Likewise.
64355         * manual/examples/argp-ex4.c (main): Likewise.
64356         * manual/examples/longopt.c (main): Use new-style prototype
64357         definition.
64358         * manual/examples/strncat.c (main): Specify return type and use
64359         (void) for arguments.
64360         * manual/examples/subopt.c (main): Use char **argv argument.
64362 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64364         [BZ #5077]
64365         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64366         rounding modes.
64368 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64370         [BZ #6907]
64371         * manual/string.texi (strchr): Change when strchrnul is
64372         recommended.
64374 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64376         [BZ #174]
64377         * manual/locale.texi (setlocale): Document LOCPATH.
64379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64381         [BZ #10210]
64382         * manual/process.texi (execle): Move @dots{} before last argument.
64384 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64386         [BZ #12047]
64387         * manual/charset.texi (Generic Charset Conversion): Fix typo
64388         (LC_TYPE -> LC_CTYPE).
64390 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64392         [BZ #5805]
64393         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64394         (scalbnf): Likewise.
64395         (scalbnl): Likewise.
64396         (scalbln): Likewise.
64397         (scalblnf): Likewise.
64398         (scalblnl): Likewise.
64399         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64400         (vwarnx): Likewise.
64401         (verr): Likewise.
64402         (verrx): Likewise.
64403         * manual/filesys.texi (telldir): Use braces around return type.
64404         * manual/llio.texi (mmap): Add space after comma.
64405         (mmap64): Likewise.
64406         * manual/math.texi (jn): Use @var{} on parameter names.
64407         (jnf): Likewise.
64408         (jnl): Likewise.
64409         (yn): Likewise.
64410         (ynf): Likewise.
64411         (ynl): Likewise.
64412         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64413         line.
64414         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64415         "...".
64416         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64417         (sched_get_priority_max): Likewise.
64418         * manual/signal.texi (sigvec): Add space after comma.
64419         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64420         names.
64421         (if_indextoname): Likewise.
64422         (if_freenameindex): Likewise.
64423         (sendto): Use ',' instead of '.' in prototype.
64424         * manual/startup.texi (syscall): Use @dots{} instead of literal
64425         "...".
64426         * manual/stdio.texi (__fpending): Separate initial words of
64427         paragraph from @deftypefun line.
64428         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64429         "...".
64430         (vsyslog): Use @var{} on parameter names.
64431         * manual/terminal.texi (stty): Use @var{} on parameter names.
64432         * manual/users.texi (getutmp): Use @var{} on parameter names.
64433         (getutmpx): Likewise.
64435 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64437         [BZ #6884]
64438         * manual/stdio.texi (fopen): Fix typos in description of
64439         ",ccs=STRING".
64441 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64443         [BZ #4026]
64444         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64445         get clock_id definition.
64447 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64449         [BZ #4822]
64450         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64451         (madvise): Cast every argument to void on its own.
64453 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64455         [BZ #9902]
64456         * manual/startup.texi (Exit Status): Fix typo.
64458 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64460         [BZ #10140]
64461         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64462         * manual/examples/argp-ex2.c: Likewise.
64463         * manual/examples/argp-ex3.c: Likewise.
64465 2012-02-16  Richard Henderson  <rth@redhat.com>
64467         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64468         * sysdeps/s390/s390-32/initfini.c: Remove.
64469         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64470         * sysdeps/s390/s390-64/initfini.c: Remove.
64472 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64474         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64475         compiler output for sysdeps/generic/initfini.c.
64476         * sysdeps/sh/elf/initfini.c: Remove file.
64478 2012-02-16  David S. Miller  <davem@davemloft.net>
64480         [BZ #11494]
64481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64483         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64484         * sysdeps/sparc/crti.S: New file.
64485         * sysdeps/sparc/crtn.S: New file.
64486         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64487         * sysdeps/sparc/sparc64/Makefile: Likewise.
64489 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64491         [BZ #3335]
64492         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64494 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64496         [BZ #4822]
64497         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64499         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64500         (write, read, close): Likewise.
64501         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64503 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64505         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64506         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64507         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64508         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64509         <bits/signalfd.h>.
64510         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64512         bits/signalfd.h.
64514 2012-02-14  Marek Polacek  <polacek@redhat.com>
64516         * sysdeps/x86_64/crti.S: New file.
64517         * sysdeps/x86_64/crtn.S: New file.
64518         * sysdeps/x86_64/elf/initfini.c: Remove file.
64520 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64522         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64523         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64524         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64525         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64526         <bits/inotify.h>.
64527         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64529         bits/inotify.h.
64531 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64533         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64534         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64535         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64536         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64537         <bits/eventfd.h>.
64538         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64540         bits/eventfd.h.
64542 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64544         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64545         __feraiseexcept instead of feraiseexcept.
64547         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64548         nanosleep invocations.
64549         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64550         strings, and add error checking for a nanosleep invocations.
64552 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64554         Replace FSF snail mail address with URLs, as per GNU coding standards.
64555         Most of the snail mail addresses were wrong anyway, and omitting
64556         them makes the source code easier to maintain.  Almost all of the
64557         changes are to license notices and to locale LC_IDENTIFICATION
64558         addresses, except for this one:
64559         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64560         not its snail mail address.
64562 2012-02-09  Richard Henderson  <rth@twiddle.net>
64564         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64565         of kernel-features.h.
64567         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64569 2012-02-08  Marek Polacek  <polacek@redhat.com>
64571         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64572         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64573         * sysdeps/gnu/_G_config.h: Likewise.
64574         * sysdeps/generic/_G_config.h: Likewise.
64576 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64578         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64579         tests.
64580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64582         * sysdeps/powerpc/powerpc32/crti.S: New file.
64583         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64584         * sysdeps/powerpc/powerpc64/crti.S: New file.
64585         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64587         * Makeconfig (have-initfini): Don't set.
64588         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64589         * configure.in (nopic_initfini): Don't substitute.
64590         * config.h.in (HAVE_INITFINI): Don't #undef.
64591         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64592         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64594 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64596         Support crti.S and crtn.S provided directly by architectures.
64597         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64598         [crti.S in sysdirs] (omit-deps): Likewise.
64599         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64600         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64601         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64602         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64603         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64604         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64605         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64606         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64607         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64608         compiler output for sysdeps/generic/initfini.c.
64609         * sysdeps/i386/elf/Makefile: Remove file.
64610         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64612 2012-02-07  Marek Polacek  <polacek@redhat.com>
64614         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64615         * sysdeps/gnu/_G_config.h: Likewise.
64616         * sysdeps/mach/hurd/_G_config.h: Likewise.
64618 2012-02-07  Marek Polacek  <polacek@redhat.com>
64620         * math/Makefile (tests): Add tst-CMPLX2.
64621         * math/tst-CMPLX2.c: New file.
64623 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64627         * math/libm-test.inc (jn_test): Add missing L suffix.
64629 2012-02-06  Marek Polacek  <polacek@redhat.com>
64631         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64632         * sysdeps/i386/fpu/e_powf.S: Likewise.
64633         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64634         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64635         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64636         * sysdeps/i386/fpu/e_pow.S: Likewise.
64637         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64638         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64639         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64640         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64641         * sysdeps/i386/fpu/e_log2.S: Likewise.
64642         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64643         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64644         * sysdeps/i386/fpu/e_powl.S: Likewise.
64645         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64646         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64647         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64648         * sysdeps/i386/fpu/e_logl.S: Likewise.
64649         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64650         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64651         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64652         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64653         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64654         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64655         * sysdeps/i386/fpu/e_log.S: Likewise.
64656         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64657         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64658         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64659         * sysdeps/i386/fpu/e_logf.S: Likewise.
64660         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64661         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64662         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64663         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64664         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64665         * sysdeps/i386/fpu/e_log10.S: Likewise.
64666         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64667         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64668         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64669         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64670         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64671         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64672         * sysdeps/i386/asm-syntax.h: Likewise.
64673         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64674         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64675         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64676         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64677         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64678         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64679         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64680         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64681         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64682         * sysdeps/powerpc/sysdep.h: Likewise.
64683         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64684         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64686 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64688         [BZ #411]
64689         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64691 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64693         * sysdeps/i386/sysdep.h: Include <features.h>.
64694         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64695         version.
64697 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64699         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64700         Define.
64701         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64702         LOAD_PIC_REG_STR.
64704 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64706         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64707         (SETUP_PIC_REG): Use GET_PC_THUNK.
64708         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64709         macro.
64711 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64713         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64714         for non-PIC compilation.
64715         (SETUP_PIC_REG): Add .p2align directive.
64716         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64717         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64718         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64719         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64720         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64721         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64722         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64723         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64724         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64725         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64726         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64727         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64728         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64729         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64730         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64731         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64732         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64733         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64734         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64735         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64736         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64737         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64738         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64739         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64740         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64742         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64743         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64744         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64745         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64746         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64747         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64748         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64749         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64750         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64751         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64752         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64753         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64754         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64755         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64756         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64758 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64760         * math/tst-CMPLX.c: Include <stdio.h>.
64762 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64764         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64765         float.
64766         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64767         * sysdeps/sparc/bits/mathdef.h: Likewise.
64769 2012-01-31  Marek Polacek  <polacek@redhat.com>
64771         * libio/libio.h: Don't define _PARAMS.
64772         * locale/programs/config.h: Don't define PARAMS.
64773         * stdlib/strtol_l.c: Likewise.
64774         (__strtol_l): Remove PARAMS from the prototype.
64776 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64778         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64779         names.  Just use the correct names.  Remove unnecessary wrapper
64780         functions.
64781         * malloc/arena.c: Likewise.
64782         * malloc/hooks.c: Likewise.
64784         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64785         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64786         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64788 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64790         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64791         into tail calls.
64792         (update_get_addr): New function.
64793         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64794         GET_ADDR_MODULE parameter.
64796 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64798         * crypt/cert.c: Remove __STDC__ conditionals.
64799         * crypt/crypt-entry.c: Likewise.
64800         * crypt/crypt_util.c: Likewise.
64801         * libio/filedoalloc.c: Likewise.
64802         * libio/fileops.c: Likewise.
64803         * libio/genops.c: Likewise.
64804         * libio/iofclose.c: Likewise.
64805         * libio/iofdopen.c: Likewise.
64806         * libio/iofopen.c: Likewise.
64807         * libio/iofopen64.c: Likewise.
64808         * libio/iogetdelim.c: Likewise.
64809         * libio/iopopen.c: Likewise.
64810         * libio/obprintf.c: Likewise.
64811         * libio/oldfileops.c: Likewise.
64812         * libio/oldiofclose.c: Likewise.
64813         * libio/oldiofdopen.c: Likewise.
64814         * libio/oldiofopen.c: Likewise.
64815         * libio/oldiopopen.c: Likewise.
64816         * libio/wfiledoalloc.c: Likewise.
64817         * libio/wgenops.c: Likewise.
64818         * locale/programs/xmalloc.c: Likewise.
64819         * misc/syslog.c: Likewise.
64820         * stdio-common/xbug.c: Likewise.
64821         * string/memchr.c: Likewise.
64822         * string/memcmp.c: Likewise.
64823         * string/memrchr.c: Likewise.
64824         * string/rawmemchr.c: Likewise.
64825         * sysdeps/posix/getcwd.c: Likewise.
64826         * time/strftime_l.c: Likewise.
64828 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64830         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64831         * config.make.in (config-cflags-sse2avx): Define.
64832         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64833         Fix typo.
64835 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64837         * scripts/config.guess: Update from upstream config git repository.
64838         * scripts/config.sub: Likewise.
64840 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64842         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64843         (EM_NUM): Update.
64844         (R_TILEPRO_*, R_TILEGX_*): New macros.
64846         * scripts/firstversions.awk: Fix bug in version range handling.
64848         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64852         * include/sys/epoll.h: New file.
64853         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64854         libc_hidden_def.
64856 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64858         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64859         Avoid unnecessary __WORDSIZE == 64 test.
64860         (fmaxf): Use VEX format if possible.
64861         (fmax): Likewise.
64862         (fminf): Likewise.
64863         (fmin): Likewise.
64865         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64866         * math/math_private.h: Remove libc_fegetround* and
64867         libc_fesetround*.
64868         * sysdeps/i386/configure.in: Check for -msse2avx.
64869         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64870         also if SSE2AVX is defined.
64871         Remove libc_fegetround* and libc_fesetround*.
64872         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64873         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64874         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64875         of HAS_YMM_USABLE.
64876         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64877         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64878         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64880         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64882         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64884 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64886         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64887         size is not set.
64888         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64890 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64892         [BZ #13618]
64893         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64894         relocation.
64895         * Makeconfig (libm): Define.
64896         * elf/Makefile: Add rules to build and run tst-relsort1.
64897         * elf/tst-relsort1.c: New file.
64898         * elf/tst-relsort1mod1.c: New file.
64899         * elf/tst-relsort1mod2.c: New file.
64901 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64903         * math/s_ldexp.c: Remove __STDC__ conditionals.
64904         * math/s_ldexpf.c: Likewise.
64905         * math/s_ldexpl.c: Likewise.
64906         * math/s_nextafter.c: Likewise.
64907         * math/s_nexttowardf.c: Likewise.
64908         * math/s_significand.c: Likewise.
64909         * math/s_significandf.c: Likewise.
64910         * math/s_significandl.c: Likewise.
64911         * math/w_jnl.c: Likewise.
64912         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64913         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64914         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64915         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64916         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64918         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64919         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64920         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64921         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64922         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64923         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64924         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64925         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64926         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64927         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64928         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64929         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64930         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64931         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64932         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64933         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64934         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64935         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64936         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64937         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64938         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64939         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64940         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64941         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64942         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64943         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64944         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64945         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64946         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64947         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64948         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64949         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64950         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64951         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64952         * sysdeps/ieee754/k_standard.c: Likewise.
64953         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64956         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64957         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64958         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64959         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64960         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64961         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64962         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64963         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64964         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64965         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64966         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64967         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64969         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64971         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64972         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64973         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64974         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64975         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64976         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64977         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64978         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64979         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64984         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64985         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64987         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64988         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64989         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64990         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64991         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64992         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64993         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64995         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64996         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64997         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64998         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65000         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65001         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65002         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65003         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65004         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65005         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65006         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65007         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65008         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65009         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65010         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65011         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65012         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65013         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65014         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65015         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65016         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65017         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65018         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65019         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65020         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65021         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65022         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65023         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65024         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65025         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65026         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65027         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65028         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65029         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65030         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65031         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65032         * sysdeps/ieee754/s_matherr.c: Likewise.
65033         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65034         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65038 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65040         * crypt/md5.h: Remove __STDC__ conditionals.
65041         * libio/libioP.h: Likewise.
65042         * locale/programs/config.h: Likewise.
65043         * sysdeps/generic/sysdep.h: Likewise.
65044         * sysdeps/i386/asm-syntax.h: Likewise.
65045         * sysdeps/s390/asm-syntax.h: Likewise.
65046         * sysdeps/unix/sysdep.h: Likewise.
65047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65050 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65052         * libio/libio.h: Remove __STDC__ conditionals.
65053         * malloc/obstack.h: Likewise.
65054         * math/complex.h: Likewise.
65055         * math/math.h: Likewise.
65056         * sysdeps/generic/_G_config.h: Likewise.
65057         * sysdeps/gnu/_G_config.h: Likewise.
65058         * sysdeps/mach/hurd/_G_config.h: Likewise.
65059         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65060         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65061         * sysdeps/sparc/bits/mathdef.h: Likewise.
65063 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65065         [BZ #13583]
65066         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65067         Clean up HAS_* macros.
65068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65069         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65070         possible.
65071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65072         HAS_AVX.
65073         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65074         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65075         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65076         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65077         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65079 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65081         * elf/tst-unique3.cc (gets): Remove declaration.
65082         * elf/tst-unique3lib.cc (gets): Likewise.
65083         * elf/tst-unique3lib2.cc (gets): Likewise.
65084         * elf/tst-unique4.cc (gets): Likewise.
65086 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65088         * include/stdio.h: Add C++ protection.  Add gets declarations and
65089         definitions.
65090         * debug/tst-chk1.c: Don't declare gets here.
65091         * stdio-common/tst-gets.c: Likewise.
65093 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65095         * posix/glob: Remove directory.
65097 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65099         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65101 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65103         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65104         of the non-standard EPFNOSUPPORT.
65106 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65108         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65109         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65110         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65112 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65114         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65116 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65118         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65119         transient errors.
65120         * nscd/grpcache.c (cache_addgr): Likewise.
65121         * nscd/hstcache.c (cache_addhst): Likewise.
65122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65123         * nscd/pwdcache.c (cache_addpw): Likewise.
65124         * nscd/servicescache.c (cache_addserv): Likewise.
65126 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65128         * malloc/malloc.c: Various cleanups.
65129         * malloc/hooks.c: Likewise.
65131         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65132         * stdlib/bug-fmtmsg1.c: New file.
65134         * stdlib/fmtmsg.c (init): Add missing unlock.
65135         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65137 2012-01-12  Marek Polacek  <polacek@redhat.com>
65139         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65140         and _GNU_SOURCE.
65142 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65144         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65145         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65146         macro to ensure uniqueness of label name.
65147         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65148         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65150 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65152         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65154         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65155         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65156         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65159 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65161         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65163         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65164         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65165         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65167         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65169         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65170         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65171         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65174         * math/bits/math-finite.h: Add ldexp support.
65176 2012-01-10  Marek Polacek  <polacek@redhat.com>
65178         * locale/programs/localedef.h (show_archive_content): Add noreturn
65179         attribute.
65181 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65183         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65185 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65187         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65189         * io/Makefile (headers): Add bits/poll2.h.
65191 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65194         typo #include statement.
65196 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65198         * include/sys/cdefs.h: Define __attribute_alloc_size.
65199         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65200         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65201         * elf/pldd.c: Likewise.
65202         * iconv/iconv_charmap.c: Likewise.
65203         * iconv/iconvconfig.c: Likewise.
65204         * iconv/strtab.c: Likewise.
65205         * locale/programs/locale.c: Likewise.
65206         * locale/programs/localedef.h: Likewise.
65207         * locale/programs/simple-hash.c: Likewise.
65208         * nscd/nscd.h: Likewise.
65209         * nss/makedb.c: Likewise.
65210         * sysdeps/generic/ldconfig.h: Likewise.
65211         * locale/programs/localedef.c: Remove xmalloc prototype.
65212         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65214 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65216         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65217         appropriate.
65219 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65221         * math/Makefile (tests): Add tst-CMPLX.
65222         * math/tst-CMPLX.c: New file.
65224         * math/complex.h (CMPLXL): Fix typo.
65226         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65227         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65228         GLIBC_2.16.
65229         * debug/tst-chk1.c: Add poll and ppoll tests.
65230         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65231         * include/sys/poll.h: Add hidden proto for ppoll.
65232         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65233         * sysdeps/mach/hurd/ppoll.c: Likewise.
65234         * io/ppoll.c: Likewise.
65235         * debug/poll_chk.c: New file.
65236         * debug/ppoll_chk.c: New file.
65237         * include/bits/poll2.h: New file.
65238         * io/bits/poll2.h: New file.
65240         [BZ #1350]
65241         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65243         * configure.in: static is always set to yes.  Remove.
65244         * config.make.in: Don't set build-static.
65245         * Makeconfig: Remove use of build-static.
65246         * dlfcn/Makefile: Likewise.
65247         * elf/Makefile: Likewise.
65248         * math/Makefile: Likewise.
65249         * misc/Makefile: Likewise.
65250         * nptl/Makefile: Likewise.
65251         * sysdeps/mach/hurd/Makefile: Likewise.
65253         * configure.in: PWD_P is not used anymore.
65254         * config.make.in: Remove PWD_P entry.
65256         * configure.in: Remove last remnants of RANLIB.
65257         No need to check for signed size_t anymore.
65258         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65259         and IA-64.
65260         Remove __builtin_expect test because we require at least gcc 3.4.
65261         * aclocal.m4: Likewise.
65263         * wcsmbs/mbrtoc16.c: Implement using towc function.
65264         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65265         * wcsmbs/wcsmbsload.c: Likewise.
65266         * iconv/gconv_simple.c: Likewise.
65267         * iconv/gconv_int.h: Likewise.
65268         * iconv/gconv_builtin.h: Likewise.
65269         * iconv/iconv_prog.c: Remove CHAR16 handling.
65271         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65273         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65275         * configure.in: Remove --with-elf and --enable-bounded options.
65276         Dont set base_machine for ia64.  More non-ELF conditions removed.
65277         Remove testing and setting of leading underscore information.
65278         * config.make.in (build-bounded): Set to no.
65279         * config.h.in: Remove NO_UNDERSCORES entry.
65280         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65281         them.
65282         * csu/start.c: Remove !NO_UNDERSCORE code.
65283         * locale/localeinfo.h: Likewise.
65284         * sysdeps/generic/machine-gmon.h: Likewise.
65285         * sysdeps/generic/sysdep.h: Likewise.
65286         * sysdeps/i386/sysdep.h: Likewise.
65287         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65288         * sysdeps/mach/sysdep.h: Likewise.
65289         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65290         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65291         * sysdeps/sh/sysdep.h: Likewise.
65292         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65293         * sysdeps/unix/i386/sysdep.S: Likewise.
65294         * sysdeps/unix/sparc/start.c: Likewise.
65295         * sysdeps/unix/sparc/sysdep.S: Likewise.
65296         * sysdeps/unix/sparc/sysdep.h: Likewise.
65297         * sysdeps/unix/start.c: Likewise.
65298         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65299         * sysdeps/x86_64/sysdep.h: Likewise.
65301 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65303         [BZ #13553]
65304         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65305         for non-gcc.
65306         * argp/argp-fmtstream.h: Use const instead __const.
65307         * argp/argp.h: Likewise.
65308         * assert/assert.h: Likewise.
65309         * bits/fenv.h: Likewise.
65310         * bits/sched.h: Likewise.
65311         * bits/sigset.h: Likewise.
65312         * bits/sigthread.h: Likewise.
65313         * catgets/nl_types.h: Likewise.
65314         * conform/data/pthread.h-data: Likewise.
65315         * crypt/crypt-private.h: Likewise.
65316         * crypt/crypt.h: Likewise.
65317         * crypt/crypt_util.c: Likewise.
65318         * ctype/ctype.h: Likewise.
65319         * debug/execinfo.h: Likewise.
65320         * debug/mbsnrtowcs_chk.c: Likewise.
65321         * debug/mbsrtowcs_chk.c: Likewise.
65322         * debug/wcsnrtombs_chk.c: Likewise.
65323         * debug/wcsrtombs_chk.c: Likewise.
65324         * debug/wcstombs_chk.c: Likewise.
65325         * dirent/dirent.h: Likewise.
65326         * dlfcn/dlfcn.h: Likewise.
65327         * elf/neededtest4.c: Likewise.
65328         * grp/grp.h: Likewise.
65329         * gshadow/gshadow.h: Likewise.
65330         * iconv/gconv.h: Likewise.
65331         * iconv/gconv_int.h: Likewise.
65332         * iconv/gconv_simple.c: Likewise.
65333         * iconv/iconv.h: Likewise.
65334         * iconv/loop.c: Likewise.
65335         * iconv/skeleton.c: Likewise.
65336         * include/aio.h: Likewise.
65337         * include/aliases.h: Likewise.
65338         * include/argz.h: Likewise.
65339         * include/arpa/inet.h: Likewise.
65340         * include/assert.h: Likewise.
65341         * include/dirent.h: Likewise.
65342         * include/dlfcn.h: Likewise.
65343         * include/execinfo.h: Likewise.
65344         * include/fcntl.h: Likewise.
65345         * include/fenv.h: Likewise.
65346         * include/glob.h: Likewise.
65347         * include/grp.h: Likewise.
65348         * include/libintl.h: Likewise.
65349         * include/mntent.h: Likewise.
65350         * include/netdb.h: Likewise.
65351         * include/pwd.h: Likewise.
65352         * include/rpc/netdb.h: Likewise.
65353         * include/sched.h: Likewise.
65354         * include/search.h: Likewise.
65355         * include/shadow.h: Likewise.
65356         * include/signal.h: Likewise.
65357         * include/stdio.h: Likewise.
65358         * include/stdlib.h: Likewise.
65359         * include/string.h: Likewise.
65360         * include/sys/socket.h: Likewise.
65361         * include/sys/stat.h: Likewise.
65362         * include/sys/statfs.h: Likewise.
65363         * include/sys/statvfs.h: Likewise.
65364         * include/sys/syslog.h: Likewise.
65365         * include/sys/time.h: Likewise.
65366         * include/sys/uio.h: Likewise.
65367         * include/time.h: Likewise.
65368         * include/unistd.h: Likewise.
65369         * include/utmp.h: Likewise.
65370         * include/wchar.h: Likewise.
65371         * include/wctype.h: Likewise.
65372         * inet/aliases.h: Likewise.
65373         * inet/arpa/inet.h: Likewise.
65374         * inet/netinet/ether.h: Likewise.
65375         * inet/netinet/in.h: Likewise.
65376         * intl/libintl.h: Likewise.
65377         * io/bits/fcntl2.h: Likewise.
65378         * io/fcntl.h: Likewise.
65379         * io/ftw.h: Likewise.
65380         * io/sys/poll.h: Likewise.
65381         * io/sys/stat.h: Likewise.
65382         * io/sys/statfs.h: Likewise.
65383         * io/sys/statvfs.h: Likewise.
65384         * io/utime.h: Likewise.
65385         * libio/bits/stdio.h: Likewise.
65386         * libio/bits/stdio2.h: Likewise.
65387         * libio/libio.h: Likewise.
65388         * libio/libioP.h: Likewise.
65389         * libio/stdio.h: Likewise.
65390         * locale/lc-ctype.c: Likewise.
65391         * locale/locale.h: Likewise.
65392         * login/utmp.h: Likewise.
65393         * malloc/arena.c: Likewise.
65394         * malloc/malloc.c: Likewise.
65395         * malloc/malloc.h: Likewise.
65396         * malloc/mcheck.c: Likewise.
65397         * malloc/mtrace.c: Likewise.
65398         * math/bits/mathcalls.h: Likewise.
65399         * math/fenv.h: Likewise.
65400         * math/math_private.h: Likewise.
65401         * misc/bits/error.h: Likewise.
65402         * misc/bits/syslog.h: Likewise.
65403         * misc/err.h: Likewise.
65404         * misc/error.h: Likewise.
65405         * misc/fstab.h: Likewise.
65406         * misc/mntent.h: Likewise.
65407         * misc/regexp.h: Likewise.
65408         * misc/search.h: Likewise.
65409         * misc/sgtty.h: Likewise.
65410         * misc/sys/mman.h: Likewise.
65411         * misc/sys/syslog.h: Likewise.
65412         * misc/sys/uio.h: Likewise.
65413         * misc/sys/xattr.h: Likewise.
65414         * misc/ttyent.h: Likewise.
65415         * nis/rpcsvc/ypclnt.h: Likewise.
65416         * nss/nss.h: Likewise.
65417         * posix/bits/unistd.h: Likewise.
65418         * posix/fnmatch.h: Likewise.
65419         * posix/glob.h: Likewise.
65420         * posix/sched.h: Likewise.
65421         * posix/spawn.h: Likewise.
65422         * posix/sys/wait.h: Likewise.
65423         * posix/unistd.h: Likewise.
65424         * posix/wordexp.h: Likewise.
65425         * pwd/pwd.h: Likewise.
65426         * resolv/netdb.h: Likewise.
65427         * resource/sys/resource.h: Likewise.
65428         * rt/aio.h: Likewise.
65429         * rt/bits/mqueue2.h: Likewise.
65430         * rt/mqueue.h: Likewise.
65431         * shadow/shadow.h: Likewise.
65432         * signal/signal.h: Likewise.
65433         * socket/send.c: Likewise.
65434         * socket/sendto.c: Likewise.
65435         * socket/sys/socket.h: Likewise.
65436         * stdio-common/printf.h: Likewise.
65437         * stdlib/bits/stdlib.h: Likewise.
65438         * stdlib/fmtmsg.h: Likewise.
65439         * stdlib/monetary.h: Likewise.
65440         * stdlib/stdlib.h: Likewise.
65441         * stdlib/ucontext.h: Likewise.
65442         * streams/stropts.h: Likewise.
65443         * string/argz.h: Likewise.
65444         * string/bits/string2.h: Likewise.
65445         * string/string.h: Likewise.
65446         * string/strings.h: Likewise.
65447         * sunrpc/rpc/auth.h: Likewise.
65448         * sunrpc/rpc/auth_des.h: Likewise.
65449         * sunrpc/rpc/clnt.h: Likewise.
65450         * sunrpc/rpc/netdb.h: Likewise.
65451         * sunrpc/rpc/pmap_clnt.h: Likewise.
65452         * sunrpc/rpc/xdr.h: Likewise.
65453         * sysdeps/generic/inttypes.h: Likewise.
65454         * sysdeps/generic/net/if.h: Likewise.
65455         * sysdeps/generic/sys/swap.h: Likewise.
65456         * sysdeps/gnu/net/if.h: Likewise.
65457         * sysdeps/gnu/utmpx.h: Likewise.
65458         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65459         * sysdeps/i386/i486/bits/string.h: Likewise.
65460         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65461         * sysdeps/s390/bits/string.h: Likewise.
65462         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65463         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65464         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65465         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65466         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65467         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65468         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65469         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65470         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65471         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65472         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65473         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65474         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65475         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65476         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65477         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65478         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65481         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65483         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65484         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65485         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65486         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65487         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65488         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65490         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65491         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65492         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65493         * sysvipc/sys/ipc.h: Likewise.
65494         * sysvipc/sys/msg.h: Likewise.
65495         * sysvipc/sys/sem.h: Likewise.
65496         * sysvipc/sys/shm.h: Likewise.
65497         * termios/termios.h: Likewise.
65498         * time/sys/time.h: Likewise.
65499         * time/time.h: Likewise.
65500         * wcsmbs/bits/wchar2.h: Likewise.
65501         * wcsmbs/uchar.h: Likewise.
65502         * wcsmbs/wchar.h: Likewise.
65503         * wctype/wctype.h: Likewise.
65505         [BZ #13551]
65506         * Makeconfig: Remove all but ELF support including AIX support.
65507         * Makerules: Likewise.
65508         * config.h.in: Likewise.
65509         * config.make.in: Likewise.
65510         * configure: Likewise.
65511         * configure.in: Likewise.
65512         * csu/Makefile: Likewise.
65513         * csu/version.c: Likewise.
65514         * debug/Makefile: Likewise.
65515         * dlfcn/Makefile: Likewise.
65516         * elf/Makefile: Likewise.
65517         * extra-lib.mk: Likewise.
65518         * iconv/Makefile: Likewise.
65519         * include/libc-symbols.h: Likewise.
65520         * include/shlib-compat.h: Likewise.
65521         * resolv/Makefile: Likewise.
65522         * resolv/res_libc.c: Likewise.
65523         * rt/Makefile: Likewise.
65524         * sysdeps/i386/asm-syntax.h: Likewise.
65525         * sysdeps/i386/sysdep.h: Likewise.
65526         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65527         * sysdeps/mach/sysdep.h: Likewise.
65528         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65529         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65530         * sysdeps/s390/asm-syntax.h: Likewise.
65531         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65532         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65533         * sysdeps/sh/sysdep.h: Likewise.
65534         * sysdeps/unix/sparc/sysdep.h: Likewise.
65535         * sysdeps/wordsize-32/divdi3.c: Likewise.
65536         * sysdeps/x86_64/sysdep.h: Likewise.
65538         * argp/Versions: Remove _argp_unlock_xxx.
65540         [BZ #13559]
65541         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65542         * abilist/libBrokenLocale.abilist: Likewise.
65543         * abilist/libanl.abilist: Likewise.
65544         * abilist/libc.abilist: Likewise.
65545         * abilist/libcrypt.abilist: Likewise.
65546         * abilist/libdl.abilist: Likewise.
65547         * abilist/libm.abilist: Likewise.
65548         * abilist/libnsl.abilist: Likewise.
65549         * abilist/libpthread.abilist: Likewise.
65550         * abilist/libresolv.abilist: Likewise.
65551         * abilist/librt.abilist: Likewise.
65552         * abilist/libthread_db.abilist: Likewise.
65553         * abilist/libutil.abilist: Likewise.
65554         * abilist/libnss_db.abilist: New file.
65556         * scripts/abilist.awk: Add support for indirect functions.
65558         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65560         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65562         * shlib-versions: Remove entries for ports architectures.
65564         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65565         files in ports.
65566         * elf/stackguard-macros.h: Remove support for IA-64.
65567         * elf/tst-auditmod1.c: Likewise.
65568         * sysdeps/generic/ldsodefs.h: Likewise.
65570         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65571         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65572         configure files.
65574         [BZ #13552]
65575         * configure.in: Remove --enable-omitfp support.
65576         * FAQ.in: Adjust.
65577         * config.make.in: Likewise.
65578         * Makeconfig: Likewise.
65579         * manual/install.texi: Likewise.
65581         In case anyone cares, the IA-64 architecture could move to ports.
65582         * sysdeps/ia64/*: Removed.
65583         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65584         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65586         [BZ #13555]
65587         * configure.in: Remove entries for unsupported architectures.
65589         [BZ #13533]
65590         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65591         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65592         routines.
65593         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65594         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65595         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65596         fall back to using wcrtomb.
65597         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65598         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65599         renaming.
65600         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65601         * wcsmbs/tst-c16c32-1.c: New file.
65603         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65604         local variable.
65606         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65608         * elf/tst-unique3.cc: Add explicit declaration of gets.
65609         * elf/tst-unique3lib.cc: Likewise.
65610         * elf/tst-unique3lib2.cc: Likewise.
65611         * elf/tst-unique4.cc: Likewise.
65613         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65615 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65617         [BZ #13566]
65618         * assert/assert.h (static_assert): Don't define for C++.
65619         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65620         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65622 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65624         * iconv/loop.c (single loop): Fix assertion in storing of
65625         remaining bytes.
65627         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65629 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65631         * posix/getconf.c: Update copyright year.
65632         * nss/getent.c: Likewise.
65633         * nss/makedb.c: Likewise.
65634         * iconv/iconvconfig.c: Likewise.
65635         * iconv/iconv_prog.c: Likewise.
65636         * elf/ldconfig.c: Likewise.
65637         * elf/pldd.c: Likewise.
65638         * elf/sotruss.ksh: Likewise.
65639         * catgets/gencat.c: Likewise.
65640         * csu/version.c: Likewise.
65641         * elf/ldd.bash.in: Likewise.
65642         * elf/sprof.c (print_version): Likewise.
65643         * locale/programs/locale.c: Likewise.
65644         * locale/programs/localedef.c: Likewise.
65645         * login/programs/pt_chown.c: Likewise.
65646         * nscd/nscd.c (print_version): Likewise.
65647         * debug/xtrace.sh: Likewise.
65648         * malloc/memusage.sh: Likewise.
65649         * malloc/mtrace.pl: Likewise.
65650         * debug/catchsegv.sh: Likewise.
65652 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65654         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65655         pure attribute.
65657 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65659         [BZ #13533]
65660         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65661         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65662         transformations.
65663         * iconv/gconv_int.h: Likewise.
65664         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65665         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65666         from libc for GLIBC_2.16.
65667         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65668         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65669         * wcsmbs/uchar.h: Really define mbstate_t.
65670         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65671         * wcsmbs/c16rtomb.c: New file.
65672         * wcsmbs/mbrtoc16.c: New file.
65673         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65674         for C/POSIX locale.
65675         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65676         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65678         * wcsmbs/wchar.h: Add missing __restrict.
65680 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65682         [BZ #13532]
65683         * time/Makefile (routines): Add timespec_get.
65684         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65685         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65686         timespec for ISO C11.
65687         * time/timespec_get.c: New file.
65688         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65689         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65691         [BZ #13531]
65692         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65693         * stdlib/stdlib.h: Declare aligned_alloc.
65694         * Versions.def: Add GLIBC_2.16 for libc.
65695         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65697         [BZ 13527]
65698         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65699         ISO C11.
65701         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65702         code.
65704         [BZ #13528]
65705         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65707         [BZ #13529]
65708         * assert/assert.h (static_assert): Define.
65710         * version.h: Update for 2.16 development version.
65712         [BZ #13526]
65713         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65714         _ISOC11_SOURCE.
65716         * version.h (RELEASE): Bump for 2.15 release.
65717         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65719         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65720         Patch by Marek Polacek <mpolacek@redhat.com>.
65722         * bits/byteswap.h: Protect long long constants with __extension__.
65723         * sysdeps/i386/bits/byteswap.h: Likewise.
65724         * sysdeps/ia64/bits/byteswap.h: Likewise.
65725         * sysdeps/s390/bits/byteswap.h: Likewise.
65726         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65728 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65730         [BZ #13540]
65731         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65732         destination buffer.
65733         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65735 2011-12-23  Marek Polacek  <polacek@redhat.com>
65737         * elf/dl-addr.c (determine_info): Add inline keyword.
65738         * elf/tst-auditmod4b.c (check_avx): Likewise.
65739         * elf/tst-auditmod6b.c (check_avx): Likewise.
65740         * elf/tst-auditmod6c.c (check_avx): Likewise.
65741         * elf/tst-auditmod7b.c (check_avx): Likewise.
65743 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65745         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65746         !__SSE_MATH__.
65748 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65750         [BZ #13540]
65751         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65752         processing for last bytes.
65754 2011-08-06  Bruno Haible  <bruno@clisp.org>
65756         [BZ #13061]
65757         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65758         U+0385, not to U+1FEE.
65760         [BZ #13062]
65761         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65762         entry for U+00A5 U+0301.
65764 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65766         [BZ #13166]
65767         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65768         buffer for the output is too small.
65770         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65771         optimization.
65773         [BZ #13185]
65774         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65775         SSE flags if possible.
65777 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65779         [BZ #13540]
65780         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65781         processing for last bytes.
65783 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65785         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65786         (syscall-list-default-options, syscall-list-default-condition)
65787         (syscall-list-includes): Define.
65788         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65789         list of ABIs and options and #if conditions for each ABI.  Do not
65790         handle common syscalls between ABIs specially.
65791         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65792         Remove.
65793         (syscall-list-variants, syscall-list-32bit-options)
65794         (syscall-list-32bit-condition, syscall-list-64bit-options)
65795         (syscall-list-64bit-condition): Define.
65796         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65797         (syscall-list-variants, syscall-list-32bit-options)
65798         (syscall-list-32bit-condition, syscall-list-64bit-options)
65799         (syscall-list-64bit-condition): Define.
65800         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65801         Remove.
65802         (syscall-list-variants, syscall-list-32bit-options)
65803         (syscall-list-32bit-condition, syscall-list-64bit-options)
65804         (syscall-list-64bit-condition): Define.
65805         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65806         Remove.
65807         (syscall-list-variants, syscall-list-32bit-options)
65808         (syscall-list-32bit-condition, syscall-list-64bit-options)
65809         (syscall-list-64bit-condition): Define.
65811 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65813         * locale/iso-639.def: Add brx entry.
65815         [BZ #13328]
65816         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65817         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65819         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65820         __feraiseexcept_renamed.
65822 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65824         [BZ #13538]
65825         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65826         EPOLLET with unsigned values.
65827         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65830         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65831         to large cancellation.
65832         * math/s_cacoshf.c: Likewise.
65833         * math/s_cacoshl.c: Likewise.
65835 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65837         [BZ #13305]
65838         [BZ #12786]
65839         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65840         * math/s_cacoshf.c: Likewise.
65841         * math/s_cacoshl.c: Likewise.
65843 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65845         [BZ #13439]
65846         * iconv/gconv.h: Define __GCONV_SWAP.
65847         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65848         * iconvdata/utf-16.c: Likewise.
65849         * iconvdata/utf-32.c: Likewise.
65851 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65853         [BZ #13524]
65854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65855         numerator after shifting it by one limb.
65857 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65859         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65860         under [__USE_EXTERN_INLINES].
65862 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65864         [BZ #13446]
65865         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65867 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65869         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65870         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65871         optimized code.
65872         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65873         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65874         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65875         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65876         for strncasecmp/strncasecmp_l compilation.
65877         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65878         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65880 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65882         [BZ #13484]
65883         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65884         of __asm__.
65886 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65888         [BZ #13506]
65889         * time/tzfile.c (__tzfile_read): Check values from file header.
65891 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65893         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65894         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65895         * powerpc/powerpc32/dl-start.S: Likewise.
65896         * powerpc/powerpc32/elf/start.S: Likewise.
65897         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65898         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65899         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65900         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65901         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65902         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65903         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65904         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65905         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65906         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65907         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65908         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65909         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65910         * powerpc/powerpc32/memset.S: Likewise.
65911         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65912         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65913         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65914         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65915         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65916         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65917         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65918         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65919         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65920         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65921         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65922         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65923         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65925 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65927         * math/libm-test.inc: Added more nearbyint tests.
65928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65929         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65930         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65931         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65933 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65935         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65936         FD_CLOEXEC.
65938 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65940         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65941         Add wcscpy-ssse3 wcscpy-c.
65942         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65943         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65944         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65945         * sysdeps/x86_64/wcschr.S: New file.
65946         * sysdeps/x86_64/wcsrchr.S: New file.
65947         * string/test-strcmp.c: Remove checking of wcscmp function for
65948         wrong alignments.
65949         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65950         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65951         wcsrchr-sse2 wcsrchr-c.
65952         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65953         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65954         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65955         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65956         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65957         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65958         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65959         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65960         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65961         * wcsmbc/wcschr.c (WCSCHR): New macro.
65963 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65965         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65966         * wcsmbs/test-wcsrchr.c: New file.
65967         * string/test-strrchr.c: Add wcsrchr support.
65968         (WIDE): New macro.
65969         * wcsmbs/test-wcscpy.c: New file.
65970         * string/test-strcpy.c: Add wcscpy support.
65971         (WIDE): New macro.
65973 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65975         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65976         the inner loop.
65978 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65980         [BZ #13472]
65981         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65983 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65985         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65986         Minor optimizations.
65988         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65989         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65990         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65992 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65994         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65995         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65996         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65997         for gcc to avoid warnings.
65998         * inet/Makefile (tests): Add tst-checks.
65999         * inet/tst-checks.c: New file.
66001         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66002         warning.
66004         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66005         __wmemcmp_sse2.
66007         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66008         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66010         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66012 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66014         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66015         problem.
66017         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66019 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66021         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66022         conditional on GCC version.
66023         (__arch_compare_and_exchange_val_8_acq)
66024         (__arch_compare_and_exchange_val_16_acq)
66025         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66026         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66027         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66029 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66031         * sysdeps/sh/backtrace.c: New file.
66033 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66035         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66036         parenthesis.
66038 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66040         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66041         falling back to utime.
66043 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66045         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66046         expectations for float.
66048 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66050         * locale/weight.h (findidx): Add parameter len.
66051         * locale/weightwc.h (findidx): Likewise.
66052         * posix/fnmatch_loop.c (FCT): Adjust caller.
66053         * posix/regcomp.c (build_equiv_class): Likewise.
66054         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66055         * posix/regexec.c (check_node_accept_bytes): Likewise.
66056         * string/strcoll_l.c (STRCOLL): Likewise.
66057         * string/strxfrm_l.c (STRXFRM): Likewise.
66059 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66061         * Makefile.in: Remove CVSOPT handling.
66062         * configure.in: Remove use of AC_REVISION.
66063         * iconvdata/Makefile (distribute): No need to filter out CVS.
66064         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66065         handling.
66067 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66069         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66070         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66071         [USE_AS_STRNCASECMP_L]: Likewise.
66072         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66073         NO_TLS_DIRECT_SEG_REFS.
66074         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66075         Fix argument offsets for non-PIC.
66076         [USE_AS_STRNCASECMP_L]: Likewise.
66077         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66078         NO_TLS_DIRECT_SEG_REFS.
66080 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66082         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66083         O_CLOEXEC.
66084         * locale/loadlocale.c (_nl_load_locale): Likewise.
66086 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66088         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66089         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66090         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66091         (SYSCALL_GETTIME): Set errno on error.
66093         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66094         count references to noai6ai_cached.
66096 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66098         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66100         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66101         FD_CLOEXEC for /proc/self/maps.
66103         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66104         FD_CLOEXEC for /proc/meminfo.
66106         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66107         gai.conf.
66109         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66110         FD_CLOEXEC for given file.
66112         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66114         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66115         FD_CLOEXEC for /etc/hosts.
66116         (_gethtent): Likewise.
66118         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66120         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66121         cancellation and set FD_CLOEXEC for /etc/netgroup.
66123         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66124         reading /etc/publickey.
66126         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66127         allow cancellation when reading /etc/group.
66129         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66130         cancellation.
66131         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66133         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66134         when using data file.
66136         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66138         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66139         (write_nis_obj): Use "c" and "e" in fopen.
66141         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66143         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66145         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66147         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66149         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66150         locale.alias.
66152         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66154         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66156         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66158         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66159         file parsing and set FD_CLOEXEC.
66161 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66163         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66165 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66167         * malloc/arena.c (arena_get2): Don't call reused_arena when
66168         _int_new_arena failed.
66170 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66172         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66173         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66174         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66175         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66178         to compile strcasecmp and strncasecmp.
66179         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66180         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66184 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66186         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66187         locale-defines.sym to gen-as-const-headers.
66188         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66189         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66191         to compile strcasecmp and strncasecmp.
66192         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66193         strcasecmp_l and strncasecmp_l.
66194         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66195         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66196         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66197         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66198         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66199         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66200         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66201         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66202         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66203         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66204         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66206 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66208         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66209         result of SYSDEP_GETTIME_CPU to retval.
66210         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66211         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66213         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66214         variable.
66216         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66217         mantissa words.
66218         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66220         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66221         from unused variable.
66223         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66224         DWARF definitions.
66225         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66226         for assembling.
66228         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66229         over namespaces.
66231         * sunrpc/rpc_prot.c (rejected): Fix case value.
66233         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66234         unsigned long long int to avoid warnings in shift.
66236         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66237         of use of trans.
66238         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66239         variable tmp.
66241         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66242         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66243         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66245         * nis/nis_table.c (nis_list): Use variable of correct type for
66246         result of __follow_path call.
66248 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66250         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66251         of math functions ceil, trunc, floor, round, and sqrt, when
66252         avaliable on the platform.
66253         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66254         name clash.
66255         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66256         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66257         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66259 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66261         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66262         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66264 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66266         * include/unistd.h: Fix __readlink return type.
66267         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66269 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66271         * stdlib/ucontext.h: Undo last change for makecontext.
66273 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66275         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66277         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66278         * setjmp/setjmp.h: Mark functions as non-leaf.
66279         * setjmp/bits/setjmp2.h: Likewise.
66280         * stdlib/ucontext.h: Likewise.
66282 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66284         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66285         (reused_arena): Don't check arena limit.
66286         (arena_get2): Atomically check arena limit.
66288 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66290         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66291         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66294         instructions.
66296 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66298         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66299         handler when locking.
66301         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66302         Fix size of allocated buffer.
66304 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66306         [BZ #10103]
66307         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66308         declarations for long double functions.
66309         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66311         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66313 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66315         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66316         installed.
66318         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66319         is disabled.
66321 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66323         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66325 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66327         * include/alloca.h (stackinfo_alloca_round): Define.
66328         (extend_alloca): Use it.
66329         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66330         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66331         here.
66333         * scripts/check-local-headers.sh: Ignore libaudit.h.
66335         * nscd/Makefile (extra-objs): Make recursively expanded.
66337 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66339         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66342         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66343         * posix/tst-rfc3484-2.c: Likewise.
66344         * posix/tst-rfc3484-3.c: Likewise.
66346         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66347         process_vm_writev.
66348         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66349         process_vm_writev.
66350         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66351         process_vm_writev from libc using GLIBC_2.15 version.
66353         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66355 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66357         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66358         stack usage.
66360 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66362         [BZ #13367]
66363         * nss/getent.c (initgroups_keys): Show error message in case no group
66364         names are given.
66366         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66367         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66368         __bump_nl_timestamp.
66369         * nscd/connections (nscd_init): When host database is served open
66370         netlink socket and request notification about configuration changes.
66371         (main_loop_poll): Track netlink file descriptor and bump timestamp
66372         in case data becomes available.
66373         (main_loop_epoll): Likewise.
66374         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66375         (database_pers_head): Add extra_data fileds.
66376         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66377         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66378         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66379         Adjust caller.
66380         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66381         in6ai data, call __free_in6ai.
66382         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66383         Add -DHAVE_NETLINK.
66384         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66385         interface information.  Reuse previous data if netlink timestamp
66386         is not changed.
66387         (__bump_nl_timestamp): New function.
66388         (__free_in6ai): New function.
66390 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66392         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66393         close_not_cancel_no_status here.
66394         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66396 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66398         [BZ #13276]
66399         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66400         return value.
66402         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66403         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66404         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66406 2011-07-03  Andreas Jaeger  <aj@suse.de>
66408         [BZ #10709]
66409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66410         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66411         * math/libm-test.inc (sin_test): Add test case.
66413 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66415         [BZ #13337]
66416         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66417         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66419         * elf/chroot_canon.c (chroot_canon): Cleanups.
66421         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66423         [BZ #13335]
66424         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66425         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66427         * string/test-strchr.c: Make usable for strchrnul testing.
66428         * string/test-strchrnul.c: New file.
66429         * string/Makefile (strop-tests): Add strchrnul.
66431         * po/it.po: Update from translation team.
66432         * po/es.po: Likewise.
66434 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66436         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66437         the three constants needed as parameters.  Drop the others.
66438         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66439         __m128i_strloadu_tolower.
66440         Create and initialize variable zero and use it in all the places
66441         where _mm_setzero_si128 was used.
66443         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66444         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66445         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66446         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66447         anymore.
66448         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66449         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66450         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66451         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66452         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66453         __mpranred, __mptan.
66454         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66455         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66456         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66457         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66458         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66459         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66461         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66462         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66464 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66466         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66467         redefine if SHARED.
66468         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66471         wide char related routines to wcsmbs subdir.
66473 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66475         [BZ #13344]
66476         * misc/sys/cdefs.h (__THROWNL): Define.
66477         * posix/unistd.h: Use __THREADNL instead of __THREAD
66478         for memory synchronization functions.
66480 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66482         [BZ #13349]
66483         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66484         doesn't exist.
66485         * manual/stdio.texi (Obstack Streams): Node removed.
66487 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66489         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66490         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66491         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66493         * math/math_private.h (math_force_eval): Allow non-addressable
66494         arguments.
66495         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66497 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66499         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66500         file is not needed.
66502         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66504         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66505         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66506         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66507         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66508         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66509         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66510         Add AVX variants.
66511         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66512         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66513         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66514         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66515         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66516         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66517         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66518         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66519         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66520         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66521         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66522         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66523         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66524         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66525         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66526         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66527         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66528         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66529         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66531         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66532         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66534         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66535         place.  Use VEX encoding when compiling for AVX.
66537 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66539         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66540         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66542         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66544 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66546         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66547         useless if() expression.
66548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66550         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66557         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66558         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66559         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66560         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66561         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66562         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66563         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66564         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66565         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66566         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66568         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66570 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66572         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66573         condition.
66574         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66576 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66578         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66579         .text section.  Avoid duplicate constants.
66580         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66582         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66584         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66589         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66590         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66592         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66595         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66597         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66603         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66604         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66605         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66606         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66607         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66608         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66609         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66610         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66611         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66612         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66613         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66614         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66615         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66616         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66617         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66618         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66619         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66620         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66621         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66622         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66623         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66624         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66626 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66628         * sysdeps/x86_64/dla.h: Move to ...
66629         * sysdeps/x86_64/fpu/dla.h: ...here.
66630         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66631         situations.  Use __builtin_fma only for gcc 4.6 and up.
66633         * config.make.in: Add have-mfma4 entry.
66634         * configure.in: Substitute libc_cv_cc_fma4.
66635         * math/Makefile (dbl-only-routines): Add sincostab.
66636         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66637         Use __sincostab not sincos.
66638         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66639         name is a macro.
66640         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66644         using __copysign.
66645         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66646         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66647         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66648         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66649         and __inv.
66650         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66651         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66652         __copysign.
66653         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66654         define aliases when function name is a macro.
66655         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66656         sysdeps/ieee754/dbl-64/sincos.tbl.
66657         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66658         fma4-enabled routines.
66659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66660         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66661         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66662         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66664         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66666         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66667         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66668         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66669         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66670         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66671         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66672         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66673         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66674         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66675         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66676         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66677         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66678         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66679         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66680         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66682         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66683         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66684         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66685         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66686         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66687         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66688         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66690         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66691         rename.
66692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66699         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66701 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66703         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66705 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66707         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66709         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66710         prediction.
66711         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66713         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66714         Remove unused variable magic_bits.
66715         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66717         * string/strnlen.c: Define and use STRNLEN macro.
66718         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66719         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66720         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66721         * wcsmbs/wcslen.c: Define and use WCSLEN.
66722         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66723         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66724         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66725         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66726         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66727         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66728         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66730 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66733         strnlen-sse2-no-bsf.
66734         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66735         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66736         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66737         Add strnlen support.
66738         (USE_AS_STRNLEN): New macro.
66739         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66740         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66741         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66742         * sysdeps/x86_64/wcslen.S: New file.
66744 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66746         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66747         XMM-moves are used for copying on small sizes.
66749 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66751         * wcsmbs/Makefile (strop-tests): Add wcschr.
66752         * wcsmbs/test-wcschr.c: New file.
66753         * string/test-strchr.c: Update.
66754         Add wcschr support.
66755         (WIDE): New macro.
66757 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66759         * wcsmbs/Makefile (strop-tests): Add wcslen.
66760         * wcsmbs/test-wcslen.c: New file.
66761         * string/test-strlen.c: Update.
66762         Add wcslen support.
66763         (WIDE): New macro.
66765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66767         * po/it.po: Update from translation team.
66769 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66771         * sysdeps/x86_64/wcscmp.S: Update.
66772         Fix wrong comparison semantics.
66773         wcscmp shall use signed comparison not unsigned.
66774         Don't use substraction to avoid overflow bug.
66775         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66776         * wcsmbc/wcscmp.c: Likewise.
66777         * string/test-strcmp.c: Likewise.
66778         Add new tests to check cases with negative values.
66780 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66782         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66783         * sysdeps/x86_64/dla.h: ...here.  New file.
66784         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66785         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66789         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66791         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66792         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66794 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66797         __ynl_finite aliases.
66799 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66803         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66804         define DLA_FMA.
66805         [DLA_FMA] (EMULV): Use DLA_FMA.
66806         [DLA_FMA] (MUL12): Use EMULV.
66807         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66808         that are not needed.
66809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66810         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66814         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66815         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66817 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66819         * math/s_nan.c: Undef __nan.
66820         * math/s_nanf.c: Undef __nanf.
66821         * math/s_nanl.c: Undef __nanl.
66822         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66823         "math_private.h".
66825 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66827         * math/s_catan.c: Add branch predictions.
66828         * math/s_catanf.c: Likewise.
66829         * math/s_catanh.c: Likewise.
66830         * math/s_catanhf.c: Likewise.
66831         * math/s_catanhl.c: Likewise.
66832         * math/s_catanl.c: Likewise.
66833         * math/s_cexp.c: Likewise.
66834         * math/s_cexpf.c: Likewise.
66835         * math/s_cexpl.c: Likewise.
66836         * math/s_clog.c: Likewise.
66837         * math/s_clog10.c: Likewise.
66838         * math/s_clog10f.c: Likewise.
66839         * math/s_clog10l.c: Likewise.
66840         * math/s_clogf.c: Likewise.
66841         * math/s_clogl.c: Likewise.
66842         * math/s_csqrt.c: Likewise.
66843         * math/s_csqrtf.c: Likewise.
66844         * math/s_csqrtl.c: Likewise.
66845         * math/s_ctanf.c: Likewise.
66846         * math/s_ctanh.c: Likewise.
66847         * math/s_ctanhf.c: Likewise.
66848         * math/s_ctanhl.c: Likewise.
66849         * math/s_ctanl.c: Likewise.
66851         * math/math_private.h: Define __nan, __nanf, __nanl.
66852         * math/s_cacosh.c: Include <math_private.h>.
66853         * math/s_cacoshl.c: Likewise.
66854         * math/s_casinh.c: Likewise.
66855         * math/s_casinhf.c: Likewise.
66856         * math/s_casinhl.c: Likewise.
66857         * math/s_ccos.c: Rely entire on ccosh.
66858         * math/s_ccosf.c: Rely entire on ccoshf.
66859         * math/s_ccosl.c: Rely entirely on ccoshl.
66860         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66861         Remove tests for FE_INVALID.
66862         * math/s_ccoshf.c: Likewise.
66863         * math/s_ccoshl.c: Likewise.
66864         * math/s_csin.c: Likewise.
66865         * math/s_csinf.c: Likewise.
66866         * math/s_csinh.c Likewise.
66867         * math/s_csinhf.c: Likewise.
66868         * math/s_csinhl.c: Likewise.
66869         * math/s_csinl.c: Likewise.
66870         * math/s_ctan.c: Likewise.
66871         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66872         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66873         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66875 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66878         compilation problems.
66880         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66881         __builtin_expect.
66883 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66885         * sysdeps/i386/configure.in: Test for -mfma4 option.
66886         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66887         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66888         COMMON_CPUID_INDEX_80000001.
66889         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66890         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66891         use it if FMA3 is not supported.
66892         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66894         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66895         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66897 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66899         [BZ #12892]
66900         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66901         it would create a cycle with a link time dependency.
66903 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66905         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66906         instruction.
66907         * string/Makefile (strop-tests): Add rawmemchr.
66908         * string/test-rawmemchr.c: New file.
66910         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66911         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66912         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66913         when compiling str{,n}casecmp and when AVX is available.  Hook up
66914         new optimized code in initializers.
66916 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66918         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66919         __feraiseexcept instead of feraiseexcept.
66921 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66923         * math/math_private.h: Define defaults for libc_fetestexcept and
66924         libc_feupdateenv.
66925         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66926         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66927         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66928         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66929         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66930         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66931         libc_fetestexcept and libc_feupdateenv.
66933         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66934         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66935         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66936         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66937         libc_feholdexcept_setround.
66939         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66940         Add s_nearbyint-c and s_nearbyintf-c.
66941         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66942         nearbyintf inlines.
66943         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66944         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66945         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66946         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66948         * math/math_private.h: Define defaults for libc_fegetround,
66949         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66950         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66951         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66952         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66953         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66954         standard functions.
66955         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66956         Remove comments and hacks for old compiler versions.
66957         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66958         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66959         libc_feholdexceptl.
66961 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66963         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66964         (__feraiseexcept_renamed): Add __NTH.
66965         (feraiseexcept): Add __NTH.  Rename local variables to fix
66966         namespace violations.
66968 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66970         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66972         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66974         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66975         recently added interfaces.
66976         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66978         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66979         about macro parameter expansion.
66981         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66982         __NO_MATH_INLINES is defined.  Cleanups.
66984         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66985         and __floorf is target has SSE4.1.
66986         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66987         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66988         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66989         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66991         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66992         name.
66993         (floorf): Likewise.
66995         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66997 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66999         * misc/sys/cdefs.h: Fix last change.
67001         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67002         database lookup.
67004 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67006         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67008         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67009         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67010         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67011         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67012         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67014         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67015         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67016         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67017         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67018         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67019         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67020         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67021         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67022         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67023         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67024         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67025         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67026         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67027         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67028         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67029         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67031         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67032         ceil, ceilf, floor, floorf.
67034         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67035         Perform IRELATIVE relocations last.
67037         * elf/do-rel.h: Add another parameter nrelative, replacing the
67038         local variable with the same name.  Change name of the function
67039         to end in Rel or Rela (uppercase).
67040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67041         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67042         elf_dynamic_do_##reloc function.
67044 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67046         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67047         is sufficient, at least on modern CPUs.
67049         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67051         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67052         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67054         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67055         __expl_finite.
67056         * math/bits/math-finite.h: Add entries for exp.
67057         * math/e_expl.c: Add __*_finite alias.
67058         * sysdeps/i386/fpu/e_exp.S: Likewise.
67059         * sysdeps/i386/fpu/e_expf.S: Likewise.
67060         * sysdeps/i386/fpu/e_expl.c: Likewise.
67061         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67062         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67063         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67065         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67066         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67067         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67069         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67070         is sufficient, at least on modern CPUs.
67072         * ctype/ctype-info.c (__ctype_init): Define.
67073         * include/ctype.h (__ctype_init): Declare.
67074         (__ctype_b_loc): The variable is always initialized.
67075         (__ctype_toupper_loc): Likewise.
67076         (__ctype_tolower_loc): Likewise.
67077         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67078         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67080 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67082         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67084         * configure.in: Also look in $cxxmachine/include for C++ system
67085         headers.
67087 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67089         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67090         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67091         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67092         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67093         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67094         (USE_AS_WMEMCMP): New macro.
67095         Fixing indents.
67096         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67097         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67098         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67099         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67101         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67102         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67103         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67104         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67105         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67106         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67107         (USE_AS_WMEMCMP): New macro.
67108         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67109         * sysdeps/string/test-memcmp.c: Update.
67110         Fix simple_wmemcmp.
67111         Add new tests.
67112         * wcsmbs/wmemcmp.c: Update.
67113         (WMEMCMP): New macro.
67114         Fix overflow bug.
67116 2011-10-12  Andreas Jaeger  <aj@suse.de>
67118         [BZ #13268]
67119         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67121 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67123         * libio/iofwide.c (do_length): Avoid warning.
67125         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67127 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67129         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67131         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67132         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67133         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67134         * sysdeps/i386/i686/fpu/e_log.S: New file.
67135         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67136         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67138         * ctype/ctype.h: Add support for inlined isXXX functions when
67139         compiling C++ code.
67141 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67143         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67145         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67147 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67149         [BZ #13291]
67150         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67152 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67154         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67155         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67156         feraiseexcept.
67158         * sysdeps/x86_64/memrchr.S: Check for zero size.
67160         * string/stratcliff.c: Add memrchr tests.
67162 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67165         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67166         rawmemchr-sse2 rawmemchr-sse2-bsf.
67167         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67168         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67169         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67170         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67171         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67172         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67173         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67174         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67175         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67176         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67177         * string/memrchr.c (MEMRCHR): New macro.
67179 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67181         Add integration with gcc's -ffinite-math-only and optimize wrapper
67182         functions in libm.
67183         * Versions.def: Define GLIBC_2.15 version for libm.
67184         * math/Makefile (headers): Add bits/math-finite.h.
67185         * math/bits/math-finite.h: New file.
67186         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67187         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67188         * math/e_acoshl.c: Add __*_finite alias.
67189         * math/e_acosl.c: Likewise.
67190         * math/e_asinl.c: Likewise.
67191         * math/e_atan2l.c: Likewise.
67192         * math/e_atanhl.c: Likewise.
67193         * math/e_coshl.c: Likewise.
67194         * math/e_exp10.c: Likewise.
67195         * math/e_exp10f.c: Likewise.
67196         * math/e_exp10l.c: Likewise.
67197         * math/e_exp2l.c: Likewise.
67198         * math/e_fmodl.c: Likewise.
67199         * math/e_gammal_r.c: Likewise.
67200         * math/e_hypotl.c: Likewise.
67201         * math/e_j0l.c: Likewise.
67202         * math/e_j1l.c: Likewise.
67203         * math/e_jnl.c: Likewise.
67204         * math/e_lgammal_r.c: Likewise.
67205         * math/e_log10l.c: Likewise.
67206         * math/e_log2l.c: Likewise.
67207         * math/e_logl.c: Likewise.
67208         * math/e_powl.c: Likewise.
67209         * math/e_sinhl.c: Likewise.
67210         * math/e_sqrtl.c: Likewise.
67211         * math/e_scalb.c: Completely rewritten and optimized.
67212         * math/e_scalbf.c: Likewise.
67213         * math/e_scalbl.c: Likewise.
67214         * math/w_acos.c: Likewise.
67215         * math/w_acosf.c: Likewise.
67216         * math/w_acosl.c: Likewise.
67217         * math/w_acosh.c: Likewise.
67218         * math/w_acoshf.c: Likewise.
67219         * math/w_acoshl.c: Likewise.
67220         * math/w_asin.c: Likewise.
67221         * math/w_asinf.c: Likewise.
67222         * math/w_asinl.c: Likewise.
67223         * math/w_atan2.c: Likewise.
67224         * math/w_atan2f.c: Likewise.
67225         * math/w_atan2l.c: Likewise.
67226         * math/w_atanh.c: Likewise.
67227         * math/w_atanhf.c: Likewise.
67228         * math/w_atanhl.c: Likewise.
67229         * math/w_exp10.c: Likewise.
67230         * math/w_exp10f.c: Likewise.
67231         * math/w_exp10l.c: Likewise.
67232         * math/w_fmod.c: Likewise.
67233         * math/w_fmodf.c: Likewise.
67234         * math/w_fmodl.c: Likewise.
67235         * math/w_j0.c: Likewise.
67236         * math/w_j0f.c: Likewise.
67237         * math/w_j0l.c: Likewise.
67238         * math/w_j1.c: Likewise.
67239         * math/w_j1f.c: Likewise.
67240         * math/w_j1l.c: Likewise.
67241         * math/w_jn.c: Likewise.
67242         * math/w_jnf.c: Likewise.
67243         * math/w_log.c: Likewise.
67244         * math/w_logf.c: Likewise.
67245         * math/w_logl.c: Likewise.
67246         * math/w_log10.c: Likewise.
67247         * math/w_log10f.c: Likewise.
67248         * math/w_log10l.c: Likewise.
67249         * math/w_log2.c: Likewise.
67250         * math/w_log2f.c: Likewise.
67251         * math/w_log2l.c: Likewise.
67252         * math/w_pow.c: Likewise.
67253         * math/w_powf.c: Likewise.
67254         * math/w_powl.c: Likewise.
67255         * math/w_remainder.c: Likewise.
67256         * math/w_remainderf.c: Likewise.
67257         * math/w_remainderl.c: Likewise.
67258         * math/w_scalb.c: Likewise.
67259         * math/w_scalbf.c: Likewise.
67260         * math/w_scalbl.c: Likewise.
67261         * math/w_sqrt.c: Likewise.
67262         * math/w_sqrtf.c: Likewise.
67263         * math/w_sqrtl.c: Likewise.
67264         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67265         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67266         used.
67267         * math/math_private.h: Declare __kernel_standard_f.
67268         * math/w_cosh.c: Remove cruft and optimize a bit.
67269         * math/w_coshf.c: Likewise.
67270         * math/w_coshl.c: Likewise.
67271         * math/w_exp2.c: Likewise.
67272         * math/w_exp2f.c: Likewise.
67273         * math/w_exp2l.c: Likewise.
67274         * math/w_hypot.c: Likewise.
67275         * math/w_hypotf.c: Likewise.
67276         * math/w_hypotl.c: Likewise.
67277         * math/w_lgamma.c: Likewise.
67278         * math/w_lgamma_r.c: Likewise.
67279         * math/w_lgammaf.c: Likewise.
67280         * math/w_lgammaf_r.c: Likewise.
67281         * math/w_lgammal.c: Likewise.
67282         * math/w_lgammal_r.c: Likewise.
67283         * math/w_sinh.c: Likewise.
67284         * math/w_sinhf.c: Likewise.
67285         * math/w_sinhl.c: Likewise.
67286         * math/w_tgamma.c: Likewise.
67287         * math/w_tgammaf.c: Likewise.
67288         * math/w_tgammal.c: Likewise.
67289         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67290         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67291         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67292         Minor optimizations.  Pretty printing.  Remove cruft.
67293         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67294         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67295         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67296         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67297         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67298         * sysdeps/i386/fpu/e_asin.S: Likewise.
67299         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67300         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67301         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67302         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67303         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67304         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67305         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67306         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67307         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67308         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67309         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67310         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67311         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67312         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67313         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67314         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67315         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67316         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67317         * sysdeps/i386/fpu/e_log.S: Likewise.
67318         * sysdeps/i386/fpu/e_log10.S: Likewise.
67319         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67320         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67321         * sysdeps/i386/fpu/e_log2.S: Likewise.
67322         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67323         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67324         * sysdeps/i386/fpu/e_logf.S: Likewise.
67325         * sysdeps/i386/fpu/e_logl.S: Likewise.
67326         * sysdeps/i386/fpu/e_pow.S: Likewise.
67327         * sysdeps/i386/fpu/e_powf.S: Likewise.
67328         * sysdeps/i386/fpu/e_powl.S: Likewise.
67329         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67330         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67331         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67332         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67334         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67335         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67336         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67337         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67338         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67339         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67341         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67342         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67343         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67344         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67345         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67347         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67348         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67349         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67351         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67352         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67355         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67356         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67357         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67358         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67359         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67360         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67361         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67362         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67363         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67364         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67365         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67366         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67367         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67369         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67370         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67372         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67373         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67374         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67375         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67376         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67377         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67378         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67379         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67380         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67381         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67382         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67383         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67384         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67385         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67386         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67387         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67388         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67389         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67391         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67393         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67394         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67395         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67396         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67397         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67398         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67399         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67400         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67402         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67403         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67404         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67406         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67408         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67409         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67410         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67412         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67415         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67416         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67417         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67418         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67419         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67420         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67421         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67422         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67423         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67424         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67425         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67426         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67427         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67428         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67429         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67430         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67431         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67432         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67433         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67434         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67435         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67436         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67437         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67438         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67439         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67440         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67441         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67442         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67443         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67444         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67445         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67446         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67447         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67448         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67449         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67450         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67451         (__isnanf): Likewise.
67452         (__isinf_ns): Likewise.
67453         (__isinf_nsf): Likewise.
67454         (__finite): Likewise.
67455         (__finitef): Likewise.
67456         (__ieee754_sqrt): Define as macro.
67457         (__ieee754_sqrtf): Define as macro.
67458         (__ieee754_sqrtl): Define as macro.
67459         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67460         inlined copy.
67461         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67462         __FINITE_MATH_ONLY__ consistent.
67463         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67465 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67467         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67468         of rawmemchr.
67470         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67472 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67474         * po/ja.po: Update from translation team.
67476 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67478         * locale/programs/locarchive.c (prepare_address_space): New function.
67479         (create_archive, enlarge_archive, open_archive): Use it.
67481         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67482         inside [SHARED], where it is used.
67484         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67486         * nss/getent.c (netgroup_keys): Remove unused variable.
67487         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67489 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67491         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67492         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67494         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67495         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67496         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67497         * math/Makefile (libm-calls): Add s_isinf_ns.
67498         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67499         * math/multc3.c: Likewise.
67500         * math/s_casin.c: Likewise.
67501         * math/s_casinf.c: Likewise.
67502         * math/s_casinl.c: Likewise.
67503         * math/s_ccos.c: Likewise.
67504         * math/s_ccosf.c: Likewise.
67505         * math/s_ccosl.c: Likewise.
67506         * math/s_ctan.c: Likewise.
67507         * math/s_ctanf.c: Likewise.
67508         * math/s_ctanh.c: Likewise.
67509         * math/s_ctanhf.c: Likewise.
67510         * math/s_ctanhl.c: Likewise.
67511         * math/s_ctanl.c: Likewise.
67512         * math/w_fmod.c: Likewise.
67513         * math/w_fmodf.c: Likewise.
67514         * math/w_fmodl.c: Likewise.
67515         * math/w_remainder.c: Likewise.
67516         * math/w_remainderf.c: Likewise.
67517         * math/w_remainderl.c: Likewise.
67518         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67519         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67520         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67522         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67523         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67524         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67525         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67527         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67528         of the number.
67529         * stdio-common/printf_fphex.c: Likewise.
67530         * stdio-common/printf_size.c: Likewise.
67532         * math/e_exp10.c: Include math_private.h using <...> not "...".
67533         * math/e_exp10f.c: Likewise.
67534         * math/e_exp10l.c: Likewise.
67535         * math/e_exp2l.c: Likewise.
67536         * math/e_j0l.c: Likewise.
67537         * math/e_j1l.c: Likewise.
67538         * math/e_jnl.c: Likewise.
67539         * math/e_lgammal_r.c: Likewise.
67540         * math/e_rem_pio2l.c: Likewise.
67541         * math/e_scalb.c: Likewise.
67542         * math/e_scalbf.c: Likewise.
67543         * math/e_scalbl.c: Likewise.
67544         * math/k_cosl.c: Likewise.
67545         * math/k_sinl.c: Likewise.
67546         * math/k_tanl.c: Likewise.
67547         * math/s_cacoshf.c: Likewise.
67548         * math/s_catan.c: Likewise.
67549         * math/s_catanf.c: Likewise.
67550         * math/s_catanh.c: Likewise.
67551         * math/s_catanhf.c: Likewise.
67552         * math/s_catanhl.c: Likewise.
67553         * math/s_catanl.c: Likewise.
67554         * math/s_ccosh.c: Likewise.
67555         * math/s_ccoshf.c: Likewise.
67556         * math/s_ccoshl.c: Likewise.
67557         * math/s_cexp.c: Likewise.
67558         * math/s_cexpf.c: Likewise.
67559         * math/s_cexpl.c: Likewise.
67560         * math/s_clog.c: Likewise.
67561         * math/s_clog10.c: Likewise.
67562         * math/s_clog10f.c: Likewise.
67563         * math/s_clog10l.c: Likewise.
67564         * math/s_clogf.c: Likewise.
67565         * math/s_clogl.c: Likewise.
67566         * math/s_csin.c: Likewise.
67567         * math/s_csinf.c: Likewise.
67568         * math/s_csinh.c: Likewise.
67569         * math/s_csinhf.c: Likewise.
67570         * math/s_csinhl.c: Likewise.
67571         * math/s_csinl.c: Likewise.
67572         * math/s_csqrt.c: Likewise.
67573         * math/s_csqrtf.c: Likewise.
67574         * math/s_csqrtl.c: Likewise.
67575         * math/s_ctan.c: Likewise.
67576         * math/s_ctanf.c: Likewise.
67577         * math/s_ctanh.c: Likewise.
67578         * math/s_ctanhf.c: Likewise.
67579         * math/s_ctanhl.c: Likewise.
67580         * math/s_ctanl.c: Likewise.
67581         * math/s_ldexp.c: Likewise.
67582         * math/s_ldexpf.c: Likewise.
67583         * math/s_ldexpl.c: Likewise.
67584         * math/s_significand.c: Likewise.
67585         * math/s_significandf.c: Likewise.
67586         * math/s_significandl.c: Likewise.
67587         * math/w_acos.c: Likewise.
67588         * math/w_acosf.c: Likewise.
67589         * math/w_acosh.c: Likewise.
67590         * math/w_acoshf.c: Likewise.
67591         * math/w_acoshl.c: Likewise.
67592         * math/w_acosl.c: Likewise.
67593         * math/w_asin.c: Likewise.
67594         * math/w_asinf.c: Likewise.
67595         * math/w_asinl.c: Likewise.
67596         * math/w_atan2.c: Likewise.
67597         * math/w_atan2f.c: Likewise.
67598         * math/w_atan2l.c: Likewise.
67599         * math/w_atanh.c: Likewise.
67600         * math/w_atanhf.c: Likewise.
67601         * math/w_atanhl.c: Likewise.
67602         * math/w_cosh.c: Likewise.
67603         * math/w_coshf.c: Likewise.
67604         * math/w_coshl.c: Likewise.
67605         * math/w_dremf.c: Likewise.
67606         * math/w_exp10.c: Likewise.
67607         * math/w_exp10f.c: Likewise.
67608         * math/w_exp10l.c: Likewise.
67609         * math/w_exp2.c: Likewise.
67610         * math/w_exp2f.c: Likewise.
67611         * math/w_fmod.c: Likewise.
67612         * math/w_fmodf.c: Likewise.
67613         * math/w_fmodl.c: Likewise.
67614         * math/w_hypot.c: Likewise.
67615         * math/w_hypotf.c: Likewise.
67616         * math/w_hypotl.c: Likewise.
67617         * math/w_j0.c: Likewise.
67618         * math/w_j0f.c: Likewise.
67619         * math/w_j0l.c: Likewise.
67620         * math/w_j1.c: Likewise.
67621         * math/w_j1f.c: Likewise.
67622         * math/w_j1l.c: Likewise.
67623         * math/w_jn.c: Likewise.
67624         * math/w_jnf.c: Likewise.
67625         * math/w_jnl.c: Likewise.
67626         * math/w_lgamma.c: Likewise.
67627         * math/w_lgamma_r.c: Likewise.
67628         * math/w_lgammaf.c: Likewise.
67629         * math/w_lgammaf_r.c: Likewise.
67630         * math/w_lgammal.c: Likewise.
67631         * math/w_lgammal_r.c: Likewise.
67632         * math/w_log.c: Likewise.
67633         * math/w_log10.c: Likewise.
67634         * math/w_log10f.c: Likewise.
67635         * math/w_log10l.c: Likewise.
67636         * math/w_log2.c: Likewise.
67637         * math/w_log2f.c: Likewise.
67638         * math/w_log2l.c: Likewise.
67639         * math/w_logf.c: Likewise.
67640         * math/w_logl.c: Likewise.
67641         * math/w_pow.c: Likewise.
67642         * math/w_powf.c: Likewise.
67643         * math/w_powl.c: Likewise.
67644         * math/w_remainder.c: Likewise.
67645         * math/w_remainderf.c: Likewise.
67646         * math/w_remainderl.c: Likewise.
67647         * math/w_scalb.c: Likewise.
67648         * math/w_scalbf.c: Likewise.
67649         * math/w_scalbl.c: Likewise.
67650         * math/w_sinh.c: Likewise.
67651         * math/w_sinhf.c: Likewise.
67652         * math/w_sinhl.c: Likewise.
67653         * math/w_sqrt.c: Likewise.
67654         * math/w_sqrtf.c: Likewise.
67655         * math/w_sqrtl.c: Likewise.
67656         * math/w_tgamma.c: Likewise.
67657         * math/w_tgammaf.c: Likewise.
67658         * math/w_tgammal.c: Likewise.
67660         * po/ja.po: Update from translation team.
67662 2011-09-29  Andreas Jaeger  <aj@suse.de>
67664         [BZ #13179]
67665         * sunrpc/netname.c (netname2host): Fix logic.
67667         [BZ #6779]
67668         [BZ #6783]
67669         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67670         correctly.
67671         * math/w_remainder.c (__remainder): Likewise.
67672         * math/w_remainderf.c (__remainderf): Likewise.
67673         * math/libm-test.inc (remainder_test): Add test cases.
67675 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67677         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67678         sdiv_qrnnd.
67680 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67682         * string/test-memcmp.c: Avoid unncessary #defines.
67683         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67685 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67687         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67688         Use new sse2 version for core i3 - i7 as it's faster
67689         than sse42 version.
67690         (bit_Prefer_PMINUB_for_stringop): New.
67691         * sysdeps/x86_64/rawmemchr.S: Update.
67692         Replace with faster SSE2 version.
67693         * sysdeps/x86_64/memrchr.S: New file.
67694         * sysdeps/x86_64/memchr.S: Update.
67695         Replace with faster SSE2 version.
67697 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67699         * elf/dl-load.c (lose): Add cast to avoid warning.
67701 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67703         * po/ca.po: Update from translation team.
67705         * inet/getnetgrent_r.c: Hook up nscd.
67706         * nscd/Makefile (routines): Add nscd_netgroup.
67707         (nscd-modules): Add netgroupcache.
67708         (CFLAGS-netgroupcache.c): Define.
67709         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67710         (cache_search): Add const to second parameter.
67711         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67712         INNETGR.
67713         (dbs): Add netgrdb entry.
67714         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67715         (verify_persistent_db): Handle netgrdb.
67716         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67717         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67718         GETFDNETGR.
67719         (netgroup_response_header): Define.
67720         (innetgroup_response_header): Define.
67721         (datahead): Add netgroup_response_header and innetgroup_response_header
67722         elements.
67723         * nscd/nscd.conf: Add entries for netgroup cache.
67724         * nscd/nscd.h (dbtype): Add netgrdb.
67725         (_PATH_NSCD_NETGROUP_DB): Define.
67726         (netgroup_iov_disabled): Declare.
67727         (xmalloc, xcalloc, xrealloc): Move declarations here.
67728         (cache_search): Adjust prototype.
67729         Add netgroup-related prototypes.
67730         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67731         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67732         (__nscd_innetgr): Declare.
67733         * nscd/selinux.c (perms): Use access_vector_t as element type and
67734         add netgroup-related initializers.
67735         * nscd/netgroupcache.c: New file.
67736         * nscd/nscd_netgroup.c: New file.
67737         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67738         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67739         For four parameters use innetgr.
67740         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67741         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67742         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67743         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67745         * nscd/connections.c (register_traced_file): Don't register file
67746         for disabled databases.
67748 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67750         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67752         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67753         from tree and freeing node.
67755 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67757         * nss/nsswitch.c (__nss_database_lookup): Handle
67758         nss_parse_service_list out of memory case.
67760 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67762         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67763         out of memory case.
67765 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67767         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67768         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67769         pass it down.
67770         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67771         elf_machine_rela, elf_machine_lazy_rel.
67772         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67773         (ELF_DYNAMIC_DO_REL): Likewise.
67774         (ELF_DYNAMIC_DO_RELA): Likewise.
67775         (ELF_DYNAMIC_RELOCATE): Likewise.
67776         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67777         to ELF_DYNAMIC_DO_REL.
67778         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67779         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67780         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67781         elf_machine_rela.
67782         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67783         skip_ifunc, don't call ifunc function if non-zero.
67784         (elf_machine_rela): Likewise.
67785         (elf_machine_lazy_rel): Likewise.
67786         (elf_machine_lazy_rela): Likewise.
67787         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67788         (elf_machine_lazy_rel): Likewise.
67789         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67790         Likewise.
67791         (elf_machine_lazy_rel): Likewise.
67792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67793         Likewise.
67794         (elf_machine_lazy_rel): Likewise.
67795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67796         (elf_machine_lazy_rel): Likewise.
67797         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67798         (elf_machine_lazy_rel): Likewise.
67799         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67800         (elf_machine_lazy_rel): Likewise.
67801         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67802         (elf_machine_lazy_rel): Likewise.
67803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67804         (elf_machine_lazy_rel): Likewise.
67805         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67806         (elf_machine_lazy_rel): Likewise.
67808 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67810         * nss/nss_files/files-init.c (_nss_files_init): Use static
67811         initialization for all the *_traced_file variables.
67813 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67815         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67817 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67819         [BZ #13226]
67820         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67822 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67824         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67825         Reread the line before reparsing it.
67827 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67829         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67831 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67832             Maxim Kuvyrkov  <maxim@codesourcery.com>
67833             Joseph Myers  <joseph@codesourcery.com>
67835         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67836         if needed for __stack_chk_guard.
67838 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67840         * sysdeps/posix/spawni.c (script_execute): Always define it.
67841         It will be optimized away if unused.
67842         (maybe_script_execute): New function.
67843         (__spawni): Call it.
67845         * Makerules: Don't include tls.make.
67846         (config-tls): Always set to thread.
67847         * tls.make.c: File removed.
67849 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67851         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67852         * config.make.in (CPPFLAGS-config): New substituted variable.
67854 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67856         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67858         [BZ #13192]
67859         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67860         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67862 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67864         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67865         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67866         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67867         (CALL_FAIL): Likewise.
67868         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67869         (CALL_FAIL): Macro removed.
67870         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67872 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67874         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67875         for __FINITE_MATH_ONLY__ == 1.
67877 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67879         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67880         __ieee754_sqrt instead of sqrt.
67881         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67882         __ieee754_sqrtf instead of sqrtf.
67883         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67884         __floorf instead of floorf.
67885         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67886         __floorf, __truncf instead of floorf, truncf.
67888 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67890         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67892         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67893         __extern_always_inline.
67894         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67895         32-bit.
67897 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67899         * elf/rtld.c (dl_main): Also relocate in dependency order when
67900         doing symbol dependency testing.
67902 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67905         Always define `refsym'.
67907 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67909         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67910         (__FD_ELT): Renamed from __FDELT.
67911         * misc/bits/select2.h (__FD_ELT): Likewise.
67912         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67913         __FD_MASK instead of __FDELT, __FDMASK.
67914         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67915         Likewise.
67916         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67917         Likewise.
67919         * elf/Makefile (gen-ldd): Fix pattern.
67921         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67922         (init_tls): Likewise.
67924 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67926         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67928 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67930         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67931         `struct cmsghdr *' instead of `void *'.
67932         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67933         Likewise.
67935 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67937         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67938         if non-absolute.
67939         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67940         ldd_rewrite_script.
67942 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67944         * configure.in: Remove --with-tls option.
67945         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67946         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67947         out in case it is missing.
67948         * sysdeps/ia64/elf/configure.in: Likewise.
67949         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67950         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67951         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67952         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67953         * sysdeps/sh/elf/configure.in: Likewise.
67954         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67955         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67956         * sysdeps/x86_64/elf/configure.in: Likewise.
67957         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67958         * sysdeps/mach/hurd/tls.h: Likewise.
67960         [BZ #13067]
67961         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67963         [BZ #13090]
67964         * configure.in: Fix use of AC_INIT.
67966         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67968 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67970         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67971         __set_errno.
67972         * malloc/hooks.c: Likewise.
67974         [BZ #11929]
67975         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67976         variables statically.
67977         (narenas): Initialize.
67978         (list_lock): Initialize.
67979         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67980         initializtion of main_arena and list_lock.  Small cleanups.
67981         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67982         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67983         Add initializers to main_arena and mp_.
67984         (malloc_state): Remove pagesize member.  Change all users to use
67985         GLRO(dl_pagesize).
67987         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67988         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67989         is always initialized.
67991         * malloc/malloc.c: Removed unused configurations and dead code.
67992         * malloc/arena.c: Likewise.
67993         * malloc/hooks.c: Likewise.
67994         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67996         * include/tls.h: Removed.  USE___THREAD must always be defined.
67997         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67998         * elf/dl-libc.c: Likewise.
67999         * elf/dl-tsd.c: Likewise.
68000         * include/errno.h: Likewise.
68001         * include/netdb.h: Likewise.
68002         * include/resolv.h: Likewise.
68003         * inet/herrno-loc.c: Likewise.
68004         * inet/herrno.c: Likewise.
68005         * malloc/arena.c: Likewise.
68006         * malloc/hooks.c: Likewise.
68007         * malloc/malloc.c: Likewise.
68008         * resolv/res-state.c: Likewise.
68009         * resolv/res_libc.c: Likewise.
68010         * sysdeps/i386/dl-machine.h: Likewise.
68011         * sysdeps/ia64/dl-machine.h: Likewise.
68012         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68013         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68014         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68015         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68016         * sysdeps/sh/dl-machine.h: Likewise.
68017         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68018         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68019         * sysdeps/unix/i386/sysdep.S: Likewise.
68020         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68021         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68022         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68024         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68026         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68030         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68031         * sysdeps/x86_64/dl-machine.h: Likewise.
68032         * tls.make.c: Likewise.
68034         * configure.in: Remove --with-__thread option.  Make tests for
68035         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68036         tls_model attribute fail if no support is available.  Remove
68037         USE_IN_LIBIO.
68038         * Makeconfig: Adjust for dropped configure option.  All features are
68039         now mandatory.
68040         * Makerules: Likewise.
68041         * Versions.def: Likewise.
68042         * argp/argp-fmtstream.c: Likewise.
68043         * argp/argp-fmtstream.h: Likewise.
68044         * argp/argp-help.c: Likewise.
68045         * assert/assert.c: Likewise.
68046         * config.h.in: Likewise.
68047         * config.make.in: Likewise.
68048         * configure: Likewise.
68049         * configure.in: Likewise.
68050         * csu/Versions: Likewise.
68051         * csu/init.c: Likewise.
68052         * elf/tst-audit2.c: Likewise.
68053         * elf/tst-tls10.c: Likewise.
68054         * elf/tst-tls10.h: Likewise.
68055         * elf/tst-tls11.c: Likewise.
68056         * elf/tst-tls12.c: Likewise.
68057         * elf/tst-tls14.c: Likewise.
68058         * elf/tst-tlsmod11.c: Likewise.
68059         * elf/tst-tlsmod12.c: Likewise.
68060         * elf/tst-tlsmod13.c: Likewise.
68061         * elf/tst-tlsmod13a.c: Likewise.
68062         * elf/tst-tlsmod14a.c: Likewise.
68063         * elf/tst-tlsmod15b.c: Likewise.
68064         * elf/tst-tlsmod16a.c: Likewise.
68065         * elf/tst-tlsmod16b.c: Likewise.
68066         * elf/tst-tlsmod7.c: Likewise.
68067         * elf/tst-tlsmod8.c: Likewise.
68068         * elf/tst-tlsmod9.c: Likewise.
68069         * gmon/gmon.c: Likewise.
68070         * grp/fgetgrent_r.c: Likewise.
68071         * grp/putgrent.c: Likewise.
68072         * hurd/fopenport.c: Likewise.
68073         * include/libc-symbols.h: Likewise.
68074         * include/tls.h: Likewise.
68075         * intl/gettextP.h: Likewise.
68076         * intl/loadinfo.h: Likewise.
68077         * locale/global-locale.c: Likewise.
68078         * locale/localeinfo.h: Likewise.
68079         * mach/devstream.c: Likewise.
68080         * malloc/arena.c: Likewise.
68081         * malloc/set-freeres.c: Likewise.
68082         * misc/err.c: Likewise.
68083         * misc/getttyent.c: Likewise.
68084         * misc/mntent_r.c: Likewise.
68085         * posix/getopt.c: Likewise.
68086         * posix/wordexp.c: Likewise.
68087         * pwd/fgetpwent_r.c: Likewise.
68088         * resolv/Versions: Likewise.
68089         * resolv/res_hconf.c: Likewise.
68090         * shadow/fgetspent_r.c: Likewise.
68091         * shadow/putspent.c: Likewise.
68092         * stdio-common/printf_fphex.c: Likewise.
68093         * stdio-common/tmpfile.c: Likewise.
68094         * stdlib/abort.c: Likewise.
68095         * stdlib/fmtmsg.c: Likewise.
68096         * sunrpc/auth_unix.c: Likewise.
68097         * sunrpc/clnt_perr.c: Likewise.
68098         * sunrpc/clnt_tcp.c: Likewise.
68099         * sunrpc/clnt_udp.c: Likewise.
68100         * sunrpc/clnt_unix.c: Likewise.
68101         * sunrpc/openchild.c: Likewise.
68102         * sunrpc/svc_simple.c: Likewise.
68103         * sunrpc/svc_tcp.c: Likewise.
68104         * sunrpc/svc_udp.c: Likewise.
68105         * sunrpc/svc_unix.c: Likewise.
68106         * sunrpc/xdr.c: Likewise.
68107         * sunrpc/xdr_array.c: Likewise.
68108         * sunrpc/xdr_rec.c: Likewise.
68109         * sunrpc/xdr_ref.c: Likewise.
68110         * sunrpc/xdr_stdio.c: Likewise.
68112 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68114         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68116 2011-07-03  Andreas Jaeger  <aj@suse.de>
68118         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68119         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68120         regenerate with gen-libm-tests.pl.
68122 2010-05-12  Petr Baudis  <pasky@suse.cz>
68124         [BZ #11589]
68125         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68126         around j0() zero points by switching to j1().
68127         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68132 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68134         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68135         instead of 0.
68136         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68137         instead of 0.
68138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68139         Patch in part by Pavel Roskin <proski@gnu.org>.
68141         [BZ #13138]
68142         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68143         realloc.
68144         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68145         Free memory block if necessary.
68147         [BZ #12847]
68148         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68149         be NULL.  Don't lock in this case.
68151 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68153         * elf/elf.h (ELFOSABI_GNU): New macro.
68154         (ELFOSABI_LINUX): Define to that.
68156 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68158         * string/strncat.c (strncat): Undef the symbol in case it has been
68159         defined in bits/string.h.
68161 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68163         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68165         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68166         link map.
68168 2011-08-17  Andreas Jaeger  <aj@suse.de>
68170         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68172 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68173             Ian Lance Taylor  <iant@google.com>
68175         * math/libm-test.inc (lround_test): New testcase.
68176         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68178 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68180         * Makefile: Remove support for automatic cvs check-ins.
68181         * Makerules: Likewise.
68182         * config.make.in: Likewise.
68183         * configure.in: Likewise.
68184         * intl/Makefile: Likewise.
68185         * locale/Makefile: Likewise.
68186         * po/Makefile: Likewise.
68187         * posix/Makefile: Likewise.
68188         * sysdeps/gnu/Makefile: Likewise.
68189         * sysdeps/mach/hurd/Makefile: Likewise.
68190         * sysdeps/sparc/sparc32/Makefile: Likewise.
68192         [BZ #13118]
68193         * posix/Makefile (bug-regex32-ENV): Define.
68194         Patch by John Stanley <jpsinthemix@verizon.net>.
68196         * misc/Makefile (headers): Add bits/select2.h.
68197         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68198         * misc/bits/select2.h: New file.
68199         * include/bits/select2.h: New file.
68200         * debug/Makefile (routines): Add fdelt_chk.
68201         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68202         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68203         FD_ISSET.
68204         * debug/fdelt_chk.c: New file.
68206         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68207         * wcsmbs/test-wmemcmp.c: Likewise.
68208         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68209         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68211 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68213         * string/Makefile (strop-tests): Add memcmp.
68214         * string/test-wmemcmp.c: New file.
68215         * string/test-memcmp.c: Add wmemcmp support.
68217 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68219         [BZ #13153]
68220         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68221         2011-07-19 change.
68223         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68224         garbage value in a __mach_port_mod_refs call in the cases of the
68225         task-self and thread-self ports.
68227 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68229         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68231 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68233         * elf/dl-load.c (lose): Check for non-null L.
68235 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68237         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68239         * elf/dl-libc.c (dlerror_run): Pass back error code from
68240         dl_catch_error.
68242         [BZ #13123]
68243         * elf/dl-load.c (lose): Free l_origin if it is valid.
68245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68246         names.
68247         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68248         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68249         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68250         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68251         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68252         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68254 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68256         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68257         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68258         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68259         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68260         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68261         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68262         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68263         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68264         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68265         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68267 2011-08-15  Alan Modra  <amodra@gmail.com>
68269         [BZ #13092]
68270         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68271         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68272         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68273         ppc_mcount to static-only-routines.
68274         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68275         __mcount_internal.
68276         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68277         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68279 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68282         for finite and infinity parameters.
68284 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68287         and add nop instructions for throughput optimization.
68288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68290 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68292         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68293         aligned copy for power7 with vector-scalar instructions.
68294         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68296 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68299         AVX check.
68301 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68303         [BZ #13144]
68304         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68305         last change.
68307 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68309         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68310         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68311         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68312         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68313         clock_gettime.
68315 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68317         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68318         Forgot to demangle the pointer.
68320         * sysdeps/i386/sysdep.h: Define atom_text_section.
68321         * sysdeps/x86_64/sysdep.h: Likewise.
68322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68323         section with atom_text_section.
68324         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68325         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68328         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68330         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68331         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68332         already be defined.  Change to take two parameters and don't assign
68333         result to variable.  Adjust all users.
68334         Define INTERNAL_GETTIME if not already defined.
68335         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68336         call.
68337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68338         HAVE_CLOCK_GETTIME_VSYSCALL.
68339         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68342         gettimeofday vsyscall, just use time.
68344 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68347         <errno.h>.
68349 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68351         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68352         syscall on x86-64.
68353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68354         syscall.
68355         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68357         syscall if possible.
68359 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68361         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68362         e_ident.  Don't pass to find_mapsXX.
68363         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68365 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68368         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68369         * sysdeps/x86_64/multiarch/strchr.S: Update.
68370         Check bit_slow_BSF bit.
68371         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68372         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68373         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68375 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68377         [BZ #13134]
68378         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68379         before glibc 2.15.
68380         (tryshell): Define.
68381         (__spawni): Change last parameter to be flag.  Test
68382         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68383         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68384         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68385         * posix/spawni.c: Likewise.
68386         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68387         * posix/spawnp.c: Likewise.  Change normal version to use
68388         SPAWN_XFLAGS_USE_PATH.
68389         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68390         SPAWN_XFLAGS_TRY_SHELL.
68392         [BZ #13150]
68393         * posix/glob.h: Remove gcc 1.x support.
68395         [BZ #13068]
68396         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68398 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68401         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68402         strrchr-sse2-bsf
68403         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68404         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68405         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68406         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68407         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68408         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68410 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68412         * sysdeps/x86_64/wcscmp.S: New file.
68414         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68415         wcscmp-c wcscmp-sse2
68416         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68417         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68418         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68419         * wcsmbs/wcscmp.c: Allow renaming.
68421 2011-09-05  David S. Miller  <davem@davemloft.net>
68423         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68424         stack slot, rather than the struct return pointer slot.
68425         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68426         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68428         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68430 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68432         * po/ja.po: Update from translation team.
68434         [BZ #13144]
68435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68436         kernel in 64-bit binaries.
68438 2011-09-01  David S. Miller  <davem@davemloft.net>
68440         * elf/elf.h (HWCAP_SPARC_*): Move to..
68441         * sysdeps/sparc/sysdep.h: this new file and add new values.
68442         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68443         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68444         _DL_HWCAP_COUNT to 24.
68445         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68446         entries.
68447         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68448         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68449         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68451         instead of magic constants.
68452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68454 2011-08-31  David S. Miller  <davem@davemloft.net>
68456         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68458         Reimplement to do errno handling inline.
68459         (SYSCALL_ERROR_HANDLER): New macro.
68460         (__SYSCALL_STRING): Do not do errno handling in asm.
68461         (__CLONE_SYSCALL_STRING): Delete.
68462         (__INTERNAL_SYSCALL_STRING): Delete.
68463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68464         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68465         (PSEUDO): Reimplement to do errno handling inline.
68466         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68467         (SYSCALL_ERROR_HANDLER): New macro.
68468         (__SYSCALL_STRING): Do not do errno handling in asm.
68469         (__CLONE_SYSCALL_STRING): Delete.
68470         (__INTERNAL_SYSCALL_STRING): Delete.
68471         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68472         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68473         i386.
68474         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68475         (inline_syscall*): Add 'err' argument.
68476         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68477         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68478         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68479         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68481         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68482         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68484 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68486         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68488 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68490         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68491         directive.
68493 2011-08-24  David S. Miller  <davem@davemloft.net>
68495         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68497 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68499         * elf/Makefile: Add rules to build and run unload8 test.
68500         * elf/unload8.c: New file.
68501         * elf/unload8mod1.c: New file.
68502         * elf/unload8mod1x.c: New file.
68503         * elf/unload8mod2.c: New file.
68504         * elf/unload8mod3.c: New file.
68506         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68507         it wasn't used.
68509 2011-08-23  David S. Miller  <davem@davemloft.net>
68511         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68512         subtract stack bias.
68513         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68514         %sp not %fp in calculations.
68515         (_JMPBUF_UNWINDS_ADJ): Likewise.
68517         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68518         (aio_suspend): Call it to force an exception region around the
68519         AIO_MISC_WAIT() invocation.
68521 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68523         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68524         backslash.
68526 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68528         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68529         protection macro.
68530         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68531         and <dl-machine.h>.
68532         (Elf64_FuncDesc): Remove.
68534 2011-08-22  David S. Miller  <davem@davemloft.net>
68536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68537         sigaltstack check, add missing cfi directives.
68538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68539         missing cfi directives, and sigaltstack handling.
68541 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68543         [BZ #11724]
68544         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68545         object is seen twice.
68546         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68548         * elf/Makefile (distribute): Add tst-initorder2.c.
68549         (tests): Add tst-initorder2.
68550         (modules-names): Add tst-initorder2a tst-initorder2b
68551         tst-initorder2c tst-initorder2d.  Add rules to build them.
68552         ($(objpfx)tst-initorder2.out): New rule.
68553         * elf/tst-initorder2.c: New file.
68554         * elf/tst-initorder2.exp: New file.
68556 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68558         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68560         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68561         dependencies back to end of function.
68563         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68564         $(elfobjdir)/ld.so.
68566 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68569         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68570         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68571         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68572         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68573         of __vdso_gettimeofday.
68574         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68575         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68576         attribute_hidden.
68577         (_libc_vdso_platform_setup): Remove initialization of
68578         __vdso_gettimeofday and __vdso_time.
68580 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68582         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68583         and fgetc_unlocked.
68584         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68585         getc_unlocked.
68587         * elf/dl-open.c (add_to_global): Report additions to the global scope
68588         for LD_DEBUG=scopes.
68589         (dl_open_worker): Also print scope of newly loaded dependencies.
68590         (_dl_show_scope): Indicate if there is no scope.
68592         [BZ #13114]
68593         * stdio-common/Makefile (tests): Add bug24.
68594         * stdio-common/bug24.c: New file.
68596 2011-08-19  Andreas Jaeger  <aj@suse.de>
68598         [BZ #13114]
68599         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68600         non-existant file when using close-on-exec mode.
68602 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68605         the very first instruction.
68607         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68608         the CFI state in the end.
68609         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68610         inclusion of dl-trampoline.h.
68611         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68613 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68615         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68616         expectations for long double.
68618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68619         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68621 2011-08-14  David S. Miller  <davem@davemloft.net>
68623         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68624         artificual limit depends upon the system page size.
68626 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68628         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68629         * resolv/Makefile: Define CFLAGS-libresolv.
68631 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68633         * nss/makedb.c (compute_tables): Make variables used in nested
68634         function static.
68636 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68638         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68639         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68640         if buffer was too small.
68642         * elf/pldd.c (main): Attach to all threads in the process.
68643         Rewrite /proc handling to use *at functions.
68645 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68647         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68648         specifies first scope to show.
68649         (dl_open_worker): Update callers.  Move printing scope of new
68650         object to before the relocation.
68651         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68652         * sysdeps/generic/ldsodefs.h: Update declaration.
68654         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68655         string for the scope number.
68657 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68659         * nscd/servicescache.c (cache_addserv): Make sure written is always
68660         initialized.
68662 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68664         * sysdeps/i386/i486/bits/atomic.h
68665         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68666         statement expression, so as to suppress "set but not used" warning.
68667         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68669         * string/strncat.c (STRNCAT): Use prototype definition.
68671         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68672         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68673         -Iprograms here.
68674         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68675         (localedef-modules): Add localedef.
68676         (locale-modules): Add locale.
68678         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68679         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68680         to avoid a warning.
68682 2011-08-14  David S. Miller  <davem@davemloft.net>
68684         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68685         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68687 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68689         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68690         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68691         * elf/rtld.c (dl_main): Set l_name of vDSO.
68692         Call _dl_show_scope when DL_DEBUG_SCOPES.
68693         (process_dl_debug): Recognize scopes flag and also set it for all.
68694         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68695         Declare _dl_show_scope.
68697         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68698         (do_dlopen): Pass caller_dlopen to dl_open.
68699         (__libc_dlopen_mode): Initialize caller_dlopen.
68701         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68702         of libc.  Make tolower call locale-independent.  Optimize a bit by
68703         using isdigit instead of isalnum.
68704         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68706 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68708         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68709         was a dependency or dynamically loaded.
68711 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68713         * intl/l10nflist.c: Allow architecture-specific pop function.
68714         * sysdeps/x86_64/l10nflist.c: New file.
68716         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68717         classification.
68719 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68721         * include/dirent.h: Add libc_hidden_proto for scandirat and
68722         scandirat64.  Don't declare __scandirat64.
68723         * dirent/scandirat.c: Add libc_hidden_def.
68724         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68725         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68727 2011-08-10  David S. Miller  <davem@davemloft.net>
68729         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68730         enum.
68731         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68732         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68733         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68735 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68737         * Versions.def [libc]: Add GLIBC_2.15.
68738         * dirent/Makefile (routines): Add scandirat and scandirat64.
68739         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68740         GLIBC_2.15.
68741         * dirent/dirent.h: Declare scandirat and scandirat64.
68742         * dirent/scandirat.c: New file.
68743         * dirent/scandirat64.c: New file.
68744         * sysdeps/wordsize-64/scandirat.c: New file.
68745         * sysdeps/wordsize-64/scandirat64.c: New file.
68746         * dirent/opendir.c: Define opendirat.
68747         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68748         using scandirat.
68749         * dirent/scandir64.c: Adjust for scandir.c change.
68750         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68751         __scandirat64, and __scandir_cancel_handler.
68752         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68753         additional parameter and use openat instead of open (outside of ld.so).
68754         Add new __opendir as wrapper around __opendirat.
68755         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68756         here without requiring old scandirat implementation.
68758 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68760         * dirent/scandir.c (cancel_handler): Renamed to
68761         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68762         defined.  Adjust users.
68763         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68764         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68766 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68768         * string/test-string.h (IMPL): Use __STRING to expand name and then
68769         stringify it.
68771         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68772         of cleanups.
68774 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68776         * string/Makefile: Update.
68777         (strop-tests): Append strncat.
68778         * string/test-wcscmp.c: New file.
68779         New comprehensive test for wcscmp.
68780         * string/test-strcmp.c: Update.
68781         (WIDE): New define.
68783 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68785         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68786         line.
68788 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68791         encoding to ACE if AI_IDN.
68793 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68796         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68798 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68800         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68801         Fix overflow bug in strncat.
68802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68804         * string/test-strncat.c: Update.
68805         Add new tests for checking overflow bugs.
68807 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68810         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68811         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68812         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68813         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68814         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68815         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68816         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68817         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68820         (USE_AS_STRCAT): Define.
68821         Add strcat and strncat support.
68822         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68824 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68826         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68827         __n bigger than INT_MAX+1.
68828         (__strncmp_g): Likewise.
68830 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68832         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68833         * libio/stido.h: Likewise.
68835         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68836         (AF_NFC): Define.
68837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68838         (AF_NFC): Define.
68840         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68841         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68842         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68843         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68846         [BZ #13021]
68847         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68848         installed.
68850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68851         typo.
68852         (_dl_x86_64_save_sse): Likewise.
68854 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68856         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68857         OSXSAVE.
68858         (_dl_x86_64_save_sse): Likewise.
68860         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68862         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68864 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68867         change.
68868         (_dl_x86_64_save_sse): Use correct AVX check.
68870 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68872         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68873         bug in strncpy/strncat.
68874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68876 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68878         * string/tester.c (test_strcat): Add tests for different alignments
68879         of source and destination.
68880         (test_strncat): Likewise.
68882 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68884         [BZ #12852]
68885         * posix/glob.c (glob): Check passed in values before using them in
68886         expressions to avoid some overflows.
68887         (glob_in_dir): Likewise.
68889         [BZ #13007]
68890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68891         check for AVX enablement so that we don't crash with old kernels and
68892         new hardware.
68893         * elf/tst-audit4.c: Add same checks here.
68894         * elf/tst-audit6.c: Likewise.
68896         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68898 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68900         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68902 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68904         * po/cs.po: Update from translation team.
68905         * po/bg.po: Likewise.
68907 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68909         * misc/sys/cdefs.h: Add support for const attribute.
68910         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68911         to gnu_dev_{major,minor,makedev} functions.
68913 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68915         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68917 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68919         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68920         strlen results.
68922 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68924         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68925         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68926         register in order to avoid conflicts with the soft frame pointer
68927         being held in r11 when necessary.
68928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68929         (INTERNAL_VSYSCALL_NCS): Likewise.
68931 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68933         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68934         * elf/dl-fini.c (_dl_fini): Adjust caller.
68935         * elf/dl-close.c (_dl_close_worker): Likewise.
68936         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68938 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68940         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68941         "aux_cache->nlibs < 0".
68943         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68944         in the reload-count case.
68946 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68949         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68950         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68951         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68952         * sysdeps/x86_64/multiarch/strcat.S: New file.
68953         * sysdeps/x86_64/multiarch/strncat.S: New file.
68954         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68955         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68956         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68957         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68958         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68959         (USE_AS_STRCAT): Define.
68960         Add strcat and strncat support.
68961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68962         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68963         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68964         * string/strncat.c: Update.
68965         (USE_AS_STRNCAT): Define.
68966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68967         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68968         and i7.
68969         * sysdeps/x86_64/multiarch/init-arch.h
68970         (bit_Prefer_PMINUB_for_stringop): New.
68971         (index_Prefer_PMINUB_for_stringop): Likewise.
68972         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68973         bit_Prefer_PMINUB_for_stringop.
68975 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68977         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68978         buffer64.
68979         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68980         of casting of buffer.
68981         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68982         buffer32 and buffer64.
68983         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68984         writes instead of casting of buffer.
68985         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68986         buffer32.
68987         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68988         casting of buffer.
68990 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68992         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68994 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68996         * nscd/nscd.c (termination_handler): Don't do anything for a database
68997         if it has not yet been initialized.
68999 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69001         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69003 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69005         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69007 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69009         * po/nl.po: Update from translation team.
69010         * po/sv.po: Likewise.
69012 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69014         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69015         now disallowed by GCC.
69017         * configure.in (use-default-link): Default to yes if a test -shared
69018         link meets our qualifications.
69019         * configure: Regenerated.
69021         * config.make.in (output-format): New variable.
69022         * configure.in: Check for ld --print-output-format support.
69023         * configure: Regenerated.
69024         * Makerules ($(common-objpfx)format.lds)
69025         [$(output-format) != unknown]: Just use $(output-format),
69026         instead of the linker-script munging.
69028 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69030         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69031         of $(common-objpfx)shlib.lds.
69032         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69034         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69035         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69037         * configure.in (-z relro check): Adjust test code to add a large
69038         writable data section after it.
69039         * configure: Regenerated.
69041 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69043         * configure.in (-z relro check): Fix test code to make the variable
69044         truly const.
69045         * configure: Regenerated.
69047 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69049         * nscd/nscd.h (struct traced_file): Define.
69050         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69051         elements.  Add traced_files.
69052         (inotify_fd): Declare.
69053         (register_traced_file): Declare.
69054         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69055         (inotify_fd): Export.
69056         (resolv_conf_descr): Remove.
69057         (nscd_init): Move inotify descriptor creation to main.
69058         Don't register files for notification here.
69059         (register_traced_file): New function.
69060         (invalidate_cache): Don't use reset_res to determine whether to call
69061         res_init, go through the list of registered files.
69062         (main_loop_poll): The inotify descriptors are now stored in the
69063         structures for the traced files.
69064         (main_loop_epoll): Likewise.
69065         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69066         to __nss_disable_nscd.
69067         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69068         for a database anymore.  Check the records for all the registered
69069         files instead.
69070         * nss/Makefile (libnss_files-routines): Add files-init.
69071         (libnss_db-routines): Add db-init.
69072         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69073         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69074         * nss/nss_db/db-init.c: New file.
69075         * nss/nss_files/files-init.c: New file.
69076         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69077         __nss_lookup_function.
69078         (__nss_lookup_function): Call nss_load_library.
69079         (nss_load_all_libraries): New function.
69080         (__nss_disable_nscd): Take parameter with callback function for files
69081         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69082         used for the cached services.
69083         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69084         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69085         options for features to all the files in nscd.
69087         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69089 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69091         * csu/elf-init.c (__libc_csu_init): Comment typo.
69093 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69095         * po/pl.po: Update from translation team.
69096         * po/ja.po: Likewise.
69097         * po/ru.po: Likewise.
69098         * po/ko.po: Likewise.
69099         * po/fr.po: Likewise.
69101 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69103         * configure.in (.ctors/.dtors header and trailer check):
69104         Use an empirical test on a built program.
69105         * configure: Regenerated.
69107         * configure.in (-z relro check): Use an empirical test on a built DSO.
69108         Detect, but do not require, on ia64.
69109         * configure: Regenerated.
69111         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69112         Update tests that use readelf to use $READELF instead.
69113         * configure: Regenerated.
69115 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69117         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69118         if the result is not used.
69120 2011-07-05  Andreas Jaeger  <aj@suse.de>
69122         [BZ#9696]
69123         * stdlib/tst-strtod.c: Add testcase.
69125 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69127         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69128         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69129         The latter has a higher limit.  Take additional parameter to pass to
69130         the new function.
69131         (__pathconf): Pass file to __statfs_link_max.
69132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69133         __statfs_link_max.
69134         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69135         __statfs_link_max.
69137         [BZ #12868]
69138         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69139         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69140         Handle Lustre.
69141         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69142         (__statfs_filesize_max): Likewise.
69143         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69145 2011-07-05  Andreas Jaeger  <aj@suse.de>
69147         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69149 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69151         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69152         `status' variable.
69153         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69154         Likewise.
69156 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69158         * Makefile (strop-tests): Add strncat.
69159         * string/test-strncat.c: New file.
69161 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69163         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69165 2011-06-21  Andreas Jaeger  <aj@suse.de>
69167         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69168         Copy rule from iconvdata/Makefile.
69170 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69172         [BZ #12922]
69173         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69174         but no long options are defined, just return 'W'.
69176 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69178         [BZ #9696]
69179         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69181 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69183         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69184         netgroups to read.
69185         (innetgr): Likewise.
69187 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69189         * config.make.in (install_root): Default to $(DESTDIR).
69191 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69195 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69197         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69199         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69200         containing directory rather than embedding absolute directory names.
69202         * scripts/check-local-headers.sh: Rewritten using awk.
69203         Match by word, not by line.  Print error messages for matches.
69204         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69206         * Makerules [shlib-lds-flags empty]:
69207         ($(common-objpfx)libc_pic.opts): New target.
69208         ($(common-objpfx)libc_pic.os.clean): New target.
69209         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69211         * config.make.in (OBJCOPY): New variable.
69212         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69213         * configure: Regenerated.
69215         * config.make.in (use-default-link): New variable.
69216         * configure.in (use_default_link): Grok --with-default-link to set it.
69217         * configure: Regenerated.
69218         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69219         (shlib-lds, shlib-lds-flags): Define to empty.
69221         * Makerules (shlib-lds): New variable.
69222         (shlib-lds-flags): New variable.
69223         (build-shlib, build-moduile, build-module-asneeded): Use it.
69224         ($(common-objpfx)libc.so): Use $(shlib-lds).
69225         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69226         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69228         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69229         DT_FLAGS/DT_FLAGS_1 with zero flags.
69231         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69232         linker script munging.
69234 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69236         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69237         as 128-bit value.
69238         * crypt/sha512.c (sha512_process_block): Perform total addition using
69239         128-bit if possible.
69240         (__sha512_finish_ctx): Likewise.
69241         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69242         as 64-bit value.
69243         * crypt/sha256.c (SWAP64): Define.
69244         (sha256_process_block): Perform total addition using 64-bit if
69245         possible.
69246         (__sha256_finish_ctx): Likewise.
69248 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69250         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69252         * nscd/hstcache.c (cache_addhst): Likewise.
69253         * nscd/grpcache.c (cache_addgr): Likewise.
69254         * nscd/aicache.c (addhstaiX): Likewise.
69255         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69257 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69259         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69260         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69261         * nscd/hstcache.c (cache_addhst): Likewise.
69262         * nscd/grpcache.c (cache_addgr): Likewise.
69263         * nscd/aicache.c (addhstaiX): Likewise.
69265 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69267         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69268         domain only when needed.
69270 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69273         is always restored.
69275 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69277         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69278         are re-adding the entry.
69279         * nscd/servicescache.c (cache_addserv): Likewise.
69281 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69283         * sysdeps/generic/dl-irel.h: fix protection against multiple
69284         inclusions.
69285         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69287 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69289         [BZ #12935]
69290         * malloc/memusage.sh: Fix quoting in message.
69291         * debug/xtrace.sh: Likewise.
69293         * configure.in: Remove support for --experimental-malloc option, make
69294         it the default.
69295         * config.make.in: Likewise.
69296         * malloc/Makefile: Likewise.
69298 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69300         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69301         two-byte characters.
69303 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69305         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69306         AC_CACHE_CHECK invocation.
69307         * configure: Regenerated.
69309         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69311 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69313         [BZ #12350]
69314         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69315         bit from old_res_options.
69317         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69319         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69320         value type for setfct.
69322 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69325         __gettimeofday instead of gettimeofday.
69327 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69329         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69331 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69333         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69335         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69336         info.
69338 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69341         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69342         strcpy-sse2-unaligned strncpy-sse2-unaligned
69343         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69344         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69345         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69346         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69347         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69348         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69349         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69350         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69351         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69352         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69353         (STRCPY): Support SSE2 and SSSE3 versions.
69355 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69357         [BZ #12874]
69358         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69359         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69360         kernels which artificially limit size of requests.
69362 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69365         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69366         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69367         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69368         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69369         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69370         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69371         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69373         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69374         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69375         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69376         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69377         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69378         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69380         Enable unaligned load optimization for Intel Core i3, i5 and i7
69381         processors.
69382         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69383         Define.
69384         (index_Fast_Unaligned_Load): Define.
69385         (HAS_FAST_UNALIGNED_LOAD): Define.
69387 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69389         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69391 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69393         [BZ #12907]
69394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69395         until it is clear that the information is realy needed.
69396         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69398 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69402 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69404         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69405         /sys/devices/system/cpu/online if it is usable.
69407         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69408         reading the information from the /proc filesystem to once a second.
69410 2011-06-21  Andreas Jaeger  <aj@suse.de>
69412         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69413         NULL after inclusion of kernel headers.
69415 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69417         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69418         calls to internal_setent.
69420         [BZ #12885]
69421         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69422         addresses using gethostbyname4_r ignore IPv4 addresses.
69424         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69425         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69427         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69429 2011-06-20  David S. Miller  <davem@davemloft.net>
69431         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69432         inclusions.
69433         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69435         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69436         (elf_irel): Use it.
69437         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69438         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69439         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69440         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69441         * sysdeps/x86_64/dl-irel.h: Likewise.
69443         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69444         * elf/dl-sym.c: Likewise.
69446 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69448         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69449         need to dereference resplen2.
69451 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69453         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69455 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69457         * Makeconfig: Define vardbdir and inst_vardbdir.
69458         * nss/Makefile: Add rules to install db-Makefile.
69460         * nss/nss_db/db-XXX.c: Cleanup.
69462         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69463         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69464         GLIBC_PRIVATE.
69465         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69466         * nss/makedb.c: Implement -g option to specify that value strings
69467         are generated and should not be added to table iterated over for
69468         get*ent calls.
69469         * nss/nss_db/db-initgroups.c: New file.
69471         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69472         interface.
69474         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69475         (internal_getgrouplist): Adjust to name change.
69476         Update use_initgroups_entry if this is not the first call.
69477         * nss/databases.def: Add initgroups entry.
69479         * nss/makedb.c (compute_tables): Check result of multiple hash table
69480         sizes to minimize maximum chain length.
69482 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69484         * Versions.def: Add entry for libnss_db.
69485         * shlib-versions: Likewise.
69486         * nss/Makefile: Add rules to build libnss_db.
69487         * nss/Versions: Add libnss_db information.  Organize libnss_files
69488         entries better.
69489         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69490         makedb progra.  Some minor improvements to generate smaller files.
69491         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69492         here from...
69493         * nss/makedb.c: ...here.
69494         Improve database format to be smaller and require less memory at
69495         runtime.
69496         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69497         db anymore.
69498         * nss/nss_db/db-netgrp.c: Likewise.
69499         * nss/nss_db/db-open.c: Likewise.
69500         * nss/nss_files/flies-XXX.x: Adjust comments.
69501         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69502         * nss/nss_files/files-grp.c: Likewise.
69503         * nss/nss_files/files-hosts.c: Likewise.
69504         * nss/nss_files/files-network.c: Likewise.
69505         * nss/nss_files/files-proto.c: Likewise.
69506         * nss/nss_files/files-pwd.c: Likewise.
69507         * nss/nss_files/files-rpc.c: Likewise.
69508         * nss/nss_files/files-service.c: Likewise.
69509         * nss/nss_files/files-sgrp.c: Likewise.
69510         * nss/nss_files/files-spwd.c: Likewise.
69511         * nss/nss_db/db-alias.c: Removed.
69512         * nss/nss_db/dummy-db.h: Removed.
69514 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69516         * nss/makedb.c: Rewritten to not use database library.
69517         * nss/Makefile: Update to build new makedb program.
69519 2011-06-14  Andreas Jaeger  <aj@suse.de>
69521         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69522         memset declaration.
69524 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69527         tmpbuf.
69529 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69531         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69532         * elf/Makefile ($(objpfx)ld.so): Likewise.
69534         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69535         Don't list ld.so twice in dependencies.
69537         * posix/bug-regex31.c: Include <stdlib.h>.
69539         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69541         * nis/nss_compat/compat-spwd.c
69542         (getspent_next_nss_netgr): Remove unused variable.
69543         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69545         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69546         nonmembers" output to use the right array.
69548         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69550         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69552         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69553         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69554         * catgets/gencat.c (read_input_file): Likewise.
69555         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69557         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69558         variable definition inside #if's controlling its use.
69560         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69562         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69564         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69566         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69567         unreachable code.
69569         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69571         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69572         * configure: Regenerated.
69574         * Makerules: Revert last change.
69575         * elf/Makefile: Likewise.
69577 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69579         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69580         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69581         (reloc-link): Likewise.
69583 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69585         * elf/Makefile: Add rules to build pldd.
69586         * elf/pldd.c: New file.
69587         * elf/pldd-xx.c: New file.
69589 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69591         * version.h: Update for 2.15 development version.
69593 2011-06-07  David S. Miller  <davem@davemloft.net>
69595         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69596         ifuncs.
69597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69598         elf_machine_lazy_rel): Likewise.
69599         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69600         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69601         elf_machine_lazy_rel): Likewise.
69602         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69603         dl_hwcap via passed in argument.
69604         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69605         Likewise.
69607 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69609         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69611 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69613         [BZ #12849]
69614         * manual/fdl-1.1.texi: New file, verbatim from:
69615         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69616         * manual/lgpl-2.1.texi: New file, verbatim from:
69617         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69618         * manual/Makefile (licenses): New variable, list those new file names.
69619         (texis): Use it.
69620         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69622         * manual/fdl.texi: File removed.
69623         * manual/lesser.texi: File removed.
69624         * manual/libc.texinfo (Copying, Documentation License):
69625         Use new @include file names, put @appendix directive before @include.
69627 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69629         [BZ #12841]
69630         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69631         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69632         (mq_open): Add __NTH.
69634 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69637         Assume Intel Core i3/i5/i7 processor if AVX is available.
69639 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69642         typo.
69644 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69646         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69647         memory.  Use alloca_account.  Fix memory leak when retrying.
69649 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69651         * version.h (RELEASE): Bump for 2.14 release.
69652         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69654         * config.make.in (RANLIB): Remove entry.
69656 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69658         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69659         (libc.pot): Work around missing support for .ksh extension in xgettext.
69661         [BZ #12684]
69662         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69663         if both request failed.
69664         (send_dg): In case of server errors clear resplen or *resplen2.
69666         [BZ #12454]
69667         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69668         when there are multiple maps.
69669         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69670         (_dl_fini): Remove test here.
69672         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69674 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69676         [BZ #12350]
69677         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69678         bit from old_res_options.
69679         (gaih_inet): Likewise.
69681         [BZ #11099]
69682         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69683         as signed.
69685         * resolv/res_init.c (res_setoptions): Make the code more compact.
69687         [BZ #11558]
69688         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69689         set RES_USEVC.
69691         [BZ #11634]
69692         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69694         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69696         [BZ #11781]
69697         * malloc/malloc.h: Declare malloc hook variables as volatile.
69699         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69700         in last patch.
69702         [BZ #11799]
69703         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69704         raise in the comment.
69705         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69707         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69709 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69711         [BZ #12811]
69712         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69713         grow the buffers more if it already has to be sufficient.
69714         (build_wcs_upper_buffer): Likewise.
69715         * posix/regexec.c (check_matching): Likewise.
69716         (clean_state_log_if_needed): Likewise.
69717         (extend_buffers): Don't enlarge buffers beyond size of the input
69718         buffer.
69719         Patches mostly by Emil Wojak <emil@wojak.eu>.
69720         * posix/bug-regex32.c: New file.
69721         * posix/Makefile (tests): Add bug-regex32.
69723         * locale/findlocale.c (_nl_find_locale): Return right away if
69724         _nl_explode_name failed.
69725         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69727         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69729         * debug/xtrace.sh: Unify messages.
69730         * malloc/memusage.sh: Likewise.
69732         [BZ #12813]
69733         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69734         time symbol from vDSO.  Substitute with vsyscall if not available.
69735         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69736         __vdso_time.
69738         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69739         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69740         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69741         Add sendmmsg and internal_sendmmsg.
69742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69743         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69744         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69746         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69747         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69750 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69752         [BZ #12813]
69753         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69754         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69755         available.
69756         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69757         __vdso_getcpu.
69759         [BZ #12814]
69760         * iconvdata/Makefile (tests): Add bug-iconv9.
69761         * iconvdata/bug-iconv9.c: New file.
69763 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69765         [BZ #12814]
69766         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69768 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69770         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69771         (struct user_regs_struct): Change intcs field back to cs.
69773 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69775         * po/ja.po: Update from translation team.
69777 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69779         [BZ #12795]
69780         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69781         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69783 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69785         * stdlib/longlong.h: Update from GCC.
69787 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69789         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69790         parameter name.
69791         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69792         Add parameter name.
69793         (__sysconf): Pass it down.
69795 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69797         [BZ #12671]
69798         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69799         some situations.
69800         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69801         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69802         add in in __libc_use_alloca calls.  Adjust callers.
69803         (glob): Use malloc in some situations.
69805         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69806         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69807         pltexit.
69809 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69811         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69812         and CLOCK_BOOTTIME_ALARM.
69814         [BZ #12782]
69815         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69816         is returned.
69818         * string/_strerror.c (__strerror_r): Print negative errors as signed
69819         numbers.
69821         [BZ #12777]
69822         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69823         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69824         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69826         * configure.in: Fix typo in redirection and correct removal of test
69827         files in two cases.
69829         [BZ #12788]
69830         * locale/setlocale.c (new_composite_name): Fix test to check for
69831         identical name of all categories.
69833         [BZ #12792]
69834         * libio/filedoalloc.c (local_isatty): New function.
69835         (_IO_file_doallocate): Use local_isatty.
69836         * stdio-common/perror.c (perror): In case a new stream is used
69837         forward the stream error.
69838         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69839         error flag.
69841 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69843         [BZ #11884]
69844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69845         alloca.
69846         * include/alloca.h (extend_alloca_account): Define.
69848         [BZ #11857]
69849         * posix/regex.h: Fix comments with documentation of user-accessible
69850         fields after compilation and describe correct free'ing of pattern
69851         after re_compile_pattern.
69852         Patch by Reuben Thomas <rrt@sc3d.org>.
69854 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69856         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69857         and -mno-altivec to prevent the compiler from using Altivec and/or
69858         VSX instructions when the corresponding registers are not available.
69860 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69862         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69864 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69866         * libio/freopen.c (freopen): Use __dup2, not dup2.
69867         * libio/freopen64.c (freopen64): Likewise.
69869 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69871         [BZ #12775]
69872         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69873         * math/Makefile (tests): Add test-powl.
69874         (CFLAGS-test-powl.c): Define.
69875         * math/test-powl.c: New file.
69877 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69879         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69881 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69883         [BZ #11837]
69884         * iconvdata/gb18030.c: Update to GB18020-2005.
69886 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69888         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69889         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69890         Patch by Aharon Robbins <arnold@skeeve.com>.
69892         [BZ #11892]
69893         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69894         on the stack.
69896         [BZ #11895]
69897         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69898         through underflows.
69900         [BZ #12766]
69901         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69902         point to strings before performing equality test for error_one_per_line
69903         mode.
69905         [BZ #11697]
69906         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69908         [BZ #11820]
69909         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69910         (struct user_fpregs_struct): Avoid __uint*_t types.
69912         [BZ #6420]
69913         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69914         symbol info.  Use it instead of calling _dl_addr locally.
69915         (lock_and_info): New function.
69916         (tr_freehook): Call lock_and_info and pass symbol info as additional
69917         parameter to tr_where.
69918         (tr_mallochook): Likewise.
69919         (tr_reallochook): Likewise.
69920         (tr_memalignhook): Likewise.
69922         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69923         used and couldn't be at all thread-safe.
69925 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69927         * libio/freopen.c (freopen): Don't close old file descriptor
69928         before the new one is opened.  Instead dup the new file descriptor
69929         to the old one after the new stream is created.
69930         * libio/freopen64.c (freopen64): Likewise.
69931         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69932         * libio/fileops.c (_IO_new_file_close_it): Handle new
69933         _IO_FLAGS2_NOCLOSE flag.
69934         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69935         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69936         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69937         _IO_FLAGS2_NOCLOSE flag.
69938         * include/unistd.h: Add hidden_proto for dup3.
69939         Define __have_dup3.
69940         * io/dup3.c: Define hidden symbol.
69941         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69943         [BZ #7101]
69944         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69945         when an incomplete long option is used.
69946         * posix/tst-getopt_long1.c: New file.
69947         * posix/Makefile (tests): Add tst-getopt_long1.
69949         [BZ #10138]
69950         * scripts/config.guess: Update from autoconf-2.68.
69951         * scripts/config.sub: Likewise.
69953         [BZ #10157]
69954         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69955         tests into ...
69956         (has_cpuclock): ...this.  New function.
69957         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69958         macro here based on has_cpuclock code.
69960         [BZ #10149]
69961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69962         First byte (not low byte) is now always NUL.
69963         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69966         Use non-cancelable interfaces.
69968         [BZ #9809]
69969         * locale/iso-639.def: Add entry for Sorani.
69971         [BZ #11901]
69972         * include/stdlib.h: Move include protection to the right place.
69973         Define abort_msg_s.  Declare __abort_msg with it.
69974         * stdlib/abort.c (__abort_msg): Adjust type.
69975         * assert/assert.c (__assert_fail_base): New function.  Majority
69976         of code from __assert_fail.  Allocate memory for __abort_msg with
69977         mmap.
69978         (__assert_fail): Now call __assert_fail_base.
69979         * assert/assert-perr.c: Remove bulk of implementation.  Use
69980         __assert_fail_base.
69981         * include/assert.hL Declare __assert_fail_base.
69982         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69983         mmap.
69984         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69986 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69988         [BZ #11952]
69989         [BZ #12453]
69990         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69991         until all modules are registered in the DTV.
69992         * elf/Makefile: Add rules to build and run tst-tls19.
69993         * elf/tst-tls19.c: New file.
69994         * elf/tst-tls19mod1.c: New file.
69995         * elf/tst-tls19mod2.c: New file.
69996         * elf/tst-tls19mod3.c: New file.
69997         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69999         [BZ #12083]
70000         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70001         correctly.
70003         [BZ #12601]
70004         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70005         two-byte sequence errors.
70006         * iconvdata/Makefile (tests): Add bug-iconv8.
70007         * iconvdata/bug-iconv8.c: New file.
70009         [BZ #12626]
70010         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70011         buf2 definition.
70013         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70015         [BZ #12432]
70016         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70017         (dummy_getcfa): New function.
70018         (init): Get _Unwind_GetCFA address, use dummy if not found.
70019         (backtrace_helper): In recursion check, also check whether CFA changes.
70020         (__backtrace): Completely initialize arg.
70022         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70023         storing incomplete byte sequence in state object.  Avoid testing for
70024         guaranteed too small input if we know there is enough data available.
70026 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70028         * Makeconfig (+link-pie): Indent.
70029         * Rules (binaries-pie): Define if $(have-fpie) and
70030         $(build-shared).
70031         (binaries-shared): Also filter out $(binaries-pie).
70032         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70033         * nscd/Makefile (others-pie): Add nscd.
70034         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70035         ($(objpfx)nscd): Remove command override.
70036         * login/Makefile (others-pie): Add pt_chown.
70037         ($(objpfx)pt_chown): Remove command override.
70038         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70039         remove command overrides.
70041 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70043         * libio/tst_putwc.c: Fix error messages.
70045         [BZ #12724]
70046         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70047         currently writing and seek to current position when not.
70048         * libio/Makefile (tests): Add bug-fclose1.
70049         * libio/bug-fclose1.c: New file.
70051 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70053         [BZ #12511]
70054         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70055         don't set DF_1_NODELETE here.
70056         (do_lookup_x): When entering new entry test for copy relocation
70057         and if necessary set DF_1_NODELETE flag.
70058         * elf/tst-unique4.cc: New file.
70059         * elf/tst-unique4.h: New file.
70060         * elf/tst-unique4lib.cc: New file.
70061         * elf/Makefile: Add rules to build and run tst-unique4.
70062         Patch by Piotr Bury <pbury@goahead.com>.
70064 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70066         [BZ #12052]
70067         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70069         [BZ #12625]
70070         * misc/mntent_r.c (addmntent): Flush the stream after the output
70072         [BZ #12393]
70073         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70074         (is_trusted_path_normalize): Skip initial colon.  Append slash
70075         to empty buffer.  Duplicate is_trusted_path code but allow
70076         constructed patch to be prefix.
70077         (is_dst): Allow $ORIGIN followed by /.
70078         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70079         Correct testing of result of is_trusted_path_normalize
70080         (decompose_rpath): Fix warning.
70082 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70084         [BZ #11257]
70085         * grp/initgroups.c (internal_getgrouplist): When we found the service
70086         list through the initgroups entry in nsswitch.conf do not always
70087         continue on a successful lookup.  Don't always use the
70088         __nss_group_database value if it is set.
70089         * nss/nsswitch.conf (initgroups): Change action for successful db
70090         lookup to continue for compatibility.
70092 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70094         [BZ #11532]
70095         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70096         and CP774 modules.
70097         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70098         and CP774 modules.
70099         * iconvdata/tst-tables.sh: Likewise.
70100         * iconvdata/cp770.c: New file.
70101         * iconvdata/cp771.c: New file.
70102         * iconvdata/cp772.c: New file.
70103         * iconvdata/cp773.c: New file.
70104         * iconvdata/cp774.c: New file.
70105         * iconvdata/testdata/CP770: New file.
70106         * iconvdata/testdata/CP770..UTF8: New file.
70107         * iconvdata/testdata/CP771: New file.
70108         * iconvdata/testdata/CP771..UTF8: New file.
70109         * iconvdata/testdata/CP772: New file.
70110         * iconvdata/testdata/CP772..UTF8: New file.
70111         * iconvdata/testdata/CP773: New file.
70112         * iconvdata/testdata/CP773..UTF8: New file.
70113         * iconvdata/testdata/CP774: New file.
70114         * iconvdata/testdata/CP774..UTF8: New file.
70116         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70117         END CHARMAP line.
70118         * iconvdata/gen-8bit-gap.sh: Likewise.
70119         * iconvdata/gen-8bit.sh: Likewise.
70121         * locale/iso-639.def: Add ary entry.
70123         [BZ #11258]
70124         * locale/C-translit.h.in: Add U20A1 transliteration.
70126         [BZ #12178]
70127         * locale/iso-639.def: Add wae entry.
70128         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70130         [BZ #12545]
70131         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70132         for n.
70134         [BZ #12711]
70135         * locale/C-translit.h.in: Add entry for U20B9.
70136         Patch by pravin.d.s@gmail.com.
70138 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70140         [BZ #12713]
70141         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70142         ENAMETOOLONG use generic getcwd.
70143         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70144         in rtld.  Use *stat64.
70145         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70146         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70147         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70148         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70149         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70150         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70151         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70152         __fstatat64 macros.
70153         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70154         * dirent/rewinddir.c: Add libc_hidden_def.
70155         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70156         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70158         * include/dirent.h (__alloc_dir): Add flags parameter.
70159         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70160         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70161         __alloc_dir.
70162         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70163         from fdopendir if O_CLOEXEC is already set.
70165 2011-03-15  Alan Modra  <amodra@gmail.com>
70167         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70168         l_tls_firstbyte_offset non-zero.  Save padding offset in
70169         l_tls_firstbyte_offset for later use.
70170         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70171         freeing static tls block.
70173 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70175         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70176         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70177         being defined by the kernel headers.
70179 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70181         [BZ #12734]
70182         * resolv/resolv.h: Define RES_NOTLDQUERY.
70183         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70184         no-tld-query and set RES_NOTLDQUERY.
70185         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70186         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70187         modern BIND to search name as TLD unless forbidden.
70189 2011-05-07  Petr Baudis  <pasky@suse.cz>
70190             Ulrich Drepper  <drepper@gmail.com>
70192         [BZ #12393]
70193         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70194         (is_trusted_path): ...to here.
70195         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70196         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70197         using is_trusted_path_normalize() in setuid scripts.
70199 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70201         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70202         __BEGIN/__END_DECLS.
70204 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70206         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70207         NSS_STATUS_NOTFOUND if no record was found.
70209 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70211         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70212         (headers-not-in-tirpc): Remove rpc/netdb.h
70213         * resolv/netdb.h: Revert last change.
70215 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70217         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70218         circular dependency between libgcc.a and libc.a.
70220 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70222         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70223         * nis/Makefile: Don't install rpcsvc/*.
70224         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70225         instead of <rpc/types.h>.
70226         (MAXHOSTNAMELEN): Define.
70228 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70230         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70232 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70234         [BZ #12714]
70235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70236         gethostbyname4_r when IPv6 results are possible.
70238 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70240         [BZ #12723]
70241         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70242         _PC_PIPE_BUF handling.
70244 2011-04-30  Bruno Haible  <bruno@clisp.org>
70246         [BZ #12717]
70247         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70248         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70249         to 'int'.
70250         * inet/getnameinfo.c (getnameinfo): Likewise.
70252 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70254         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70255         to groups setting in database lookup.
70256         * nss/nsswitch.conf: Add initgroups entry.
70258 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70260         [BZ #12685]
70261         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70262         mode string.
70263         Patch by Eric Blake <eblake@redhat.com>.
70265 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70267         * sunrpc/Makefile (need-export-routines): Add svc_run.
70268         (routines): Remove svc_run.
70269         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70270         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70271         * sunrpc/svc_run.c (svc_run): Likewise.
70272         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70274 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70277         problem in reallocation in last patch.
70279 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70281         * sunrpc/Makefile: Move inclusion of Rules.
70283 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70285         * nss/nss_files/files-initgroups.c: New file.
70286         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70287         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70288         _nss_files_initgroups_dyn.
70290 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70292         * elf/elf.h (R_ARM_IRELATIVE): Define.
70294 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70296         * po/ru.po: Update from translation team.
70298 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70300         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70301         dependencies.
70303 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70305         [BZ #12653]
70306         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70307         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70308         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70312 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70314         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70315         differing bytes.
70316         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70317         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70318         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70320 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70322         [BZ #12420]
70323         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70324         storing it.
70325         * stdlib/bug-getcontext.c: New file.
70326         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70328 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70330         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70331         instructions into .machine "z9-109".
70332         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70333         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70335 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70337         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70338         between environment variables and auxiliary vector.
70340 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70342         * Makefile: Add rules to build linkobj/libc.so.
70343         * include/libc-symbols.h: Define libc_hidden_nolink.
70344         * include/rpc/auth.h: Mark functions which are to be hidden.
70345         * include/rpc/auth_des.h: Likewise.
70346         * include/rpc/auth_unix.h: Likewise.
70347         * include/rpc/clnt.h: Likewise.
70348         * include/rpc/des_crypt.h: Likewise.
70349         * include/rpc/key_prot.h: Likewise.
70350         * include/rpc/pmap_clnt.h: Likewise.
70351         * include/rpc/pmap_prot.h: Likewise.
70352         * include/rpc/pmap_rmt.h: Likewise.
70353         * include/rpc/rpc_msg.h: Likewise.
70354         * include/rpc/svc.h: Likewise.
70355         * include/rpc/svc_auth.h: Likewise.
70356         * include/rpc/xdr.h: Likewise.
70357         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70358         * nss/Makefile: Likewise.
70359         * sunrpc/Makefile: Don't install headers.  Build library with normal
70360         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70361         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70362         for the compat linking library.  Remove use of INTDEF/INTUSE.
70363         * sunrpc/auth_none.c: Likewise.
70364         * sunrpc/auth_unix.c: Likewise.
70365         * sunrpc/authdes_prot.c: Likewise.
70366         * sunrpc/authuxprot.c: Likewise.
70367         * sunrpc/clnt_gen.c: Likewise.
70368         * sunrpc/clnt_perr.c: Likewise.
70369         * sunrpc/clnt_raw.c: Likewise.
70370         * sunrpc/clnt_simp.c: Likewise.
70371         * sunrpc/clnt_tcp.c: Likewise.
70372         * sunrpc/clnt_udp.c: Likewise.
70373         * sunrpc/clnt_unix.c: Likewise.
70374         * sunrpc/des_crypt.c: Likewise.
70375         * sunrpc/des_soft.c: Likewise.
70376         * sunrpc/get_myaddr.c: Likewise.
70377         * sunrpc/key_call.c: Likewise.
70378         * sunrpc/key_prot.c: Likewise.
70379         * sunrpc/netname.c: Likewise.
70380         * sunrpc/pm_getmaps.c: Likewise.
70381         * sunrpc/pm_getport.c: Likewise.
70382         * sunrpc/pmap_clnt.c: Likewise.
70383         * sunrpc/pmap_prot.c: Likewise.
70384         * sunrpc/pmap_prot2.c: Likewise.
70385         * sunrpc/pmap_rmt.c: Likewise.
70386         * sunrpc/publickey.c: Likewise.
70387         * sunrpc/rpc_cmsg.c: Likewise.
70388         * sunrpc/rpc_common.c: Likewise.
70389         * sunrpc/rpc_dtable.c: Likewise.
70390         * sunrpc/rpc_prot.c: Likewise.
70391         * sunrpc/rpc_thread.c: Likewise.
70392         * sunrpc/rtime.c: Likewise.
70393         * sunrpc/svc.c: Likewise.
70394         * sunrpc/svc_auth.c: Likewise.
70395         * sunrpc/svc_authux.c: Likewise.
70396         * sunrpc/svc_raw.c: Likewise.
70397         * sunrpc/svc_run.c: Likewise.
70398         * sunrpc/svc_simple.c: Likewise.
70399         * sunrpc/svc_tcp.c: Likewise.
70400         * sunrpc/svc_udp.c: Likewise.
70401         * sunrpc/svc_unix.c: Likewise.
70402         * sunrpc/svcauth_des.c: Likewise.
70403         * sunrpc/xcrypt.c: Likewise.
70404         * sunrpc/xdr.c: Likewise.
70405         * sunrpc/xdr_array.c: Likewise.
70406         * sunrpc/xdr_float.c: Likewise.
70407         * sunrpc/xdr_intXX_t.c: Likewise.
70408         * sunrpc/xdr_mem.c: Likewise.
70409         * sunrpc/xdr_rec.c: Likewise.
70410         * sunrpc/xdr_ref.c: Likewise.
70411         * sunrpc/xdr_sizeof.c: Likewise.
70412         * sunrpc/xdr_stdio.c: Likewise.
70414 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70416         [BZ #12650]
70417         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70418         * sysdeps/ia64/dl-tls.h: Likewise.
70419         * sysdeps/powerpc/dl-tls.h: Likewise.
70420         * sysdeps/s390/dl-tls.h: Likewise.
70421         * sysdeps/sh/dl-tls.h: Likewise.
70422         * sysdeps/sparc/dl-tls.h: Likewise.
70423         * sysdeps/x86_64/dl-tls.h: Likewise.
70424         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70426 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70428         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70429         rpath element also skip the following colon.
70430         (expand_dynamic_string_token): Add is_path parameter and pass
70431         down to DL_DST_REQUIRED and _dl_dst_substitute.
70432         (decompose_rpath): Call expand_dynamic_string_token with
70433         non-zero is_path.  Ignore empty rpaths.
70434         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70435         with zero is_path.
70437 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70440         Make cancelable.
70442 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70444         [BZ #12655]
70445         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70446         Patch by Filipe David Manana <fdmanana@apache.org>.
70448 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70450         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70451         Maintain aligned stack.
70452         (CHECK_RSP): Remove unused macro.
70454 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70456         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70457         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70459 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70461         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70463         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70465 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70467         [BZ #12518]
70468         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70469         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70470         * sysdeps/x86_64/memmove.c: New file.
70471         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70472         (memcpy): Renamed to ...
70473         (__new_memcpy): This.
70474         (memcpy): Provide GLIBC_2_14 memcpy.
70475         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70476         (memcpy): Provide GLIBC_2_2_5 memcpy.
70478 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70480         [BZ #12631]
70481         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70483 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70485         * misc/syncfs.c: New file.
70486         * misc/Makefile (routines): Add syncfs.
70487         * posix/unistd.h: Declare syncfs.
70488         * sysdeps/unix/syscalls.list: Add syncfs.
70490 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70492         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70493         open_by_handle_at.
70494         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70495         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70497         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70499         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70500         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70506         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70512         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70513         sync_file_range.c with -fexceptions.
70514         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70515         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70516         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70517         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70518         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70519         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70521         sync_file_range as cancellation point
70522         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70523         now a wrapper around __call_sync_file_range with cancellation handling.
70524         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70525         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70526         function name to __call_sync_file_range.
70527         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70528         Add call_sync_file_range.
70530 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70533         bits/timex.h.
70535 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70537         * iconv/iconv.h: Fix typo in comment.
70538         * io/fcntl.h: Likewise.
70539         * libio/stdio.h: Likewise.
70540         * posix/spawn.h: Likewise.
70541         * posix/unistd.h: Likewise.
70542         * stdlib/stdlib.h: Likewise.
70543         * time/time.h: Likewise.
70544         * wcsmbs/wchar.h: Likewise.
70546         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70547         open_by_handle): Add.
70548         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70549         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70550         Augment a few comments.
70551         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70553         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70556         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70557         open_by_handle.
70559         * io/fcntl.h (AT_EMPTY_PATH): Define.
70561 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70563         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70564         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70565         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70566         to...
70567         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70568         * Versions.def: Add GLIBC_2.14.
70569         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70570         Export.
70572 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70575         round counter.
70576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70578 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70580         [BZ #12597]
70581         * string/test-strncmp.c (do_page_test): New function.
70582         (check2): Likewise.
70583         (test_main): Call check2.
70584         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70586 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70588         [BZ #12587]
70589         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70590         Handle cache information in CPU leaf 4.
70591         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70593 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70595         [BZ #12583]
70596         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70597         character representation.
70598         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70600 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70602         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70603         END(__isnan) to END(__isnanf) to match function entry point/label
70604         EALIGN(__isnanf,...).
70606 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70608         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70610 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70612         [BZ #12510]
70613         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70614         copy from the symbol referenced in the relocation to initialize the
70615         used variable.
70616         Patch by Piotr Bury <pbury@goahead.com>.
70617         * elf/Makefile: Add rules to build and tst-unique3.
70618         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70619         * elf/tst-unique3.cc: New file.
70620         * elf/tst-unique3.h: New file.
70621         * elf/tst-unique3lib.cc: New file.
70622         * elf/tst-unique3lib2.cc: New file.
70624         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70626 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70628         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70629         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70630         to _start.
70632 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70634         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70635         to-be-loaded object along a path to loader is ld.so.
70637 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70638             Ulrich Drepper  <drepper@gmail.com>
70640         * sysdeps/x86_64/memset.S: After aligning destination, code
70641         branches to different locations depending on the value of
70642         misalignment, when multiarch is enabled. Fix this.
70644 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70646         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70647         Set _x86_64_preferred_memory_instruction for AMD processsors.
70648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70649         Set bit_Prefer_SSE_for_memop for AMD processors.
70651 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70653         * libio/fmemopen.c (fmemopen): Optimize a bit.
70655 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70657         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70659 2011-03-03  Roland McGrath  <roland@redhat.com>
70661         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70663 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70665         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70666         __bzero_ultra1 instead of __memset_ultra1.
70668 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70669             Ulrich Drepper  <drepper@gmail.com>
70671         [BZ #12509]
70672         * include/link.h (struct link_map): Add l_orig_initfini.
70673         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70674         returning unsuccessfully.
70675         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70676         close of a file loaded at startup, restore the original l_initfini
70677         list.
70678         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70679         list, store the pointer.
70680         * elf/Makefile ($(objpfx)noload-mem): New rule.
70681         (noload-ENV): Define.
70682         (tests): Add $(objpfx)noload-mem.
70683         * elf/noload.c: Include <memcheck.h>.
70684         (main): Call mtrace.  Close all opened handles.
70686 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70688         [BZ #12454]
70689         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70690         dependencies are missing.
70692 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70694         Fix __if_freereq crash: Unlike the generic version which uses free,
70695         Hurd needs munmap.
70696         * sysdeps/mach/hurd/ifreq.h: New file.
70698 2011-01-27  Petr Baudis  <pasky@suse.cz>
70699             Ulrich Drepper  <drepper@gmail.com>
70701         [BZ 12445]#
70702         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70703         to extend_alloca().
70704         * stdio-common/bug23.c: New file.
70705         * stdio-common/Makefile (tests): Add bug23.
70707 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70708             Ulrich Drepper  <drepper@gmail.com>
70710         [BZ #12489]
70711         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70712         before performing relro protection.  At old place add assertion
70713         to make sure nothing changed.
70715 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70716             Glauber de Oliveira Costa  <glommer@gmail.com>
70718         * elf/elf.h: Add new ARM TLS relocs.
70720 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70723         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70724         cast from r3.
70725         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70726         'tests' variable.
70727         * sysdeps/wordsize-64/tst-writev.c: New file.
70729 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70731         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70732         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70733         insns in _dl_start to prevent a TOC reference before relocs are
70734         resolved.
70736 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70738         [BZ #12469]
70739         * Makeconfig: Remove RANLIB definition.
70740         * Makerules: Don't use RANLIB.
70741         * aclocal.m4: Remove ranlib test.
70742         * configure.in: No need to check for ranlib.
70743         * elf/rtld-Rules: Don't use RANLIB.
70745 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70747         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70748         protection macro.
70749         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70750         inclusion protection macro.
70752         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70753         SIGRTMIN and SIGRTMAX and print information in that case only when
70754         SIGRTMIN is defined.
70756 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70758         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70759         arginfo fn returning -1.
70761         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70762         and thousands string is zero terminated.
70764 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70767         sysdeps/unix/sysv/linux/bits/socket.h.
70769 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70771         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70772         (__CPU_COUNT): Remove old macros.
70773         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70774         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70775         (__CPU_ALLOC, __CPU_FREE): Add macros.
70776         (__sched_cpualloc, __sched_cpufree): Add declarations.
70778 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70780         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70781         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70782         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70783         (readdhstai): Return value of addhstaiX call.
70784         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70785         (addgrbyX): Return value returned by cache_addgr.
70786         (readdgrbyname): Return value returned by addgrbyX.
70787         (readdgrbygid): Likewise.
70788         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70789         (addpwbyX): Return value returned by cache_addpw.
70790         (readdpwbyname): Return value returned by addhstbyX.
70791         (readdpwbyuid): Likewise.
70792         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70793         (addservbyX): Return value returned by cache_addserv.
70794         (readdservbyname): Return value returned by addservbyX:
70795         (readdservbyport): Likewise.
70796         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70797         (addhstbyX): Return value returned by cache_addhst.
70798         (readdhstbyname): Return value returned by addhstbyX.
70799         (readdhstbyaddr): Likewise.
70800         (readdhstbynamev6): Likewise.
70801         (readdhstbyaddrv6): Likewise.
70802         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70803         (readdinitgroups): Return value returned by addinitgroupsX.
70804         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70805         (prune_cache): Keep track of timeout value of re-added entries.
70806         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70807         * nscd/nscd.h: Adjust prototypes of readd* functions.
70809 2011-02-04  Roland McGrath  <roland@redhat.com>
70811         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70812         (nis_stats): Likewise.
70813         * nis/nis_modify.c (nis_modify): Likewise.
70814         * nis/nis_remove.c (nis_remove): Likewise.
70815         * nis/nis_add.c (nis_add): Likewise.
70817         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70819         * posix/fnmatch_loop.c: Add some consts.
70821         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70823 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70825         [BZ #12460]
70826         * config.make.in (config-cflags-novzeroupper): Define.
70827         * configure.in: Substitute libc_cv_cc_novzeroupper.
70828         * elf/Makefile (AVX-CFLAGS): Define.
70829         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70830         (CFLAGS-tst-auditmod4a.c): Likewise.
70831         (CFLAGS-tst-auditmod4b.c): Likewise.
70832         (CFLAGS-tst-auditmod6b.c): Likewise.
70833         (CFLAGS-tst-auditmod6c.c): Likewise.
70834         (CFLAGS-tst-auditmod7b.c): Likewise.
70835         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70837 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70839         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70840         function to the callback.
70841         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70843 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70845         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70846         of errno.
70848 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70850         [BZ #11724]
70851         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70852         of constructors.
70853         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70854         of destructors.
70855         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70857         [BZ #11724]
70858         * elf/Makefile: Add rules to build and run new test.
70859         * elf/tst-initorder.c: New file.
70860         * elf/tst-initorder.exp: New file.
70861         * elf/tst-initordera1.c: New file.
70862         * elf/tst-initordera2.c: New file.
70863         * elf/tst-initordera3.c: New file.
70864         * elf/tst-initordera4.c: New file.
70865         * elf/tst-initorderb1.c: New file.
70866         * elf/tst-initorderb2.c: New file.
70867         * elf/tst-order-a1.c: New file.
70868         * elf/tst-order-a2.c: New file.
70869         * elf/tst-order-a3.c: New file.
70870         * elf/tst-order-a4.c: New file.
70871         * elf/tst-order-b1.c: New file.
70872         * elf/tst-order-b2.c: New file.
70873         * elf/tst-order-main.c: New file.
70874         New test case by George Gensure <werkt0@gmail.com>.
70876 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70879         decoding ACE if AI_CANONIDN.
70881 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70883         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70885 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70887         * version.h (RELEASE): Bump for 2.13 release.
70888         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70890         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70892         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70893         MADV_NOHUGEPAGE.
70894         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70896         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70897         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70898         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70899         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70901         * posix/getconf.c: Update copyright year.
70902         * catgets/gencat.c: Likewise.
70903         * csu/version.c: Likewise.
70904         * debug/catchsegv.sh: Likewise.
70905         * debug/xtrace.sh: Likewise.
70906         * elf/ldconfig.c: Likewise.
70907         * elf/ldd.bash.in: Likewise.
70908         * elf/sprof.c (print_version): Likewise.
70909         * iconv/iconv_prog.c: Likewise.
70910         * iconv/iconvconfig.c: Likewise.
70911         * locale/programs/locale.c: Likewise.
70912         * locale/programs/localedef.c: Likewise.
70913         * malloc/memusage.sh: Likewise.
70914         * malloc/mtrace.pl: Likewise.
70915         * nscd/nscd.c (print_version): Likewise.
70916         * nss/getent.c: Likewise.
70918         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70919         PF_CAIF, and PF_ALG.
70920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70922 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70924         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70925         (modules-names): Use them.
70926         (ifunc-test-modules, ifunc-pie-tests): Define.
70927         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70928         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70929         (test-extras): Likewise.
70930         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70931         $(compile-command.c).
70932         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70933         (all-built-dso): Define.
70934         (check-textrel.out, check-execstack.out): Depend on it.
70936         * configure.in: Don't override --enable-multi-arch.
70938 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70940         [BZ #6812]
70941         * nscd/hstcache.c (tryagain): Define.
70942         (cache_addhst): Return tryagain not notfound for temporary errors.
70943         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70944         failed.
70946 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70948         [BZ #10563]
70949         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70950         to make the syscall.
70951         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70953         [BZ #12378]
70954         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70955         and fall back to matching as normal character if the string ends before
70956         the matching ']' is found.  This is what POSIX requires.
70957         * posix/testfnm.c: Adjust test result.
70958         * posix/globtest.sh: Adjust test result.  Add new test.
70959         * posix/tst-fnmatch.input: Likewise.
70960         * posix/tst-fnmatch2.c: Add new test.
70962 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70964         * elf/Makefile (check-execstack): Revert last change.  Depend on
70965         check-execstack.h.
70966         (check-execstack.h): New target.
70967         (generated): Add check-execstack.h.
70968         * elf/check-execstack.c: Include "check-execstack.h".
70969         (main): Revert last change.
70970         (handle_file): Return zero if GNU_STACK is absent and
70971         DEFAULT_STACK_PERMS doesn't include PF_X.
70973 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70975         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70976         in child fails because the descriptor is already closed.
70977         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70978         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70979         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70981         [BZ #12397]
70982         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70983         syscall.
70985         [BZ #10484]
70986         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70987         temporary buffer used to handle multi lookups locally.
70988         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70990 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70992         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70993         loader is ld.so.
70995 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70997         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70998         alignment for SSE2.
71000 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71002         [BZ #12394]
71003         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71004         characters.  When rounding increased number of integer digits recompute
71005         number of groups.
71006         * stdio-common/tst-grouping.c: New file.
71007         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71009 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71011         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71012         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71014         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71015         void.
71016         * bits/select.h: Likewise.
71018 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71020         * po/ja.po: Update from translation team.
71022 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71024         [BZ #11155]
71025         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71026         implementation just like for lxstat, fxstatat, et al.
71028 2010-12-27  Jim Meyering  <meyering@redhat.com>
71030         [BZ #12348]
71031         * posix/regexec.c (build_trtable): Return failure indication upon
71032         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71034 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71036         [BZ #12201]
71037         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71038         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71039         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71040         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71042         [BZ #12207]
71043         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71045         [BZ #12204]
71046         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71047         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71049 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71051         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71052         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71053         script has SORT_BY_INIT_PRIORITY.
71054         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71055         NO_CTORS_DTORS_SECTIONS is defined.
71056         * elf/soinit.c: Likewise.
71057         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71058         NO_CTORS_DTORS_SECTIONS is defined.
71059         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71060         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71061         * sysdeps/sh/init-first.c: Likewise.
71062         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71064 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71066         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71067         always use the slow path.
71069 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71071         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71072         similar rule which adds the sysdep directories to the header search in
71073         order to pick up the correct platform stackinfo.h.
71074         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71075         perform test if it is, otherwise return successfully without testing.
71076         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71077         DEFAULT_STACK_PERMS define in stackinfo.h.
71078         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71079         defined in stackinfo.h.
71080         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71081         DEFAULT_STACK_PERMS defined in stackinfo.h.
71082         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71083         * sysdeps/ia64/stackinfo.h: Likewise.
71084         * sysdeps/s390/stackinfo.h: Likewise.
71085         * sysdeps/sh/stackinfo.h: Likewise.
71086         * sysdeps/sparc/stackinfo.h: Likewise.
71087         * sysdeps/x86_64/stackinfo.h: Likewise.
71088         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71089         PF_X for powerpc64.  Retain PF_X for powerpc32.
71091 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71093         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71094         accurately.
71095         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71096         GETDENTS_64BIT_ALIGNED.
71098 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71100         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71102 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71104         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71105         _GNU_SOURCE.
71107         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71108         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71109         Remove __restrict.
71110         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71111         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71113 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71115         [BZ #11655]
71116         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71117         are initialized.
71119 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71121         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71123 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71125         * po/it.po: Update from translation team.
71127 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71130         unused codes.
71132 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71134         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71136 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71138         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71139         specially.
71140         (gaih_getanswer_slice): Likewise.
71142 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71146 2010-05-31  Petr Baudis  <pasky@suse.cz>
71148         [BZ #11149]
71149         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71150         silently even in the chroot mode.
71152 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71154         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71155         last patch a bit.  Pretty printing
71157 2010-05-31  Petr Baudis <pasky@suse.cz>
71159         [BZ #10085]
71160         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71161         initialization of skip_initgroups_dyn.
71163 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71165         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71168 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71170         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71172 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71174         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71175         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71176         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71177         ($(objpfx)tst-fnmatch-mem): New rule.
71178         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71179         * posix/tst-fnmatch.c (main): Call mtrace.
71181 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71184         Support Intel processor model 6 and model 0x2c.
71186 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71188         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71189           signed comparison.
71191 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71193         [BZ #12205]
71194         * string/test-strncasecmp.c (check_result): New function.
71195         (do_one_test): Use it.
71196         (check1): New function.
71197         (test_main): Use it.
71198         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71199         Support strcasecmp and strncasecmp.
71201 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71203         [BZ #12194]
71204         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71207 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71209         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71210         IFUNC support.
71211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71212         memset-x86-64.
71213         * sysdeps/x86_64/multiarch/bzero.S: New file.
71214         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71215         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71216         * sysdeps/x86_64/multiarch/memset.S: New file.
71217         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71219         Set bit_Prefer_SSE_for_memop for Intel processors.
71220         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71221         Define.
71222         (index_Prefer_SSE_for_memop): Define.
71223         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71225 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71227         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71228         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71230 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71232         [BZ #12191]
71233         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71234         (__x86_64_raw_data_cache_size_half): Likewise.
71235         (__x86_64_raw_shared_cache_size): Likewise.
71236         (__x86_64_raw_shared_cache_size_half): Likewise.
71238         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71239         (__x86_64_raw_data_cache_size_half): Likewise.
71240         (__x86_64_raw_shared_cache_size): Likewise.
71241         (__x86_64_raw_shared_cache_size_half): Likewise.
71242         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71243         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71244         and __x86_64_raw_shared_cache_size_half.  Round
71245         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71246         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71247         to multiple of 256 bytes.
71249 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71251         [BZ #12167]
71252         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71253         of inacessible symlinks.  Verify result of symlink before returning it.
71254         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71255         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71257 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71259         * math/math.h (isinf): Fix typo in comment.
71261 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71263         * po/da.po: Update from translation team.
71265 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71267         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71268         is added to the list.
71270 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71271             Ulrich Drepper  <drepper@gmail.com>
71273         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71274         the global list here.  Move code to...
71275         (_dl_add_to_namespace_list): ...here.  New function.
71276         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71277         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71278         * elf/dl-load.c (lose): Don't remove the element from the list.
71279         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71280         (_dl_map_object): Likewise.
71282 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71284         [BZ #12159]
71285         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71286         into all bytes of SSE register.
71287         Patch by Richard Li <richardpku@gmail.com>.
71289 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71291         [BZ #12140]
71292         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71293         perturbing.
71295 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71297         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71298         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71299         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71300         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71302         submachine.
71303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71305 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71307         * include/dlfcn.h (__RTLD_SECURE): Define.
71308         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71309         mode & __RTLD_SECURE instead.
71310         (open_path): Rename preloaded parameter to secure.
71311         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71312         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71313         * elf/dl-deps.c (openaux): Likewise.
71314         * elf/rtld.c (struct map_args): Remove is_preloaded.
71315         (map_doit): Don't use it.
71316         (dl_main): Likewise.
71317         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71318         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71320 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71322         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71323         (sysd-rules-targets): Remove duplicates.
71324         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71325         rtld-%.$o dependency.
71327 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71329         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71330         _dl_map_object do it.
71332 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71334         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71335         fast fma builtins, define the macros in the C99 standard.
71336         (FP_FAST_FMAF): Likewise.
71337         (FP_FAST_FMAL): Likewise.
71338         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71340         * bits/mathdef.h: Update copyright year.
71341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71343 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71345         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71346         builtins, define the macros in the C99 standard.
71347         (FP_FAST_FMAF): Likewise.
71348         (FP_FAST_FMAL): Likewise.
71349         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71350         multiply/add.
71351         (FP_FAST_FMAF): Likewise.
71353 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71355         [BZ #3268]
71356         * math/libm-test.inc (fma_test): Some new testcases.
71357         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71359         y and infinite z.  Do multiplication by C already in long double.
71360         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71362         y and infinite z.  Do bitwise or of inexact bit into u.d.
71363         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71364         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71365         * sysdeps/i386/fpu/s_fma.S: Removed.
71366         * sysdeps/i386/fpu/s_fmal.S: Removed.
71368 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71370         [BZ #3268]
71371         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71373         computation is not scheduled after fetestexcept.  Fix value
71374         of minimum denormal long double.
71376 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71378         [BZ #3268]
71379         * math/libm-test.inc (fma_test): Add some more tests.
71380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71381         correctly.
71383 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71385         * scripts/data/localplt-s390-linux-gnu.data: New file.
71386         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71388 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71390         [BZ #3268]
71391         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71392         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71393         instead of dbl-64.
71394         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71395         inlines.
71396         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71398         if one of x and y is very large and the other is subnormal.
71399         * sysdeps/s390/fpu/s_fmaf.c: New file.
71400         * sysdeps/s390/fpu/s_fma.c: New file.
71401         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71402         * sysdeps/powerpc/fpu/s_fma.S: New file.
71403         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71404         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71405         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71407 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71409         [BZ #3268]
71410         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71411         fma tests.
71412         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71413         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71414         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71415         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71416         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71417         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71418         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71420 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71422         [BZ #12078]
71423         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71424         * posix/bug-regex31.input: Add test case.
71426 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71428         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71429         * posix/bug-regex31.input: New file.
71431         [BZ #12078]
71432         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71433         (parse_sub_exp): Fix last change, use postorder.
71435         * posix/bug-regex31.c: New file.
71436         * posix/Makefile: Add rules to build and run bug-regex31.
71438         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71440         [BZ #12078]
71441         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71443         [BZ #12108]
71444         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71445         to have entries in sys_siglist.
71447         [BZ #12093]
71448         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71449         be NULL.
71451 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71453         [BZ #3268]
71454         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71455         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71456         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71457         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71458         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71459         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71460         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71461         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71462         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71463         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71464         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71465         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71466         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71467         * math/ftestexcept.c (fetestexcept): Likewise.
71468         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71469         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71470         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71471         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71472         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71473         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71474         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71476 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71478         [BZ #12107]
71479         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71480         newline.
71482 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71484         * string/bug-strstr1.c: New file.
71485         * string/Makefile: Add rules to build and run bug-strstr1.
71487 2010-10-05  Eric Blake  <eblake@redhat.com>
71489         [BZ #12092]
71490         * string/str-two-way.h (two_way_long_needle): Always clear memory
71491         when skipping input due to the shift table.
71493 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71495         [BZ #12005]
71496         * malloc/mcheck.c: Handle large requests.
71498         [BZ #12077]
71499         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71500         for strncmp and strncasecmp.
71501         * string/stratcliff.c: Add tests for strcmp and strncmp.
71502         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71504 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71506         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71507         __set_fpscr.
71509 2010-09-30  Andreas Jaeger  <aj@suse.de>
71511         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71512         (CGROUP_SUPER_MAGIC): Define.
71513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71514         Handle btrfs and cgroup file systems.
71515         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71516         Likewise.
71518 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71520         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71521         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71523 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71525         [BZ #12067]
71526         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71527         trying to locate the ELF header.
71529 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71531         [BZ #11611]
71532         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71533         Mask out sign-bit copies when constructing f_fsid.
71535 2010-09-24  Petr Baudis <pasky@suse.cz>
71537         * debug/stack_chk_fail_local.c: Add missing licence exception.
71538         * debug/warning-nop.c: Likewise.
71540 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71542         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71543         implementing getdents64 using getdents syscall, set d_type if
71544         __ASSUME_GETDENTS32_D_TYPE.
71546 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71548         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71549         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71551 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71553         [BZ #12037]
71554         * posix/unistd.h: Undo change of feature selection for ftruncate from
71555         2010-01-11.
71557 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71559         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71560         detection.
71562 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71564         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71565         fanotify_mark.
71566         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71568 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71570         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71571         variables after CHECK_SP call.
71572         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71574 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71575             Ulrich Drepper  <drepper@redhat.com>
71577         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71578         re-relocationg ld.so.
71579         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71580         _dl_init_paths call.
71581         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71582         here anymore.
71584 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71586         * resolv/res_init.c (__res_vinit): Count the default server we added.
71588 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71589             Ulrich Drepper  <drepper@redhat.com>
71591         [BZ #11968]
71592         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71593         (____longjmp_chk): Use %ebx for saving value across system call.
71594         Add unwind info.
71596 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71598         * manual/Makefile: Don't mix pattern rules with normal rules.
71600 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71602         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71603         operation.
71604         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71605         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71606         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71607         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71609         Likewise.
71611 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71613         [BZ #11979]
71614         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71615         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71617 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71619         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71620         * sysdeps/x86_64/addmul_1.S: Likewise.
71621         * sysdeps/x86_64/lshift.S: Likewise.
71622         * sysdeps/x86_64/mul_1.S: Likewise.
71623         * sysdeps/x86_64/rshift.S: Likewise.
71624         * sysdeps/x86_64/sub_n.S: Likewise.
71625         * sysdeps/x86_64/submul_1.S: Likewise.
71627 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71629         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71630         Define __sched_param instead of SCHED_* and sched_param when
71631         <bits/sched.h> is included with __need_schedparam defined.
71632         * bits/sched.h [__need_schedparam]
71633         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71634         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71635         (__defined_schedparam): Define to 1.
71636         (__sched_param): New structure, identical to sched_param.
71637         (__need_schedparam): Undefine.
71639 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71641         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71642         (epoll_create1): Declare.
71644         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71646 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71648         [BZ #7066]
71649         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71650         shifting retval into place.
71652 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71654         * nis/rpcsvc/nis.h: Update copyright notice.
71655         * nis/rpcsvc/nis.x: Likewise.
71656         * nis/rpcsvc/nis_callback.h: Likewise.
71657         * nis/rpcsvc/nis_callback.x: Likewise.
71658         * nis/rpcsvc/nis_object.x: Likewise.
71659         * nis/rpcsvc/nis_tags.h: Likewise.
71660         * nis/rpcsvc/yp.h: Likewise.
71661         * nis/rpcsvc/yp.x: Likewise.
71662         * nis/rpcsvc/ypupd.h: Likewise.
71663         * nis/yp_xdr.c: Likewise.
71664         * nis/ypupdate_xdr.c: Likewise.
71666         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71667         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71668         (pmap_getport): Use __libc_rpc_getport.
71669         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71670         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71671         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71673 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71676         fanotify_mark.
71678 2010-08-27  Roland McGrath  <roland@redhat.com>
71680         * sysdeps/i386/i686/multiarch/Makefile
71681         (CFLAGS-varshift.c): New variable.
71683 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71685         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71686         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71688         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71690         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71692 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71694         * sysdeps/x86_64/strlen.S: Unroll the loop.
71695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71696         strlen-sse2 strlen-sse2-bsf.
71697         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71698         __strlen_no_bsf if bit_Slow_BSF is set.
71699         (__strlen_sse42): Removed.
71700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71701         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71703 2010-08-25  Roland McGrath  <roland@redhat.com>
71705         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71706         * sysdeps/x86_64/multiarch/varshift.c: New file.
71707         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71708         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71709         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71710         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71712 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71715         strlen-sse2 strlen-sse2-bsf.
71716         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71717         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71718         (__strlen_sse2): Removed.
71719         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71720         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71722         bit_Slow_BSF for Atom.
71723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71724         (index_Slow_BSF): Define.
71725         (HAS_SLOW_BSF): Define.
71727 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71729         [BZ #10851]
71730         * resolv/res_init.c (__res_vinit): When no server address at all
71731         is given default to loopback.
71733 2010-08-24  Roland McGrath  <roland@redhat.com>
71735         * configure.in: Remove config-name.h generation.
71736         * configure: Regenerated.
71737         * config-name.in: File removed.
71738         * scripts/config-uname.sh: New file.
71739         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71740         ($(objdir)config-name.h): New target.
71742         * sunrpc/rpc_parse.h: Avoid nested comment.
71744 2010-08-24  Richard Henderson  <rth@redhat.com>
71745             Ulrich Drepper  <drepper@redhat.com>
71746             H.J. Lu  <hongjiu.lu@intel.com>
71748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71750         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71751         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71752         _mm_alignr_epi8 with _mm_loadu_si128.
71753         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71754         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71755         (__m128i_shift_right): Removed.
71756         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71757         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71758         * sysdeps/x86_64/multiarch/varshift.h: New file.
71759         * sysdeps/x86_64/multiarch/varshift.S: New file.
71761 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71763         * configure.in: Move assembler checks to before sysdep dir checking.
71765 2010-08-20  Petr Baudis  <pasky@suse.cz>
71767         * LICENSES: Sync the sunrpc license.
71769 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71771         * sunrpc/auth_des.c: Update copyright notice once again.
71772         * sunrpc/auth_none.c: Likewise.
71773         * sunrpc/auth_unix.c: Likewise.
71774         * sunrpc/authdes_prot.c: Likewise.
71775         * sunrpc/authuxprot.c: Likewise.
71776         * sunrpc/bindrsvprt.c: Likewise.
71777         * sunrpc/clnt_gen.c: Likewise.
71778         * sunrpc/clnt_perr.c: Likewise.
71779         * sunrpc/clnt_raw.c: Likewise.
71780         * sunrpc/clnt_simp.c: Likewise.
71781         * sunrpc/clnt_tcp.c: Likewise.
71782         * sunrpc/clnt_udp.c: Likewise.
71783         * sunrpc/clnt_unix.c: Likewise.
71784         * sunrpc/des_crypt.c: Likewise.
71785         * sunrpc/des_soft.c: Likewise.
71786         * sunrpc/get_myaddr.c: Likewise.
71787         * sunrpc/getrpcport.c: Likewise.
71788         * sunrpc/key_call.c: Likewise.
71789         * sunrpc/key_prot.c: Likewise.
71790         * sunrpc/openchild.c: Likewise.
71791         * sunrpc/pm_getmaps.c: Likewise.
71792         * sunrpc/pm_getport.c: Likewise.
71793         * sunrpc/pmap_clnt.c: Likewise.
71794         * sunrpc/pmap_prot.c: Likewise.
71795         * sunrpc/pmap_prot2.c: Likewise.
71796         * sunrpc/pmap_rmt.c: Likewise.
71797         * sunrpc/rpc/auth.h: Likewise.
71798         * sunrpc/rpc/auth_unix.h: Likewise.
71799         * sunrpc/rpc/clnt.h: Likewise.
71800         * sunrpc/rpc/des_crypt.h: Likewise.
71801         * sunrpc/rpc/key_prot.h: Likewise.
71802         * sunrpc/rpc/netdb.h: Likewise.
71803         * sunrpc/rpc/pmap_clnt.h: Likewise.
71804         * sunrpc/rpc/pmap_prot.h: Likewise.
71805         * sunrpc/rpc/pmap_rmt.h: Likewise.
71806         * sunrpc/rpc/rpc.h: Likewise.
71807         * sunrpc/rpc/rpc_des.h: Likewise.
71808         * sunrpc/rpc/rpc_msg.h: Likewise.
71809         * sunrpc/rpc/svc.h: Likewise.
71810         * sunrpc/rpc/svc_auth.h: Likewise.
71811         * sunrpc/rpc/types.h: Likewise.
71812         * sunrpc/rpc/xdr.h: Likewise.
71813         * sunrpc/rpc_clntout.c: Likewise.
71814         * sunrpc/rpc_cmsg.c: Likewise.
71815         * sunrpc/rpc_common.c: Likewise.
71816         * sunrpc/rpc_cout.c: Likewise.
71817         * sunrpc/rpc_dtable.c: Likewise.
71818         * sunrpc/rpc_hout.c: Likewise.
71819         * sunrpc/rpc_main.c: Likewise.
71820         * sunrpc/rpc_parse.c: Likewise.
71821         * sunrpc/rpc_parse.h: Likewise.
71822         * sunrpc/rpc_prot.c: Likewise.
71823         * sunrpc/rpc_sample.c: Likewise.
71824         * sunrpc/rpc_scan.c: Likewise.
71825         * sunrpc/rpc_scan.h: Likewise.
71826         * sunrpc/rpc_svcout.c: Likewise.
71827         * sunrpc/rpc_tblout.c: Likewise.
71828         * sunrpc/rpc_util.c: Likewise.
71829         * sunrpc/rpc_util.h: Likewise.
71830         * sunrpc/rpcinfo.c: Likewise.
71831         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71832         * sunrpc/rpcsvc/key_prot.x: Likewise.
71833         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71834         * sunrpc/rpcsvc/mount.x: Likewise.
71835         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71836         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71837         * sunrpc/rpcsvc/rex.x: Likewise.
71838         * sunrpc/rpcsvc/rstat.x: Likewise.
71839         * sunrpc/rpcsvc/rusers.x: Likewise.
71840         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71841         * sunrpc/rpcsvc/spray.x: Likewise.
71842         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71843         * sunrpc/rtime.c: Likewise.
71844         * sunrpc/svc.c: Likewise.
71845         * sunrpc/svc_auth.c: Likewise.
71846         * sunrpc/svc_authux.c: Likewise.
71847         * sunrpc/svc_raw.c: Likewise.
71848         * sunrpc/svc_run.c: Likewise.
71849         * sunrpc/svc_simple.c: Likewise.
71850         * sunrpc/svc_tcp.c: Likewise.
71851         * sunrpc/svc_udp.c: Likewise.
71852         * sunrpc/svc_unix.c: Likewise.
71853         * sunrpc/svcauth_des.c: Likewise.
71854         * sunrpc/xcrypt.c: Likewise.
71855         * sunrpc/xdr.c: Likewise.
71856         * sunrpc/xdr_array.c: Likewise.
71857         * sunrpc/xdr_float.c: Likewise.
71858         * sunrpc/xdr_mem.c: Likewise.
71859         * sunrpc/xdr_rec.c: Likewise.
71860         * sunrpc/xdr_ref.c: Likewise.
71861         * sunrpc/xdr_sizeof.c: Likewise.
71862         * sunrpc/xdr_stdio.c: Likewise.
71864         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71865         handling.
71867 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71869         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71871 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71873         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71874         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71875         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71876         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71877         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71878         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71879         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71880         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71882         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71883         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71884         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71885         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71886         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71888 2010-07-26  Anton Blanchard  <anton@samba.org>
71890         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71891         * malloc/arena.c (heap_trim): Likewise.
71893 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71895         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71896         here.  Not...
71897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71898         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71900 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71902         * sysdeps/i386/elf/Makefile: New file.
71904 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71906         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71907         from fanotify_init.
71908         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71911 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71913         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71914         of strncasecmp_l.
71915         * sysdeps/multiarch/strcmp.S: Likewise.
71917 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71919         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71920         strncase_l-nonascii.
71921         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71922         Add strncase_l-ssse3.
71923         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71924         * sysdeps/x86_64/strcmp.S: Likewise.
71925         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71926         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71927         * sysdeps/x86_64/strncase.S: New file.
71928         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71929         * sysdeps/x86_64/strncase_l.S: New file.
71930         * string/Makefile (strop-tests): Add strncasecmp.
71931         * string/test-strncasecmp.c: New file.
71933         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71934         warning.
71936         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71937         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71939 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71941         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71943 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71945         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71947         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71949 2010-05-01  Alan Modra  <amodra@gmail.com>
71951         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71952         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71953         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71954         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71955         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71956         tidying.  Don't tail-call __sigjmp_save for static lib.
71957         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71958         save location.
71959         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71960         (CALL_MCOUNT): Add eh info, and nop after bl.
71961         (TAIL_CALL_SYSCALL_ERROR): New macro.
71962         (PSEUDO_RET): Use it.
71963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71964         Correct save location of integer regs and cr.
71965         (_dl_profile_resolve): Correct cr save location.  Delete nops
71966         after bl when SHARED.  Reduce cfi size a little by better
71967         placement of cfi directives.
71968         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71969         make a stack frame.  Instead use parm save area as a temp.
71970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71971         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71973         Don't make a stack frame for parent, use parm save area.
71974         Increase child stack frame to 112 bytes.  Don't save unused reg,
71975         and adjust reg usage.  Set up cfi on error recovery and
71976         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71978         (__makecontext): Add dummy nop after jump to exit.
71979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71980         Use correct parm save area and cr save, reduce stack frame.
71981         Correct cfi for possible PSEUDO_RET frame setup.
71982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71983         Branch to local label emitted by PSEUDO_RET rather than
71984         __syscall_error.
71986 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71988         [BZ #11904]
71989         * locale/programs/locale.c (print_assignment): New function.
71990         (show_locale_vars): Use it.
71992 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71994         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71995         field.
71996         (struct statfs64): Likewise.
71997         (_STATFS_F_FLAGS): Define.
71998         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71999         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72000         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72001         (ST_VALID): Define locally.
72002         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72003         __statvfs_getflags, use the provided value.
72004         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72005         __ASSUME_STATFS_F_FLAGS.
72007         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72009         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72010         Add sys/fanotify.h.
72011         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72012         fanotify_mask for GLIBC_2.13.
72013         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72014         fanotify_init and fanotify_mark.
72015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72016         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72018         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72019         Add prlimit.
72020         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72021         prlimit64 for GLIBC_2.13.
72022         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72023         prlimit64.
72024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72025         syscall.
72026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72027         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72028         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72029         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72031         add prlimit alias.
72032         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72034         [BZ #11903]
72035         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72036         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72038         * nss/Makefile: Add rules to build and run tst-nss-test1.
72039         * shlib-versions: Add entry for libnss_test1.
72040         * nss/nss_test1.c: New file.
72041         * nss/tst-nss-test1.c: New file.
72043         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72044         (__nss_configure_lookup): Set appropriate entry in
72045         __nss_configure_lookup to true.
72046         * nss/nsswitch.h: Define enum with indeces of databases in
72047         databases and __nss_database_custom arrays.  Declare
72048         __nss_database_custom.
72049         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72050         to avoid using nscd when custom rules are installed.
72051         * nss/getXXbyYY_r.c: Likewise.
72052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72054         * nss/nss_files/files-parse.c: Whitespace fixes.
72056 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72058         [BZ #11883]
72059         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72060         * posix/fnmatch_loop.c: Likewise.
72062 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72064         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72065         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72066         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72067         * Versions.def [GLIBC_2.13]: Add.
72069 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72071         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72072         Also fail if tpwd after pwuid call is NULL.
72074 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72076         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72077         when converting to ms.
72079 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72081         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72082         EOPNOTSUPP errors with ENOTTY.
72083         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72084         EOPNOTSUPP errors with ENOTTY.
72086 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72088         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72089         Add strcasecmp_l-ssse3.
72090         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72091         strcasecmp.
72092         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72093         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72094         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72096 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72098         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72100         * string/Makefile (strop-tests): Add strcasecmp.
72101         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72102         strcasecmp_l-nonascii.
72103         (gen-as-const-headers): Add locale-defines.sym.
72104         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72105         * sysdeps/x86_64/strcasecmp.S: New file.
72106         * sysdeps/x86_64/strcasecmp_l.S: New file.
72107         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72108         * sysdeps/x86_64/locale-defines.sym: New file.
72109         * string/test-strcasecmp.c: New file.
72111         * string/test-strcasestr.c: Test both ends of the range of characters.
72112         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72114 2010-07-29  Roland McGrath  <roland@redhat.com>
72116         [BZ #11856]
72117         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72119 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72121         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72122         for ld.so.
72124 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72126         * manual/memory.texi (Malloc Tunable Parameters): Document
72127         M_PERTURB.
72129 2010-07-26  Roland McGrath  <roland@redhat.com>
72131         [BZ #11840]
72132         * configure.in (-fgnu89-inline check): Set and substitute
72133         gnu89_inline, not libc_cv_gnu89_inline.
72134         * configure: Regenerated.
72135         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72137 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72139         * string/test-strnlen.c: New file.
72140         * string/Makefile (strop-tests): Add strnlen.
72141         * string/tester.c (test_strnlen): Add a few more test cases.
72142         * string/tst-strlen.c: Better error reporting.
72144         * sysdeps/x86_64/strnlen.S: New file.
72146 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72148         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72149         lower-latency instructions.
72151 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72153         * string/test-strcasestr.c: New file.
72154         * string/test-strstr.c: New file.
72155         * string/Makefile (strop-tests): Add strstr and strcasestr.
72156         * string/str-two-way.h: Don't undefine MAX.
72157         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72159 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72162         strcasestr-nonascii.
72163         (CFLAGS-strcasestr-nonascii.c): Define.
72164         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72165         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72166         Remove unused attribute.
72168 2010-07-20  Roland McGrath  <roland@redhat.com>
72170         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72171         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72172         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72173         like LD_HWCAP_MASK can disable hwcaps.
72175 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72177         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72179 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72181         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72182         call in strcasestr.
72183         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72184         __strcasestr_sse42_nonascii.
72185         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72186         strcasestr-nonascii.c.
72187         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72189 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72191         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72192         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72193         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72196 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72198         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72199         fcntl.
72201 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72203         [BZ #11577]
72204         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72205         dl_signal_cerror.
72207 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72210         _PC_PIPE_BUF using F_GETPIPE_SZ.
72212 2010-07-05  Roland McGrath  <roland@redhat.com>
72214         * manual/arith.texi (Rounding Functions): Fix rint description
72215         implicit in round description.
72217 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72219         * elf/Makefile: Fix linking for a few tests to make recent linker
72220         happy.
72222 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72224         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72225         $(common-objpfx)libc_nonshared.a.
72227 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72229         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72230         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72231         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72232         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72233         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72234         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72235         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72236         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72251         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72252         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72253         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72254         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72255         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72256         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72257         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72258         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72259         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72260         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72261         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72262         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72278 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72280         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72281         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72282         * string/memmove.c (memmove): Renamed to ...
72283         (MEMMOVE): ...this.  Default to memmove.
72284         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72285         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72286         (END_CHK): Define.
72287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72288         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72289         mempcpy-ssse3-back memmove-ssse3-back.
72290         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72291         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72293         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72294         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72295         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72296         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72297         * sysdeps/x86_64/multiarch/memmove.c: New file.
72298         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72299         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72300         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72301         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72302         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72303         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72304         Define.
72305         (index_Fast_Copy_Backward): Define.
72306         (HAS_ARCH_FEATURE): Define.
72307         (HAS_FAST_REP_STRING): Define.
72308         (HAS_FAST_COPY_BACKWARD): Define.
72310 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72312         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72313         Restore proper fallback handling.
72315 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72317         [BZ #11701]
72318         * posix/group_member.c (__group_member): Correct checking loop.
72320         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72321         OOM in getpwuid_r correctly.  Return error number when the caller
72322         should return, otherwise -1.
72323         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72324         call returning > 0 value.
72325         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72327 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72329         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72330         libc_nonshared.a from targets in modules-names.
72332 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72334         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72335         requires it.
72337 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72339         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72340         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72344 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72346         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72348 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72351         and F_GETPIPE_SZ.
72352         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72356         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72359 2010-06-14  Roland McGrath  <roland@redhat.com>
72361         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72363 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72365         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72366         __REDIRECT followed by __THROW.
72367         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72368         * posix/getopt.h (getopt): Likewise.
72370 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72372         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72373         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72374         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72375         in AT_FLAGS.
72376         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72377         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72379 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72383 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72385         [BZ #11640]
72386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72387         Properly check family and model.
72389 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72391         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72393 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72395         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72397 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72399         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72400         symbol reference.
72402 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72404         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72405         symbol reference.
72407 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72409         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72410         and internal_recvmmsg.
72411         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72412         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72413         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72414         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72416         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72417         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72418         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72420 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72422         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72424 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72426         POWER7 optimizations.
72427         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72428         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72430 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72432         * version.h: Update for 2.13 development version.
72434 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72436         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72437         exceptions.  Return 0.
72439 2010-05-07  Roland McGrath  <roland@redhat.com>
72441         * elf/ldconfig.c (main): Add a const.
72443 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72445         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72446         (args_options): Add no-idn option.
72447         (ahosts_keys_int): Add idn_flags to ai_flags.
72448         (parse_option): Handle 'i' option to clear idn_flags.
72450         * malloc/malloc.c (_int_free): Possible race in the most recently
72451         added check.  Only act on the data if no current modification
72452         happened.
72454 See ChangeLog.17 for earlier changes.